diff --git a/tests/drivers/build_all/gpio/app.overlay b/tests/drivers/build_all/gpio/app.overlay index ccb794dd847..367455b5f0d 100644 --- a/tests/drivers/build_all/gpio/app.overlay +++ b/tests/drivers/build_all/gpio/app.overlay @@ -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 { diff --git a/tests/drivers/build_all/led/app.overlay b/tests/drivers/build_all/led/app.overlay index e25825064a8..6a48cc3d905 100644 --- a/tests/drivers/build_all/led/app.overlay +++ b/tests/drivers/build_all/led/app.overlay @@ -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"; + }; + }; }; }; }; diff --git a/tests/drivers/build_all/regulator/i2c.dtsi b/tests/drivers/build_all/regulator/i2c.dtsi index ea81c2c3886..4c8cb31958a 100644 --- a/tests/drivers/build_all/regulator/i2c.dtsi +++ b/tests/drivers/build_all/regulator/i2c.dtsi @@ -143,3 +143,17 @@ npm2100@8 { LDOSW {}; }; }; + +npm1304@9 { + compatible = "nordic,npm1304"; + reg = <0x9>; + + regulators { + compatible = "nordic,npm1304-regulator"; + + BUCK1 {}; + BUCK2 {}; + LDO1 {}; + LDO2 {}; + }; +}; diff --git a/tests/drivers/build_all/sensor/i2c.dtsi b/tests/drivers/build_all/sensor/i2c.dtsi index 6ebced54204..64edbec396a 100644 --- a/tests/drivers/build_all/sensor/i2c.dtsi +++ b/tests/drivers/build_all/sensor/i2c.dtsi @@ -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>; + }; +}; diff --git a/tests/drivers/build_all/watchdog/i2c_devices.overlay b/tests/drivers/build_all/watchdog/i2c_devices.overlay index fcecf91a122..0c709d30b06 100644 --- a/tests/drivers/build_all/watchdog/i2c_devices.overlay +++ b/tests/drivers/build_all/watchdog/i2c_devices.overlay @@ -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"; + }; + }; }; }; };