]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: Add SGPIO node in dts
authorJim Liu <jim.t90615@gmail.com>
Tue, 16 Dec 2025 02:47:29 +0000 (10:47 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 31 Dec 2025 16:17:01 +0000 (10:17 -0600)
Add SGPIO node in dts

Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi

index cb57e1bcfd86218b58385a3b813a37e06d951cce..9b5f190680248e3560cdfdb6d74a3542f835ab5f 100644 (file)
                                gpio-bank-name = "gpio7";
                        };
 
+                       gpio8: sgpio1@101000 {
+                               compatible = "nuvoton,npcm845-sgpio";
+                               reg = <0x101000 0x200>;
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&iox1_pins>;
+                               syscon-rst = <&rstc>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               #gpio-cells = <2>;
+                               gpio-controller;
+                               gpio-bank-name = "gpio8";
+                               nuvoton,input-ngpios = <0>;
+                               nuvoton,output-ngpios = <0>;
+                       };
+
+                       gpio9: sgpio2@102000 {
+                               compatible = "nuvoton,npcm845-sgpio";
+                               reg = <0x102000 0x200>;
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&iox2_pins>;
+                               syscon-rst = <&rstc>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               #gpio-cells = <2>;
+                               gpio-controller;
+                               gpio-bank-name = "gpio9";
+                               nuvoton,input-ngpios = <8>;
+                               nuvoton,output-ngpios = <8>;
+                       };
+
                        rng: rng@b000 {
                                compatible = "nuvoton,npcm845-rng";
                                reg = <0xb000 0x8>;