Linux Audio

Check our new training course

Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0+ OR MIT
  2//
  3// Device Tree Source for UniPhier LD4 SoC
  4//
  5// Copyright (C) 2015-2016 Socionext Inc.
  6//   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  7
  8#include <dt-bindings/gpio/uniphier-gpio.h>
  9#include <dt-bindings/interrupt-controller/arm-gic.h>
 10
 11/ {
 12	compatible = "socionext,uniphier-ld4";
 13	#address-cells = <1>;
 14	#size-cells = <1>;
 15
 16	cpus {
 17		#address-cells = <1>;
 18		#size-cells = <0>;
 19
 20		cpu@0 {
 21			device_type = "cpu";
 22			compatible = "arm,cortex-a9";
 23			reg = <0>;
 24			enable-method = "psci";
 25			next-level-cache = <&l2>;
 26		};
 27	};
 28
 29	psci {
 30		compatible = "arm,psci-0.2";
 31		method = "smc";
 32	};
 33
 34	clocks {
 35		refclk: ref {
 36			compatible = "fixed-clock";
 37			#clock-cells = <0>;
 38			clock-frequency = <24576000>;
 39		};
 40
 41		arm_timer_clk: arm-timer {
 42			#clock-cells = <0>;
 43			compatible = "fixed-clock";
 44			clock-frequency = <50000000>;
 45		};
 46	};
 47
 48	soc {
 49		compatible = "simple-bus";
 50		#address-cells = <1>;
 51		#size-cells = <1>;
 52		ranges;
 53		interrupt-parent = <&intc>;
 54
 55		l2: cache-controller@500c0000 {
 56			compatible = "socionext,uniphier-system-cache";
 57			reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
 58			      <0x506c0000 0x400>;
 59			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
 60				     <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
 61			cache-unified;
 62			cache-size = <(512 * 1024)>;
 63			cache-sets = <256>;
 64			cache-line-size = <128>;
 65			cache-level = <2>;
 66		};
 67
 68		spi: spi@54006000 {
 69			compatible = "socionext,uniphier-scssi";
 70			status = "disabled";
 71			reg = <0x54006000 0x100>;
 72			#address-cells = <1>;
 73			#size-cells = <0>;
 74			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
 75			pinctrl-names = "default";
 76			pinctrl-0 = <&pinctrl_spi0>;
 77			clocks = <&peri_clk 11>;
 78			resets = <&peri_rst 11>;
 79		};
 80
 81		serial0: serial@54006800 {
 82			compatible = "socionext,uniphier-uart";
 83			status = "disabled";
 84			reg = <0x54006800 0x40>;
 85			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
 86			pinctrl-names = "default";
 87			pinctrl-0 = <&pinctrl_uart0>;
 88			clocks = <&peri_clk 0>;
 89			resets = <&peri_rst 0>;
 90		};
 91
 92		serial1: serial@54006900 {
 93			compatible = "socionext,uniphier-uart";
 94			status = "disabled";
 95			reg = <0x54006900 0x40>;
 96			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
 97			pinctrl-names = "default";
 98			pinctrl-0 = <&pinctrl_uart1>;
 99			clocks = <&peri_clk 1>;
100			resets = <&peri_rst 1>;
101		};
102
103		serial2: serial@54006a00 {
104			compatible = "socionext,uniphier-uart";
105			status = "disabled";
106			reg = <0x54006a00 0x40>;
107			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
108			pinctrl-names = "default";
109			pinctrl-0 = <&pinctrl_uart2>;
110			clocks = <&peri_clk 2>;
111			resets = <&peri_rst 2>;
112		};
113
114		serial3: serial@54006b00 {
115			compatible = "socionext,uniphier-uart";
116			status = "disabled";
117			reg = <0x54006b00 0x40>;
118			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
119			pinctrl-names = "default";
120			pinctrl-0 = <&pinctrl_uart3>;
121			clocks = <&peri_clk 3>;
122			resets = <&peri_rst 3>;
123		};
124
125		gpio: gpio@55000000 {
126			compatible = "socionext,uniphier-gpio";
127			reg = <0x55000000 0x200>;
128			interrupt-parent = <&aidet>;
129			interrupt-controller;
130			#interrupt-cells = <2>;
131			gpio-controller;
132			#gpio-cells = <2>;
133			gpio-ranges = <&pinctrl 0 0 0>;
134			gpio-ranges-group-names = "gpio_range";
135			ngpios = <136>;
136			socionext,interrupt-ranges = <0 48 13>, <14 62 2>;
137		};
138
139		i2c0: i2c@58400000 {
140			compatible = "socionext,uniphier-i2c";
141			status = "disabled";
142			reg = <0x58400000 0x40>;
143			#address-cells = <1>;
144			#size-cells = <0>;
145			interrupts = <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>;
146			pinctrl-names = "default";
147			pinctrl-0 = <&pinctrl_i2c0>;
148			clocks = <&peri_clk 4>;
149			resets = <&peri_rst 4>;
150			clock-frequency = <100000>;
151		};
152
153		i2c1: i2c@58480000 {
154			compatible = "socionext,uniphier-i2c";
155			status = "disabled";
156			reg = <0x58480000 0x40>;
157			#address-cells = <1>;
158			#size-cells = <0>;
159			interrupts = <GIC_SPI 42 IRQ_TYPE_EDGE_RISING>;
160			pinctrl-names = "default";
161			pinctrl-0 = <&pinctrl_i2c1>;
162			clocks = <&peri_clk 5>;
163			resets = <&peri_rst 5>;
164			clock-frequency = <100000>;
165		};
166
167		/* chip-internal connection for DMD */
168		i2c2: i2c@58500000 {
169			compatible = "socionext,uniphier-i2c";
170			reg = <0x58500000 0x40>;
171			#address-cells = <1>;
172			#size-cells = <0>;
173			interrupts = <GIC_SPI 43 IRQ_TYPE_EDGE_RISING>;
174			pinctrl-names = "default";
175			pinctrl-0 = <&pinctrl_i2c2>;
176			clocks = <&peri_clk 6>;
177			resets = <&peri_rst 6>;
178			clock-frequency = <400000>;
179		};
180
181		i2c3: i2c@58580000 {
182			compatible = "socionext,uniphier-i2c";
183			status = "disabled";
184			reg = <0x58580000 0x40>;
185			#address-cells = <1>;
186			#size-cells = <0>;
187			interrupts = <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>;
188			pinctrl-names = "default";
189			pinctrl-0 = <&pinctrl_i2c3>;
190			clocks = <&peri_clk 7>;
191			resets = <&peri_rst 7>;
192			clock-frequency = <100000>;
193		};
194
195		system_bus: system-bus@58c00000 {
196			compatible = "socionext,uniphier-system-bus";
197			status = "disabled";
198			reg = <0x58c00000 0x400>;
199			#address-cells = <2>;
200			#size-cells = <1>;
201			pinctrl-names = "default";
202			pinctrl-0 = <&pinctrl_system_bus>;
203		};
204
205		smpctrl@59801000 {
206			compatible = "socionext,uniphier-smpctrl";
207			reg = <0x59801000 0x400>;
208		};
209
210		mioctrl@59810000 {
211			compatible = "socionext,uniphier-ld4-mioctrl",
212				     "simple-mfd", "syscon";
213			reg = <0x59810000 0x800>;
214
215			mio_clk: clock {
216				compatible = "socionext,uniphier-ld4-mio-clock";
217				#clock-cells = <1>;
218			};
219
220			mio_rst: reset {
221				compatible = "socionext,uniphier-ld4-mio-reset";
222				#reset-cells = <1>;
223			};
224		};
225
226		perictrl@59820000 {
227			compatible = "socionext,uniphier-ld4-perictrl",
228				     "simple-mfd", "syscon";
229			reg = <0x59820000 0x200>;
230
231			peri_clk: clock {
232				compatible = "socionext,uniphier-ld4-peri-clock";
233				#clock-cells = <1>;
234			};
235
236			peri_rst: reset {
237				compatible = "socionext,uniphier-ld4-peri-reset";
238				#reset-cells = <1>;
239			};
240		};
241
242		dmac: dma-controller@5a000000 {
243			compatible = "socionext,uniphier-mio-dmac";
244			reg = <0x5a000000 0x1000>;
245			interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
246				     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
247				     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
248				     <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
249				     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
250				     <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
251				     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
252			clocks = <&mio_clk 7>;
253			resets = <&mio_rst 7>;
254			#dma-cells = <1>;
255		};
256
257		sd: mmc@5a400000 {
258			compatible = "socionext,uniphier-sd-v2.91";
259			status = "disabled";
260			reg = <0x5a400000 0x200>;
261			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
262			pinctrl-names = "default", "uhs";
263			pinctrl-0 = <&pinctrl_sd>;
264			pinctrl-1 = <&pinctrl_sd_uhs>;
265			clocks = <&mio_clk 0>;
266			reset-names = "host", "bridge";
267			resets = <&mio_rst 0>, <&mio_rst 3>;
268			dma-names = "rx-tx";
269			dmas = <&dmac 4>;
270			bus-width = <4>;
271			cap-sd-highspeed;
272			sd-uhs-sdr12;
273			sd-uhs-sdr25;
274			sd-uhs-sdr50;
275		};
276
277		emmc: mmc@5a500000 {
278			compatible = "socionext,uniphier-sd-v2.91";
279			status = "disabled";
280			reg = <0x5a500000 0x200>;
281			interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
282			pinctrl-names = "default";
283			pinctrl-0 = <&pinctrl_emmc>;
284			clocks = <&mio_clk 1>;
285			reset-names = "host", "bridge", "hw";
286			resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
287			dma-names = "rx-tx";
288			dmas = <&dmac 6>;
289			bus-width = <8>;
290			cap-mmc-highspeed;
291			cap-mmc-hw-reset;
292			non-removable;
293		};
294
295		usb0: usb@5a800100 {
296			compatible = "socionext,uniphier-ehci", "generic-ehci";
297			status = "disabled";
298			reg = <0x5a800100 0x100>;
299			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
300			pinctrl-names = "default";
301			pinctrl-0 = <&pinctrl_usb0>;
302			clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
303				 <&mio_clk 12>;
304			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
305				 <&mio_rst 12>;
306			has-transaction-translator;
307		};
308
309		usb1: usb@5a810100 {
310			compatible = "socionext,uniphier-ehci", "generic-ehci";
311			status = "disabled";
312			reg = <0x5a810100 0x100>;
313			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
314			pinctrl-names = "default";
315			pinctrl-0 = <&pinctrl_usb1>;
316			clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
317				 <&mio_clk 13>;
318			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
319				 <&mio_rst 13>;
320			has-transaction-translator;
321		};
322
323		usb2: usb@5a820100 {
324			compatible = "socionext,uniphier-ehci", "generic-ehci";
325			status = "disabled";
326			reg = <0x5a820100 0x100>;
327			interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
328			pinctrl-names = "default";
329			pinctrl-0 = <&pinctrl_usb2>;
330			clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
331				 <&mio_clk 14>;
332			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
333				 <&mio_rst 14>;
334			has-transaction-translator;
335		};
336
337		soc-glue@5f800000 {
338			compatible = "socionext,uniphier-ld4-soc-glue",
339				     "simple-mfd", "syscon";
340			reg = <0x5f800000 0x2000>;
341
342			pinctrl: pinctrl {
343				compatible = "socionext,uniphier-ld4-pinctrl";
344			};
345		};
346
347		soc-glue@5f900000 {
348			compatible = "socionext,uniphier-ld4-soc-glue-debug",
349				     "simple-mfd";
350			#address-cells = <1>;
351			#size-cells = <1>;
352			ranges = <0 0x5f900000 0x2000>;
353
354			efuse@100 {
355				compatible = "socionext,uniphier-efuse";
356				reg = <0x100 0x28>;
357			};
358
359			efuse@130 {
360				compatible = "socionext,uniphier-efuse";
361				reg = <0x130 0x8>;
362			};
363		};
364
365		timer@60000200 {
366			compatible = "arm,cortex-a9-global-timer";
367			reg = <0x60000200 0x20>;
368			interrupts = <GIC_PPI 11
369				(GIC_CPU_MASK_RAW(1) | IRQ_TYPE_LEVEL_HIGH)>;
370			clocks = <&arm_timer_clk>;
371		};
372
373		timer@60000600 {
374			compatible = "arm,cortex-a9-twd-timer";
375			reg = <0x60000600 0x20>;
376			interrupts = <GIC_PPI 13
377				(GIC_CPU_MASK_RAW(1) | IRQ_TYPE_LEVEL_HIGH)>;
378			clocks = <&arm_timer_clk>;
379		};
380
381		intc: interrupt-controller@60001000 {
382			compatible = "arm,cortex-a9-gic";
383			reg = <0x60001000 0x1000>,
384			      <0x60000100 0x100>;
385			#interrupt-cells = <3>;
386			interrupt-controller;
387		};
388
389		aidet: interrupt-controller@61830000 {
390			compatible = "socionext,uniphier-ld4-aidet";
391			reg = <0x61830000 0x200>;
392			interrupt-controller;
393			#interrupt-cells = <2>;
394		};
395
396		sysctrl@61840000 {
397			compatible = "socionext,uniphier-ld4-sysctrl",
398				     "simple-mfd", "syscon";
399			reg = <0x61840000 0x10000>;
400
401			sys_clk: clock {
402				compatible = "socionext,uniphier-ld4-clock";
403				#clock-cells = <1>;
404			};
405
406			sys_rst: reset {
407				compatible = "socionext,uniphier-ld4-reset";
408				#reset-cells = <1>;
409			};
410		};
411
412		nand: nand-controller@68000000 {
413			compatible = "socionext,uniphier-denali-nand-v5a";
414			status = "disabled";
415			reg-names = "nand_data", "denali_reg";
416			reg = <0x68000000 0x20>, <0x68100000 0x1000>;
417			#address-cells = <1>;
418			#size-cells = <0>;
419			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
420			pinctrl-names = "default";
421			pinctrl-0 = <&pinctrl_nand>;
422			clock-names = "nand", "nand_x", "ecc";
423			clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
424			reset-names = "nand", "reg";
425			resets = <&sys_rst 2>, <&sys_rst 2>;
426		};
427	};
428};
429
430#include "uniphier-pinctrl.dtsi"
v4.10.11
  1/*
  2 * Device Tree Source for UniPhier LD4 SoC
  3 *
  4 * Copyright (C) 2015-2016 Socionext Inc.
  5 *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  6 *
  7 * This file is dual-licensed: you can use it either under the terms
  8 * of the GPL or the X11 license, at your option. Note that this dual
  9 * licensing only applies to this file, and not this project as a
 10 * whole.
 11 *
 12 *  a) This file is free software; you can redistribute it and/or
 13 *     modify it under the terms of the GNU General Public License as
 14 *     published by the Free Software Foundation; either version 2 of the
 15 *     License, or (at your option) any later version.
 16 *
 17 *     This file is distributed in the hope that it will be useful,
 18 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 19 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 20 *     GNU General Public License for more details.
 21 *
 22 * Or, alternatively,
 23 *
 24 *  b) Permission is hereby granted, free of charge, to any person
 25 *     obtaining a copy of this software and associated documentation
 26 *     files (the "Software"), to deal in the Software without
 27 *     restriction, including without limitation the rights to use,
 28 *     copy, modify, merge, publish, distribute, sublicense, and/or
 29 *     sell copies of the Software, and to permit persons to whom the
 30 *     Software is furnished to do so, subject to the following
 31 *     conditions:
 32 *
 33 *     The above copyright notice and this permission notice shall be
 34 *     included in all copies or substantial portions of the Software.
 35 *
 36 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 37 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 38 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 39 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 40 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 41 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 42 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 43 *     OTHER DEALINGS IN THE SOFTWARE.
 44 */
 45
 46/include/ "skeleton.dtsi"
 
 47
 48/ {
 49	compatible = "socionext,uniphier-ld4";
 
 
 50
 51	cpus {
 52		#address-cells = <1>;
 53		#size-cells = <0>;
 54
 55		cpu@0 {
 56			device_type = "cpu";
 57			compatible = "arm,cortex-a9";
 58			reg = <0>;
 59			enable-method = "psci";
 60			next-level-cache = <&l2>;
 61		};
 62	};
 63
 64	psci {
 65		compatible = "arm,psci-0.2";
 66		method = "smc";
 67	};
 68
 69	clocks {
 70		refclk: ref {
 71			compatible = "fixed-clock";
 72			#clock-cells = <0>;
 73			clock-frequency = <24576000>;
 74		};
 75
 76		arm_timer_clk: arm_timer_clk {
 77			#clock-cells = <0>;
 78			compatible = "fixed-clock";
 79			clock-frequency = <50000000>;
 80		};
 81	};
 82
 83	soc {
 84		compatible = "simple-bus";
 85		#address-cells = <1>;
 86		#size-cells = <1>;
 87		ranges;
 88		interrupt-parent = <&intc>;
 89
 90		l2: l2-cache@500c0000 {
 91			compatible = "socionext,uniphier-system-cache";
 92			reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
 93			      <0x506c0000 0x400>;
 94			interrupts = <0 174 4>, <0 175 4>;
 
 95			cache-unified;
 96			cache-size = <(512 * 1024)>;
 97			cache-sets = <256>;
 98			cache-line-size = <128>;
 99			cache-level = <2>;
100		};
101
 
 
 
 
 
 
 
 
 
 
 
 
 
102		serial0: serial@54006800 {
103			compatible = "socionext,uniphier-uart";
104			status = "disabled";
105			reg = <0x54006800 0x40>;
106			interrupts = <0 33 4>;
107			pinctrl-names = "default";
108			pinctrl-0 = <&pinctrl_uart0>;
109			clocks = <&peri_clk 0>;
 
110		};
111
112		serial1: serial@54006900 {
113			compatible = "socionext,uniphier-uart";
114			status = "disabled";
115			reg = <0x54006900 0x40>;
116			interrupts = <0 35 4>;
117			pinctrl-names = "default";
118			pinctrl-0 = <&pinctrl_uart1>;
119			clocks = <&peri_clk 1>;
 
120		};
121
122		serial2: serial@54006a00 {
123			compatible = "socionext,uniphier-uart";
124			status = "disabled";
125			reg = <0x54006a00 0x40>;
126			interrupts = <0 37 4>;
127			pinctrl-names = "default";
128			pinctrl-0 = <&pinctrl_uart2>;
129			clocks = <&peri_clk 2>;
 
130		};
131
132		serial3: serial@54006b00 {
133			compatible = "socionext,uniphier-uart";
134			status = "disabled";
135			reg = <0x54006b00 0x40>;
136			interrupts = <0 29 4>;
137			pinctrl-names = "default";
138			pinctrl-0 = <&pinctrl_uart3>;
139			clocks = <&peri_clk 3>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140		};
141
142		i2c0: i2c@58400000 {
143			compatible = "socionext,uniphier-i2c";
144			status = "disabled";
145			reg = <0x58400000 0x40>;
146			#address-cells = <1>;
147			#size-cells = <0>;
148			interrupts = <0 41 1>;
149			pinctrl-names = "default";
150			pinctrl-0 = <&pinctrl_i2c0>;
151			clocks = <&peri_clk 4>;
 
152			clock-frequency = <100000>;
153		};
154
155		i2c1: i2c@58480000 {
156			compatible = "socionext,uniphier-i2c";
157			status = "disabled";
158			reg = <0x58480000 0x40>;
159			#address-cells = <1>;
160			#size-cells = <0>;
161			interrupts = <0 42 1>;
162			pinctrl-names = "default";
163			pinctrl-0 = <&pinctrl_i2c1>;
164			clocks = <&peri_clk 5>;
 
165			clock-frequency = <100000>;
166		};
167
168		/* chip-internal connection for DMD */
169		i2c2: i2c@58500000 {
170			compatible = "socionext,uniphier-i2c";
171			reg = <0x58500000 0x40>;
172			#address-cells = <1>;
173			#size-cells = <0>;
174			interrupts = <0 43 1>;
175			pinctrl-names = "default";
176			pinctrl-0 = <&pinctrl_i2c2>;
177			clocks = <&peri_clk 6>;
 
178			clock-frequency = <400000>;
179		};
180
181		i2c3: i2c@58580000 {
182			compatible = "socionext,uniphier-i2c";
183			status = "disabled";
184			reg = <0x58580000 0x40>;
185			#address-cells = <1>;
186			#size-cells = <0>;
187			interrupts = <0 44 1>;
188			pinctrl-names = "default";
189			pinctrl-0 = <&pinctrl_i2c3>;
190			clocks = <&peri_clk 7>;
 
191			clock-frequency = <100000>;
192		};
193
194		system_bus: system-bus@58c00000 {
195			compatible = "socionext,uniphier-system-bus";
196			status = "disabled";
197			reg = <0x58c00000 0x400>;
198			#address-cells = <2>;
199			#size-cells = <1>;
200			pinctrl-names = "default";
201			pinctrl-0 = <&pinctrl_system_bus>;
202		};
203
204		smpctrl@59800000 {
205			compatible = "socionext,uniphier-smpctrl";
206			reg = <0x59801000 0x400>;
207		};
208
209		mioctrl@59810000 {
210			compatible = "socionext,uniphier-ld4-mioctrl",
211				     "simple-mfd", "syscon";
212			reg = <0x59810000 0x800>;
213
214			mio_clk: clock {
215				compatible = "socionext,uniphier-ld4-mio-clock";
216				#clock-cells = <1>;
217			};
218
219			mio_rst: reset {
220				compatible = "socionext,uniphier-ld4-mio-reset";
221				#reset-cells = <1>;
222			};
223		};
224
225		perictrl@59820000 {
226			compatible = "socionext,uniphier-ld4-perictrl",
227				     "simple-mfd", "syscon";
228			reg = <0x59820000 0x200>;
229
230			peri_clk: clock {
231				compatible = "socionext,uniphier-ld4-peri-clock";
232				#clock-cells = <1>;
233			};
234
235			peri_rst: reset {
236				compatible = "socionext,uniphier-ld4-peri-reset";
237				#reset-cells = <1>;
238			};
239		};
240
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241		usb0: usb@5a800100 {
242			compatible = "socionext,uniphier-ehci", "generic-ehci";
243			status = "disabled";
244			reg = <0x5a800100 0x100>;
245			interrupts = <0 80 4>;
246			pinctrl-names = "default";
247			pinctrl-0 = <&pinctrl_usb0>;
248			clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
 
249			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
250				 <&mio_rst 12>;
 
251		};
252
253		usb1: usb@5a810100 {
254			compatible = "socionext,uniphier-ehci", "generic-ehci";
255			status = "disabled";
256			reg = <0x5a810100 0x100>;
257			interrupts = <0 81 4>;
258			pinctrl-names = "default";
259			pinctrl-0 = <&pinctrl_usb1>;
260			clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
 
261			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
262				 <&mio_rst 13>;
 
263		};
264
265		usb2: usb@5a820100 {
266			compatible = "socionext,uniphier-ehci", "generic-ehci";
267			status = "disabled";
268			reg = <0x5a820100 0x100>;
269			interrupts = <0 82 4>;
270			pinctrl-names = "default";
271			pinctrl-0 = <&pinctrl_usb2>;
272			clocks = <&mio_clk 7>, <&mio_clk 10>, <&mio_clk 14>;
 
273			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
274				 <&mio_rst 14>;
 
275		};
276
277		soc-glue@5f800000 {
278			compatible = "socionext,uniphier-ld4-soc-glue",
279				     "simple-mfd", "syscon";
280			reg = <0x5f800000 0x2000>;
281
282			pinctrl: pinctrl {
283				compatible = "socionext,uniphier-ld4-pinctrl";
284			};
285		};
286
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
287		timer@60000200 {
288			compatible = "arm,cortex-a9-global-timer";
289			reg = <0x60000200 0x20>;
290			interrupts = <1 11 0x104>;
 
291			clocks = <&arm_timer_clk>;
292		};
293
294		timer@60000600 {
295			compatible = "arm,cortex-a9-twd-timer";
296			reg = <0x60000600 0x20>;
297			interrupts = <1 13 0x104>;
 
298			clocks = <&arm_timer_clk>;
299		};
300
301		intc: interrupt-controller@60001000 {
302			compatible = "arm,cortex-a9-gic";
303			reg = <0x60001000 0x1000>,
304			      <0x60000100 0x100>;
305			#interrupt-cells = <3>;
306			interrupt-controller;
307		};
308
 
 
 
 
 
 
 
309		sysctrl@61840000 {
310			compatible = "socionext,uniphier-ld4-sysctrl",
311				     "simple-mfd", "syscon";
312			reg = <0x61840000 0x10000>;
313
314			sys_clk: clock {
315				compatible = "socionext,uniphier-ld4-clock";
316				#clock-cells = <1>;
317			};
318
319			sys_rst: reset {
320				compatible = "socionext,uniphier-ld4-reset";
321				#reset-cells = <1>;
322			};
323		};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
324	};
325};
326
327/include/ "uniphier-pinctrl.dtsi"