]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: at91: sama7g5: add pinctrl node
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 4 Jun 2020 07:37:13 +0000 (10:37 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 7 Jan 2021 07:44:15 +0000 (09:44 +0200)
Add pioA pinctrl node.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
arch/arm/dts/sama7g5.dtsi
arch/arm/dts/sama7g5ek-u-boot.dtsi

index d7906c7f8610c19b0a3630b53240419de80a952c..1955dd4a5b3b543fdbf5090d414fe8898d7b17a2 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
 
+                       pioA: pinctrl@e0014000 {
+                               compatible = "atmel,sama5d2-gpio";
+                               reg = <0xe0014000 0x800>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
+                               status = "okay";
+
+                               pinctrl: pinctrl_default {
+                                       compatible = "microchip,sama7g5-pinctrl";
+                               };
+                       };
+
                        pmc: pmc@e0018000 {
                                compatible = "microchip,sama7g5-pmc";
                                reg = <0xe0018000 0x200>;
index 27e0f316f31da3e769f18aeee7b74ddcd5643518..4af4d1bb5bcaaca414a6c43f6728a4d56df727a8 100644 (file)
        u-boot,dm-pre-reloc;
 };
 
+&pioA {
+       u-boot,dm-pre-reloc;
+
+       pinctrl {
+               u-boot,dm-pre-reloc;
+       };
+};
+
 &pit64b0 {
        u-boot,dm-pre-reloc;
 };