@@ -14,6 +14,15 @@
/include/ "sunxi.dtsi"
/ {
+ aliases {
+ gpio1 = &pb;
+ gpio2 = &pc;
+ gpio3 = &pd;
+ gpio4 = &pe;
+ gpio5 = &pf;
+ gpio6 = &pg;
+ };
+
memory {
reg = <0x40000000 0x20000000>;
};
@@ -39,5 +48,47 @@
allwinner,pull = <0>;
};
};
+
+ pb: gpio@01c20824 {
+ compatible = "allwinner,sunxi-gpio";
+ reg = <0x01c20824 0x24>;
+ gpio-controller;
+ #gpio-cells = <1>;
+ };
+
+ pc: gpio@01c20848 {
+ compatible = "allwinner,sunxi-gpio";
+ reg = <0x01c20848 0x24>;
+ gpio-controller;
+ #gpio-cells = <1>;
+ };
+
+ pd: gpio@01c2086c {
+ compatible = "allwinner,sunxi-gpio";
+ reg = <0x01c2086c 0x24>;
+ gpio-controller;
+ #gpio-cells = <1>;
+ };
+
+ pe: gpio@01c20890 {
+ compatible = "allwinner,sunxi-gpio";
+ reg = <0x01c20890 0x24>;
+ gpio-controller;
+ #gpio-cells = <1>;
+ };
+
+ pf: gpio@01c208b4 {
+ compatible = "allwinner,sunxi-gpio";
+ reg = <0x01c208b4 0x24>;
+ gpio-controller;
+ #gpio-cells = <1>;
+ };
+
+ pg: gpio@01c208d8 {
+ compatible = "allwinner,sunxi-gpio";
+ reg = <0x01c208d8 0x24>;
+ gpio-controller;
+ #gpio-cells = <1>;
+ };
};
};
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> --- arch/arm/boot/dts/sun5i-a13.dtsi | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+)