summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2015-12-08 16:50:15 +1000
committerNathan Rossi <nathan@nathanrossi.com>2015-12-21 14:47:15 +1000
commit8602cf10aca71d5af786ed9872a71786dc7faf05 (patch)
treeef5cec81e18d1cb1c99ee471a0e2149d8100e64e
parent33ddd79ff65ee32b71685cb81584d112e953e636 (diff)
downloadmeta-xilinx-8602cf10aca71d5af786ed9872a71786dc7faf05.tar.gz
zynq7-base.dtsi: Update for newer kernels
Update compatiblity with newer kernels. Adding new properties and nodes where available. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--conf/machine/boards/common/zynq7-base.dtsi29
1 files changed, 22 insertions, 7 deletions
diff --git a/conf/machine/boards/common/zynq7-base.dtsi b/conf/machine/boards/common/zynq7-base.dtsi
index 5edbdb1f..a59e0b85 100644
--- a/conf/machine/boards/common/zynq7-base.dtsi
+++ b/conf/machine/boards/common/zynq7-base.dtsi
@@ -70,8 +70,11 @@
70 i-cache-size = <0x8000>; 70 i-cache-size = <0x8000>;
71 interrupt-handle = <&ps7_scugic_0>; 71 interrupt-handle = <&ps7_scugic_0>;
72 cpu0-supply = <&regulator_vccpint>; 72 cpu0-supply = <&regulator_vccpint>;
73 operating-points = <666667 1000000 333334 1000000 222223 1000000>;
74 reg = <0x0>; 73 reg = <0x0>;
74 operating-points = <
75 666667 1000000
76 333334 1000000
77 >;
75 } ; 78 } ;
76 ps7_cortexa9_1: cpu@1 { 79 ps7_cortexa9_1: cpu@1 {
77 bus-handle = <&ps7_axi_interconnect_0>; 80 bus-handle = <&ps7_axi_interconnect_0>;
@@ -156,7 +159,7 @@
156 ps7_slcr_0: ps7-slcr@f8000000 { 159 ps7_slcr_0: ps7-slcr@f8000000 {
157 #address-cells = <1>; 160 #address-cells = <1>;
158 #size-cells = <1>; 161 #size-cells = <1>;
159 compatible = "xlnx,zynq-slcr", "syscon", "xlnx,ps7-slcr-1.00.a"; 162 compatible = "xlnx,zynq-slcr", "syscon", "simple-bus", "xlnx,ps7-slcr-1.00.a";
160 ranges ; 163 ranges ;
161 reg = <0xf8000000 0x1000>; 164 reg = <0xf8000000 0x1000>;
162 clkc: clkc@100 { 165 clkc: clkc@100 {
@@ -186,6 +189,17 @@
186 ps-clk-frequency = <33333333>; 189 ps-clk-frequency = <33333333>;
187 reg = <0x100 0x100>; 190 reg = <0x100 0x100>;
188 } ; 191 } ;
192 rstc: rstc@200 {
193 compatible = "xlnx,zynq-reset";
194 reg = <0x200 0x48>;
195 #reset-cells = <1>;
196 syscon = <&ps7_slcr_0>;
197 } ;
198 pinctl0: pinctrl@700 {
199 compatible = "xlnx,pinctrl-zynq";
200 reg = <0x700 0x200>;
201 syscon = <&ps7_slcr_0>;
202 } ;
189 } ; 203 } ;
190 ps7_globaltimer_0: ps7-globaltimer@f8f00200 { 204 ps7_globaltimer_0: ps7-globaltimer@f8f00200 {
191 clocks = <&clkc 4>; 205 clocks = <&clkc 4>;
@@ -211,13 +225,11 @@
211 } ; 225 } ;
212 ps7_wdt_0: ps7-wdt@f8005000 { 226 ps7_wdt_0: ps7-wdt@f8005000 {
213 clocks = <&clkc 45>; 227 clocks = <&clkc 45>;
214 compatible = "xlnx,zynq-wdt-r1p2", "xlnx,ps7-wdt-1.00.a"; 228 compatible = "cdns,wdt-r1p2", "xlnx,zynq-wdt-r1p2";
215 device_type = "watchdog";
216 interrupt-parent = <&ps7_scugic_0>; 229 interrupt-parent = <&ps7_scugic_0>;
217 interrupts = <0 9 4>; 230 interrupts = <0 9 4>;
218 reg = <0xf8005000 0x1000>; 231 reg = <0xf8005000 0x1000>;
219 reset = <0>; 232 reset = <0>;
220 timeout = <10>;
221 timeout-sec = <10>; 233 timeout-sec = <10>;
222 } ; 234 } ;
223 /*ps7_dma_ns: ps7-dma@f8004000 { 235 /*ps7_dma_ns: ps7-dma@f8004000 {
@@ -253,6 +265,7 @@
253 interrupt-parent = <&ps7_scugic_0>; 265 interrupt-parent = <&ps7_scugic_0>;
254 interrupts = <0 8 4>; 266 interrupts = <0 8 4>;
255 reg = <0xf8007000 0x100>; 267 reg = <0xf8007000 0x100>;
268 syscon = <&ps7_slcr_0>;
256 } ; 269 } ;
257 ps7_iop_bus_config_0: ps7-iop-bus-config@e0200000 { 270 ps7_iop_bus_config_0: ps7-iop-bus-config@e0200000 {
258 compatible = "xlnx,ps7-iop-bus-config-1.00.a"; 271 compatible = "xlnx,ps7-iop-bus-config-1.00.a";
@@ -266,7 +279,7 @@
266 #size-cells = <0>; 279 #size-cells = <0>;
267 clock-names = "pclk", "hclk", "tx_clk", "ref_clk", "aper_clk"; 280 clock-names = "pclk", "hclk", "tx_clk", "ref_clk", "aper_clk";
268 clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>, <&clkc 13>, <&clkc 30>; 281 clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>, <&clkc 13>, <&clkc 30>;
269 compatible = "cdns,gem", "xlnx,ps7-ethernet-1.00.a"; 282 compatible = "cdns,zynq-gem", "cdns,gem", "xlnx,ps7-ethernet-1.00.a";
270 interrupt-parent = <&ps7_scugic_0>; 283 interrupt-parent = <&ps7_scugic_0>;
271 interrupts = <0 22 4>; 284 interrupts = <0 22 4>;
272 local-mac-address = [ 00 0a 35 00 00 00 ]; 285 local-mac-address = [ 00 0a 35 00 00 00 ];
@@ -281,7 +294,7 @@
281 #size-cells = <0>; 294 #size-cells = <0>;
282 clock-names = "pclk", "hclk", "tx_clk", "ref_clk", "aper_clk"; 295 clock-names = "pclk", "hclk", "tx_clk", "ref_clk", "aper_clk";
283 clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>, <&clkc 14>, <&clkc 31>; 296 clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>, <&clkc 14>, <&clkc 31>;
284 compatible = "cdns,gem", "xlnx,ps7-ethernet-1.00.a"; 297 compatible = "cdns,zynq-gem", "cdns,gem", "xlnx,ps7-ethernet-1.00.a";
285 interrupt-parent = <&ps7_scugic_0>; 298 interrupt-parent = <&ps7_scugic_0>;
286 interrupts = <0 45 4>; 299 interrupts = <0 45 4>;
287 local-mac-address = [ 00 0a 35 00 00 01 ]; 300 local-mac-address = [ 00 0a 35 00 00 01 ];
@@ -294,12 +307,14 @@
294 307
295 ps7_gpio_0: ps7-gpio@e000a000 { 308 ps7_gpio_0: ps7-gpio@e000a000 {
296 #gpio-cells = <2>; 309 #gpio-cells = <2>;
310 #interrupt-cells = <2>;
297 clocks = <&clkc 42>; 311 clocks = <&clkc 42>;
298 compatible = "xlnx,zynq-gpio-1.0", "xlnx,ps7-gpio-1.00.a"; 312 compatible = "xlnx,zynq-gpio-1.0", "xlnx,ps7-gpio-1.00.a";
299 emio-gpio-width = <64>; 313 emio-gpio-width = <64>;
300 gpio-controller ; 314 gpio-controller ;
301 gpio-mask-high = <0x0>; 315 gpio-mask-high = <0x0>;
302 gpio-mask-low = <0x0>; 316 gpio-mask-low = <0x0>;
317 interrupt-controller;
303 interrupt-parent = <&ps7_scugic_0>; 318 interrupt-parent = <&ps7_scugic_0>;
304 interrupts = <0 20 4>; 319 interrupts = <0 20 4>;
305 reg = <0xe000a000 0x1000>; 320 reg = <0xe000a000 0x1000>;