tests: drivers: build_all: add npm1300 and npm1304 devices
Add the npm1300 and npm1304 devices tests to the appropriate build_all Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
This commit is contained in:
parent
1bfeaba6f4
commit
3b035954f2
@ -413,6 +413,30 @@
|
||||
ngpios = <16>;
|
||||
int-gpios = <&test_gpio 0 0>;
|
||||
};
|
||||
|
||||
test_i2c_npm1300: pmic@1d {
|
||||
compatible = "nordic,npm1300";
|
||||
reg = <0x1d>;
|
||||
|
||||
npm1300_gpio: gpio-controller {
|
||||
compatible = "nordic,npm1300-gpio";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
ngpios = <5>;
|
||||
};
|
||||
};
|
||||
|
||||
test_i2c_npm1304: pmic@1e {
|
||||
compatible = "nordic,npm1304";
|
||||
reg = <0x1e>;
|
||||
|
||||
npm1304_gpio: gpio-controller {
|
||||
compatible = "nordic,npm1304-gpio";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
ngpios = <5>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nct3807_alert_1 {
|
||||
|
||||
@ -168,6 +168,30 @@
|
||||
x-powers,mode = "by-reg";
|
||||
};
|
||||
};
|
||||
|
||||
pmic@13 {
|
||||
compatible = "nordic,npm1300";
|
||||
reg = <0x13>;
|
||||
|
||||
leds {
|
||||
compatible = "nordic,npm1300-led";
|
||||
nordic,led0-mode = "error";
|
||||
nordic,led1-mode = "charging";
|
||||
nordic,led2-mode = "host";
|
||||
};
|
||||
};
|
||||
|
||||
pmic@14 {
|
||||
compatible = "nordic,npm1304";
|
||||
reg = <0x14>;
|
||||
|
||||
leds {
|
||||
compatible = "nordic,npm1304-led";
|
||||
nordic,led0-mode = "error";
|
||||
nordic,led1-mode = "charging";
|
||||
nordic,led2-mode = "host";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@ -143,3 +143,17 @@ npm2100@8 {
|
||||
LDOSW {};
|
||||
};
|
||||
};
|
||||
|
||||
npm1304@9 {
|
||||
compatible = "nordic,npm1304";
|
||||
reg = <0x9>;
|
||||
|
||||
regulators {
|
||||
compatible = "nordic,npm1304-regulator";
|
||||
|
||||
BUCK1 {};
|
||||
BUCK2 {};
|
||||
LDO1 {};
|
||||
LDO2 {};
|
||||
};
|
||||
};
|
||||
|
||||
@ -1331,3 +1331,32 @@ test_i2c_bh1730: bh1730@b4 {
|
||||
compatible = "rohm,bh1730";
|
||||
reg = <0xb4>;
|
||||
};
|
||||
|
||||
test_i2c_npm1300: npm1300@b5 {
|
||||
compatible = "nordic,npm1300";
|
||||
reg = <0xb5>;
|
||||
|
||||
charger {
|
||||
compatible = "nordic,npm1300-charger";
|
||||
vbus-limit-microamp = <1000000>;
|
||||
thermistor-ohms = <10000>;
|
||||
thermistor-beta = <3380>;
|
||||
term-microvolt = <4150000>;
|
||||
current-microamp = <150000>;
|
||||
dischg-limit-microamp = <1000000>;
|
||||
};
|
||||
};
|
||||
|
||||
test_i2c_npm1304: npm1304@b6 {
|
||||
compatible = "nordic,npm1304";
|
||||
reg = <0xb6>;
|
||||
|
||||
charger {
|
||||
compatible = "nordic,npm1304-charger";
|
||||
vbus-limit-microamp = <1000000>;
|
||||
thermistor-ohms = <10000>;
|
||||
thermistor-beta = <3380>;
|
||||
term-microvolt = <4150000>;
|
||||
current-microamp = <10000>;
|
||||
};
|
||||
};
|
||||
|
||||
@ -41,6 +41,24 @@
|
||||
compatible = "nordic,npm2100-wdt";
|
||||
};
|
||||
};
|
||||
|
||||
npm1300_pmic: pmic@2 {
|
||||
compatible = "nordic,npm1300";
|
||||
reg = <0x2>;
|
||||
|
||||
npm1300_wdt: watchdog {
|
||||
compatible = "nordic,npm1300-wdt";
|
||||
};
|
||||
};
|
||||
|
||||
npm1304_pmic: pmic@3 {
|
||||
compatible = "nordic,npm1304";
|
||||
reg = <0x3>;
|
||||
|
||||
npm1304_wdt: watchdog {
|
||||
compatible = "nordic,npm1304-wdt";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user