1 Add properties to the gpio nodes to allow them to be also used
4 Signed-off-by: Andrew Lunn <andrew@lunn.ch>
6 arch/arm/boot/dts/armada-370.dtsi | 10 ++++++++--
7 arch/arm/boot/dts/armada-xp-mv78230.dtsi | 10 ++++++++--
8 arch/arm/boot/dts/armada-xp-mv78260.dtsi | 8 ++++++--
9 arch/arm/boot/dts/armada-xp-mv78460.dtsi | 10 ++++++++--
10 4 files changed, 30 insertions(+), 8 deletions(-)
12 --- a/arch/arm/boot/dts/armada-370.dtsi
13 +++ b/arch/arm/boot/dts/armada-370.dtsi
17 compatible = "marvell,orion-gpio";
18 - reg = <0x18100 0x40>;
19 + reg = <0x18100 0x40>, <0x181c0 0x08>;
20 + reg-names = "gpio", "pwm";
26 #interrupt-cells = <2>;
27 interrupts = <82>, <83>, <84>, <85>;
28 + clocks = <&coreclk 0>;
32 compatible = "marvell,orion-gpio";
33 - reg = <0x18140 0x40>;
34 + reg = <0x18140 0x40>, <0x181c8 0x08>;
35 + reg-names = "gpio", "pwm";
41 #interrupt-cells = <2>;
42 interrupts = <87>, <88>, <89>, <90>;
43 + clocks = <&coreclk 0>;
47 --- a/arch/arm/boot/dts/armada-xp-mv78230.dtsi
48 +++ b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
52 compatible = "marvell,orion-gpio";
53 - reg = <0x18100 0x40>;
54 + reg = <0x18100 0x40>, <0x181c0 0x08>;
55 + reg-names = "gpio", "pwm";
61 #interrupt-cells = <2>;
62 interrupts = <82>, <83>, <84>, <85>;
63 + clocks = <&coreclk 0>;
67 compatible = "marvell,orion-gpio";
68 - reg = <0x18140 0x40>;
69 + reg = <0x18140 0x40>, <0x181c8 0x08>;
70 + reg-names = "gpio", "pwm";
76 #interrupt-cells = <2>;
77 interrupts = <87>, <88>, <89>;
78 + clocks = <&coreclk 0>;
82 --- a/arch/arm/boot/dts/armada-xp-mv78260.dtsi
83 +++ b/arch/arm/boot/dts/armada-xp-mv78260.dtsi
87 compatible = "marvell,orion-gpio";
88 - reg = <0x18100 0x40>;
89 + reg = <0x18100 0x40>, <0x181c0 0x08>;
90 + reg-names = "gpio", "pwm";
96 #interrupt-cells = <2>;
97 interrupts = <82>, <83>, <84>, <85>;
98 + clocks = <&coreclk 0>;
102 compatible = "marvell,orion-gpio";
103 - reg = <0x18140 0x40>;
104 + reg = <0x18140 0x40>, <0x181c8 0x08>;
108 interrupt-controller;
109 #interrupt-cells = <2>;
110 interrupts = <87>, <88>, <89>, <90>;
111 + clocks = <&coreclk 0>;
115 --- a/arch/arm/boot/dts/armada-xp-mv78460.dtsi
116 +++ b/arch/arm/boot/dts/armada-xp-mv78460.dtsi
117 @@ -324,24 +324,30 @@
120 compatible = "marvell,orion-gpio";
121 - reg = <0x18100 0x40>;
122 + reg = <0x18100 0x40>, <0x181c0 0x08>;
123 + reg-names = "gpio", "pwm";
128 interrupt-controller;
129 #interrupt-cells = <2>;
130 interrupts = <82>, <83>, <84>, <85>;
131 + clocks = <&coreclk 0>;
135 compatible = "marvell,orion-gpio";
136 - reg = <0x18140 0x40>;
137 + reg = <0x18140 0x40>, <0x181c8 0x08>;
138 + reg-names = "gpio", "pwm";
143 interrupt-controller;
144 #interrupt-cells = <2>;
145 interrupts = <87>, <88>, <89>, <90>;
146 + clocks = <&coreclk 0>;