提交 89fbba12 编写于 作者: M Magnus Damm 提交者: Simon Horman

ARM: shmobile: Fix r8a7791 GPIO resources in DTS

The r8a7791 GPIO resources are currently incorrect. Fix that
by making them match the English r8a7791 v0.31 data sheet.

Tested with GPIO LED using Koelsch DT reference.
Signed-off-by: NMagnus Damm <damm@opensource.se>
Signed-off-by: NSimon Horman <horms@verge.net.au>
上级 fb8d2ee3
...@@ -49,9 +49,9 @@ ...@@ -49,9 +49,9 @@
interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
}; };
gpio0: gpio@ffc40000 { gpio0: gpio@e6050000 {
compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
reg = <0 0xffc40000 0 0x50>; reg = <0 0xe6050000 0 0x50>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -61,9 +61,9 @@ ...@@ -61,9 +61,9 @@
interrupt-controller; interrupt-controller;
}; };
gpio1: gpio@ffc41000 { gpio1: gpio@e6051000 {
compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
reg = <0 0xffc41000 0 0x50>; reg = <0 0xe6051000 0 0x50>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -73,9 +73,9 @@ ...@@ -73,9 +73,9 @@
interrupt-controller; interrupt-controller;
}; };
gpio2: gpio@ffc42000 { gpio2: gpio@e6052000 {
compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
reg = <0 0xffc42000 0 0x50>; reg = <0 0xe6052000 0 0x50>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -85,9 +85,9 @@ ...@@ -85,9 +85,9 @@
interrupt-controller; interrupt-controller;
}; };
gpio3: gpio@ffc43000 { gpio3: gpio@e6053000 {
compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
reg = <0 0xffc43000 0 0x50>; reg = <0 0xe6053000 0 0x50>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -97,9 +97,9 @@ ...@@ -97,9 +97,9 @@
interrupt-controller; interrupt-controller;
}; };
gpio4: gpio@ffc44000 { gpio4: gpio@e6054000 {
compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
reg = <0 0xffc44000 0 0x50>; reg = <0 0xe6054000 0 0x50>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -109,9 +109,9 @@ ...@@ -109,9 +109,9 @@
interrupt-controller; interrupt-controller;
}; };
gpio5: gpio@ffc45000 { gpio5: gpio@e6055000 {
compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
reg = <0 0xffc45000 0 0x50>; reg = <0 0xe6055000 0 0x50>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -121,9 +121,9 @@ ...@@ -121,9 +121,9 @@
interrupt-controller; interrupt-controller;
}; };
gpio6: gpio@ffc45400 { gpio6: gpio@e6055400 {
compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
reg = <0 0xffc45400 0 0x50>; reg = <0 0xe6055400 0 0x50>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
interrupt-controller; interrupt-controller;
}; };
gpio7: gpio@ffc45800 { gpio7: gpio@e6055800 {
compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
reg = <0 0xffc45800 0 0x50>; reg = <0 0xe6055800 0 0x50>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册