xref: /openbmc/u-boot/arch/arm/dts/uniphier-pxs2.dtsi (revision d9403001)
152159d27SMasahiro Yamada/*
252159d27SMasahiro Yamada * Device Tree Source for UniPhier PXs2 SoC
352159d27SMasahiro Yamada *
452159d27SMasahiro Yamada * Copyright (C) 2015-2016 Socionext Inc.
552159d27SMasahiro Yamada *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
652159d27SMasahiro Yamada *
7*d9403001SMasahiro Yamada * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
852159d27SMasahiro Yamada */
952159d27SMasahiro Yamada
1052159d27SMasahiro Yamada/ {
1152159d27SMasahiro Yamada	compatible = "socionext,uniphier-pxs2";
12f16eda96SMasahiro Yamada	#address-cells = <1>;
13f16eda96SMasahiro Yamada	#size-cells = <1>;
1452159d27SMasahiro Yamada
1552159d27SMasahiro Yamada	cpus {
1652159d27SMasahiro Yamada		#address-cells = <1>;
1752159d27SMasahiro Yamada		#size-cells = <0>;
1852159d27SMasahiro Yamada
1952159d27SMasahiro Yamada		cpu@0 {
2052159d27SMasahiro Yamada			device_type = "cpu";
2152159d27SMasahiro Yamada			compatible = "arm,cortex-a9";
2252159d27SMasahiro Yamada			reg = <0>;
23cd62214dSMasahiro Yamada			clocks = <&sys_clk 32>;
2452159d27SMasahiro Yamada			enable-method = "psci";
2552159d27SMasahiro Yamada			next-level-cache = <&l2>;
26cd62214dSMasahiro Yamada			operating-points-v2 = <&cpu_opp>;
2752159d27SMasahiro Yamada		};
2852159d27SMasahiro Yamada
2952159d27SMasahiro Yamada		cpu@1 {
3052159d27SMasahiro Yamada			device_type = "cpu";
3152159d27SMasahiro Yamada			compatible = "arm,cortex-a9";
3252159d27SMasahiro Yamada			reg = <1>;
33cd62214dSMasahiro Yamada			clocks = <&sys_clk 32>;
3452159d27SMasahiro Yamada			enable-method = "psci";
3552159d27SMasahiro Yamada			next-level-cache = <&l2>;
36cd62214dSMasahiro Yamada			operating-points-v2 = <&cpu_opp>;
3752159d27SMasahiro Yamada		};
3852159d27SMasahiro Yamada
3952159d27SMasahiro Yamada		cpu@2 {
4052159d27SMasahiro Yamada			device_type = "cpu";
4152159d27SMasahiro Yamada			compatible = "arm,cortex-a9";
4252159d27SMasahiro Yamada			reg = <2>;
43cd62214dSMasahiro Yamada			clocks = <&sys_clk 32>;
4452159d27SMasahiro Yamada			enable-method = "psci";
4552159d27SMasahiro Yamada			next-level-cache = <&l2>;
46cd62214dSMasahiro Yamada			operating-points-v2 = <&cpu_opp>;
4752159d27SMasahiro Yamada		};
4852159d27SMasahiro Yamada
4952159d27SMasahiro Yamada		cpu@3 {
5052159d27SMasahiro Yamada			device_type = "cpu";
5152159d27SMasahiro Yamada			compatible = "arm,cortex-a9";
5252159d27SMasahiro Yamada			reg = <3>;
53cd62214dSMasahiro Yamada			clocks = <&sys_clk 32>;
5452159d27SMasahiro Yamada			enable-method = "psci";
5552159d27SMasahiro Yamada			next-level-cache = <&l2>;
56cd62214dSMasahiro Yamada			operating-points-v2 = <&cpu_opp>;
5752159d27SMasahiro Yamada		};
5852159d27SMasahiro Yamada	};
5952159d27SMasahiro Yamada
60cd62214dSMasahiro Yamada	cpu_opp: opp_table {
61cd62214dSMasahiro Yamada		compatible = "operating-points-v2";
62cd62214dSMasahiro Yamada		opp-shared;
63cd62214dSMasahiro Yamada
644e7f8de4SMasahiro Yamada		opp-100000000 {
65cd62214dSMasahiro Yamada			opp-hz = /bits/ 64 <100000000>;
66cd62214dSMasahiro Yamada			clock-latency-ns = <300>;
67cd62214dSMasahiro Yamada		};
684e7f8de4SMasahiro Yamada		opp-150000000 {
69cd62214dSMasahiro Yamada			opp-hz = /bits/ 64 <150000000>;
70cd62214dSMasahiro Yamada			clock-latency-ns = <300>;
71cd62214dSMasahiro Yamada		};
724e7f8de4SMasahiro Yamada		opp-200000000 {
73cd62214dSMasahiro Yamada			opp-hz = /bits/ 64 <200000000>;
74cd62214dSMasahiro Yamada			clock-latency-ns = <300>;
75cd62214dSMasahiro Yamada		};
764e7f8de4SMasahiro Yamada		opp-300000000 {
77cd62214dSMasahiro Yamada			opp-hz = /bits/ 64 <300000000>;
78cd62214dSMasahiro Yamada			clock-latency-ns = <300>;
79cd62214dSMasahiro Yamada		};
804e7f8de4SMasahiro Yamada		opp-400000000 {
81cd62214dSMasahiro Yamada			opp-hz = /bits/ 64 <400000000>;
82cd62214dSMasahiro Yamada			clock-latency-ns = <300>;
83cd62214dSMasahiro Yamada		};
844e7f8de4SMasahiro Yamada		opp-600000000 {
85cd62214dSMasahiro Yamada			opp-hz = /bits/ 64 <600000000>;
86cd62214dSMasahiro Yamada			clock-latency-ns = <300>;
87cd62214dSMasahiro Yamada		};
884e7f8de4SMasahiro Yamada		opp-800000000 {
89cd62214dSMasahiro Yamada			opp-hz = /bits/ 64 <800000000>;
90cd62214dSMasahiro Yamada			clock-latency-ns = <300>;
91cd62214dSMasahiro Yamada		};
924e7f8de4SMasahiro Yamada		opp-1200000000 {
93cd62214dSMasahiro Yamada			opp-hz = /bits/ 64 <1200000000>;
94cd62214dSMasahiro Yamada			clock-latency-ns = <300>;
95cd62214dSMasahiro Yamada		};
96cd62214dSMasahiro Yamada	};
97cd62214dSMasahiro Yamada
98cd62214dSMasahiro Yamada	psci {
99cd62214dSMasahiro Yamada		compatible = "arm,psci-0.2";
100cd62214dSMasahiro Yamada		method = "smc";
101cd62214dSMasahiro Yamada	};
102cd62214dSMasahiro Yamada
10352159d27SMasahiro Yamada	clocks {
104cd62214dSMasahiro Yamada		refclk: ref {
105cd62214dSMasahiro Yamada			compatible = "fixed-clock";
106cd62214dSMasahiro Yamada			#clock-cells = <0>;
107cd62214dSMasahiro Yamada			clock-frequency = <25000000>;
108cd62214dSMasahiro Yamada		};
109cd62214dSMasahiro Yamada
11052159d27SMasahiro Yamada		arm_timer_clk: arm_timer_clk {
11152159d27SMasahiro Yamada			#clock-cells = <0>;
11252159d27SMasahiro Yamada			compatible = "fixed-clock";
11352159d27SMasahiro Yamada			clock-frequency = <50000000>;
11452159d27SMasahiro Yamada		};
11552159d27SMasahiro Yamada	};
11652159d27SMasahiro Yamada
117cd62214dSMasahiro Yamada	soc {
118cd62214dSMasahiro Yamada		compatible = "simple-bus";
119cd62214dSMasahiro Yamada		#address-cells = <1>;
120cd62214dSMasahiro Yamada		#size-cells = <1>;
121cd62214dSMasahiro Yamada		ranges;
122cd62214dSMasahiro Yamada		interrupt-parent = <&intc>;
123cd62214dSMasahiro Yamada		u-boot,dm-pre-reloc;
124cd62214dSMasahiro Yamada
12552159d27SMasahiro Yamada		l2: l2-cache@500c0000 {
12652159d27SMasahiro Yamada			compatible = "socionext,uniphier-system-cache";
127cd62214dSMasahiro Yamada			reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
128cd62214dSMasahiro Yamada			      <0x506c0000 0x400>;
12952159d27SMasahiro Yamada			interrupts = <0 174 4>, <0 175 4>, <0 190 4>, <0 191 4>;
13052159d27SMasahiro Yamada			cache-unified;
13152159d27SMasahiro Yamada			cache-size = <(1280 * 1024)>;
13252159d27SMasahiro Yamada			cache-sets = <512>;
13352159d27SMasahiro Yamada			cache-line-size = <128>;
13452159d27SMasahiro Yamada			cache-level = <2>;
13552159d27SMasahiro Yamada		};
13652159d27SMasahiro Yamada
137cd62214dSMasahiro Yamada		serial0: serial@54006800 {
138cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-uart";
139cd62214dSMasahiro Yamada			status = "disabled";
140cd62214dSMasahiro Yamada			reg = <0x54006800 0x40>;
141cd62214dSMasahiro Yamada			interrupts = <0 33 4>;
142cd62214dSMasahiro Yamada			pinctrl-names = "default";
143cd62214dSMasahiro Yamada			pinctrl-0 = <&pinctrl_uart0>;
144cd62214dSMasahiro Yamada			clocks = <&peri_clk 0>;
145cd62214dSMasahiro Yamada			clock-frequency = <88900000>;
146cd62214dSMasahiro Yamada		};
147cd62214dSMasahiro Yamada
148cd62214dSMasahiro Yamada		serial1: serial@54006900 {
149cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-uart";
150cd62214dSMasahiro Yamada			status = "disabled";
151cd62214dSMasahiro Yamada			reg = <0x54006900 0x40>;
152cd62214dSMasahiro Yamada			interrupts = <0 35 4>;
153cd62214dSMasahiro Yamada			pinctrl-names = "default";
154cd62214dSMasahiro Yamada			pinctrl-0 = <&pinctrl_uart1>;
155cd62214dSMasahiro Yamada			clocks = <&peri_clk 1>;
156cd62214dSMasahiro Yamada			clock-frequency = <88900000>;
157cd62214dSMasahiro Yamada		};
158cd62214dSMasahiro Yamada
159cd62214dSMasahiro Yamada		serial2: serial@54006a00 {
160cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-uart";
161cd62214dSMasahiro Yamada			status = "disabled";
162cd62214dSMasahiro Yamada			reg = <0x54006a00 0x40>;
163cd62214dSMasahiro Yamada			interrupts = <0 37 4>;
164cd62214dSMasahiro Yamada			pinctrl-names = "default";
165cd62214dSMasahiro Yamada			pinctrl-0 = <&pinctrl_uart2>;
166cd62214dSMasahiro Yamada			clocks = <&peri_clk 2>;
167cd62214dSMasahiro Yamada			clock-frequency = <88900000>;
168cd62214dSMasahiro Yamada		};
169cd62214dSMasahiro Yamada
170cd62214dSMasahiro Yamada		serial3: serial@54006b00 {
171cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-uart";
172cd62214dSMasahiro Yamada			status = "disabled";
173cd62214dSMasahiro Yamada			reg = <0x54006b00 0x40>;
174cd62214dSMasahiro Yamada			interrupts = <0 177 4>;
175cd62214dSMasahiro Yamada			pinctrl-names = "default";
176cd62214dSMasahiro Yamada			pinctrl-0 = <&pinctrl_uart3>;
177cd62214dSMasahiro Yamada			clocks = <&peri_clk 3>;
178cd62214dSMasahiro Yamada			clock-frequency = <88900000>;
179cd62214dSMasahiro Yamada		};
180cd62214dSMasahiro Yamada
18152159d27SMasahiro Yamada		port0x: gpio@55000008 {
18252159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
18352159d27SMasahiro Yamada			reg = <0x55000008 0x8>;
18452159d27SMasahiro Yamada			gpio-controller;
18552159d27SMasahiro Yamada			#gpio-cells = <2>;
18652159d27SMasahiro Yamada		};
18752159d27SMasahiro Yamada
18852159d27SMasahiro Yamada		port1x: gpio@55000010 {
18952159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
19052159d27SMasahiro Yamada			reg = <0x55000010 0x8>;
19152159d27SMasahiro Yamada			gpio-controller;
19252159d27SMasahiro Yamada			#gpio-cells = <2>;
19352159d27SMasahiro Yamada		};
19452159d27SMasahiro Yamada
19552159d27SMasahiro Yamada		port2x: gpio@55000018 {
19652159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
19752159d27SMasahiro Yamada			reg = <0x55000018 0x8>;
19852159d27SMasahiro Yamada			gpio-controller;
19952159d27SMasahiro Yamada			#gpio-cells = <2>;
20052159d27SMasahiro Yamada		};
20152159d27SMasahiro Yamada
20252159d27SMasahiro Yamada		port3x: gpio@55000020 {
20352159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
20452159d27SMasahiro Yamada			reg = <0x55000020 0x8>;
20552159d27SMasahiro Yamada			gpio-controller;
20652159d27SMasahiro Yamada			#gpio-cells = <2>;
20752159d27SMasahiro Yamada		};
20852159d27SMasahiro Yamada
20952159d27SMasahiro Yamada		port4: gpio@55000028 {
21052159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
21152159d27SMasahiro Yamada			reg = <0x55000028 0x8>;
21252159d27SMasahiro Yamada			gpio-controller;
21352159d27SMasahiro Yamada			#gpio-cells = <2>;
21452159d27SMasahiro Yamada		};
21552159d27SMasahiro Yamada
21652159d27SMasahiro Yamada		port5x: gpio@55000030 {
21752159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
21852159d27SMasahiro Yamada			reg = <0x55000030 0x8>;
21952159d27SMasahiro Yamada			gpio-controller;
22052159d27SMasahiro Yamada			#gpio-cells = <2>;
22152159d27SMasahiro Yamada		};
22252159d27SMasahiro Yamada
22352159d27SMasahiro Yamada		port6x: gpio@55000038 {
22452159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
22552159d27SMasahiro Yamada			reg = <0x55000038 0x8>;
22652159d27SMasahiro Yamada			gpio-controller;
22752159d27SMasahiro Yamada			#gpio-cells = <2>;
22852159d27SMasahiro Yamada		};
22952159d27SMasahiro Yamada
23052159d27SMasahiro Yamada		port7x: gpio@55000040 {
23152159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
23252159d27SMasahiro Yamada			reg = <0x55000040 0x8>;
23352159d27SMasahiro Yamada			gpio-controller;
23452159d27SMasahiro Yamada			#gpio-cells = <2>;
23552159d27SMasahiro Yamada		};
23652159d27SMasahiro Yamada
23752159d27SMasahiro Yamada		port8x: gpio@55000048 {
23852159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
23952159d27SMasahiro Yamada			reg = <0x55000048 0x8>;
24052159d27SMasahiro Yamada			gpio-controller;
24152159d27SMasahiro Yamada			#gpio-cells = <2>;
24252159d27SMasahiro Yamada		};
24352159d27SMasahiro Yamada
24452159d27SMasahiro Yamada		port9x: gpio@55000050 {
24552159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
24652159d27SMasahiro Yamada			reg = <0x55000050 0x8>;
24752159d27SMasahiro Yamada			gpio-controller;
24852159d27SMasahiro Yamada			#gpio-cells = <2>;
24952159d27SMasahiro Yamada		};
25052159d27SMasahiro Yamada
25152159d27SMasahiro Yamada		port10x: gpio@55000058 {
25252159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
25352159d27SMasahiro Yamada			reg = <0x55000058 0x8>;
25452159d27SMasahiro Yamada			gpio-controller;
25552159d27SMasahiro Yamada			#gpio-cells = <2>;
25652159d27SMasahiro Yamada		};
25752159d27SMasahiro Yamada
25852159d27SMasahiro Yamada		port12x: gpio@55000068 {
25952159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
26052159d27SMasahiro Yamada			reg = <0x55000068 0x8>;
26152159d27SMasahiro Yamada			gpio-controller;
26252159d27SMasahiro Yamada			#gpio-cells = <2>;
26352159d27SMasahiro Yamada		};
26452159d27SMasahiro Yamada
26552159d27SMasahiro Yamada		port13x: gpio@55000070 {
26652159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
26752159d27SMasahiro Yamada			reg = <0x55000070 0x8>;
26852159d27SMasahiro Yamada			gpio-controller;
26952159d27SMasahiro Yamada			#gpio-cells = <2>;
27052159d27SMasahiro Yamada		};
27152159d27SMasahiro Yamada
27252159d27SMasahiro Yamada		port14x: gpio@55000078 {
27352159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
27452159d27SMasahiro Yamada			reg = <0x55000078 0x8>;
27552159d27SMasahiro Yamada			gpio-controller;
27652159d27SMasahiro Yamada			#gpio-cells = <2>;
27752159d27SMasahiro Yamada		};
27852159d27SMasahiro Yamada
27952159d27SMasahiro Yamada		port15x: gpio@55000080 {
28052159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
28152159d27SMasahiro Yamada			reg = <0x55000080 0x8>;
28252159d27SMasahiro Yamada			gpio-controller;
28352159d27SMasahiro Yamada			#gpio-cells = <2>;
28452159d27SMasahiro Yamada		};
28552159d27SMasahiro Yamada
28652159d27SMasahiro Yamada		port16x: gpio@55000088 {
28752159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
28852159d27SMasahiro Yamada			reg = <0x55000088 0x8>;
28952159d27SMasahiro Yamada			gpio-controller;
29052159d27SMasahiro Yamada			#gpio-cells = <2>;
29152159d27SMasahiro Yamada		};
29252159d27SMasahiro Yamada
29352159d27SMasahiro Yamada		port17x: gpio@550000a0 {
29452159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
29552159d27SMasahiro Yamada			reg = <0x550000a0 0x8>;
29652159d27SMasahiro Yamada			gpio-controller;
29752159d27SMasahiro Yamada			#gpio-cells = <2>;
29852159d27SMasahiro Yamada		};
29952159d27SMasahiro Yamada
30052159d27SMasahiro Yamada		port18x: gpio@550000a8 {
30152159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
30252159d27SMasahiro Yamada			reg = <0x550000a8 0x8>;
30352159d27SMasahiro Yamada			gpio-controller;
30452159d27SMasahiro Yamada			#gpio-cells = <2>;
30552159d27SMasahiro Yamada		};
30652159d27SMasahiro Yamada
30752159d27SMasahiro Yamada		port19x: gpio@550000b0 {
30852159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
30952159d27SMasahiro Yamada			reg = <0x550000b0 0x8>;
31052159d27SMasahiro Yamada			gpio-controller;
31152159d27SMasahiro Yamada			#gpio-cells = <2>;
31252159d27SMasahiro Yamada		};
31352159d27SMasahiro Yamada
31452159d27SMasahiro Yamada		port20x: gpio@550000b8 {
31552159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
31652159d27SMasahiro Yamada			reg = <0x550000b8 0x8>;
31752159d27SMasahiro Yamada			gpio-controller;
31852159d27SMasahiro Yamada			#gpio-cells = <2>;
31952159d27SMasahiro Yamada		};
32052159d27SMasahiro Yamada
32152159d27SMasahiro Yamada		port21x: gpio@550000c0 {
32252159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
32352159d27SMasahiro Yamada			reg = <0x550000c0 0x8>;
32452159d27SMasahiro Yamada			gpio-controller;
32552159d27SMasahiro Yamada			#gpio-cells = <2>;
32652159d27SMasahiro Yamada		};
32752159d27SMasahiro Yamada
32852159d27SMasahiro Yamada		port22x: gpio@550000c8 {
32952159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
33052159d27SMasahiro Yamada			reg = <0x550000c8 0x8>;
33152159d27SMasahiro Yamada			gpio-controller;
33252159d27SMasahiro Yamada			#gpio-cells = <2>;
33352159d27SMasahiro Yamada		};
33452159d27SMasahiro Yamada
33552159d27SMasahiro Yamada		port23x: gpio@550000d0 {
33652159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
33752159d27SMasahiro Yamada			reg = <0x550000d0 0x8>;
33852159d27SMasahiro Yamada			gpio-controller;
33952159d27SMasahiro Yamada			#gpio-cells = <2>;
34052159d27SMasahiro Yamada		};
34152159d27SMasahiro Yamada
34252159d27SMasahiro Yamada		port24x: gpio@550000d8 {
34352159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
34452159d27SMasahiro Yamada			reg = <0x550000d8 0x8>;
34552159d27SMasahiro Yamada			gpio-controller;
34652159d27SMasahiro Yamada			#gpio-cells = <2>;
34752159d27SMasahiro Yamada		};
34852159d27SMasahiro Yamada
34952159d27SMasahiro Yamada		port25x: gpio@550000e0 {
35052159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
35152159d27SMasahiro Yamada			reg = <0x550000e0 0x8>;
35252159d27SMasahiro Yamada			gpio-controller;
35352159d27SMasahiro Yamada			#gpio-cells = <2>;
35452159d27SMasahiro Yamada		};
35552159d27SMasahiro Yamada
35652159d27SMasahiro Yamada		port26x: gpio@550000e8 {
35752159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
35852159d27SMasahiro Yamada			reg = <0x550000e8 0x8>;
35952159d27SMasahiro Yamada			gpio-controller;
36052159d27SMasahiro Yamada			#gpio-cells = <2>;
36152159d27SMasahiro Yamada		};
36252159d27SMasahiro Yamada
36352159d27SMasahiro Yamada		port27x: gpio@550000f0 {
36452159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
36552159d27SMasahiro Yamada			reg = <0x550000f0 0x8>;
36652159d27SMasahiro Yamada			gpio-controller;
36752159d27SMasahiro Yamada			#gpio-cells = <2>;
36852159d27SMasahiro Yamada		};
36952159d27SMasahiro Yamada
37052159d27SMasahiro Yamada		port28x: gpio@550000f8 {
37152159d27SMasahiro Yamada			compatible = "socionext,uniphier-gpio";
37252159d27SMasahiro Yamada			reg = <0x550000f8 0x8>;
37352159d27SMasahiro Yamada			gpio-controller;
37452159d27SMasahiro Yamada			#gpio-cells = <2>;
37552159d27SMasahiro Yamada		};
37652159d27SMasahiro Yamada
37752159d27SMasahiro Yamada		i2c0: i2c@58780000 {
37852159d27SMasahiro Yamada			compatible = "socionext,uniphier-fi2c";
37952159d27SMasahiro Yamada			status = "disabled";
38052159d27SMasahiro Yamada			reg = <0x58780000 0x80>;
38152159d27SMasahiro Yamada			#address-cells = <1>;
38252159d27SMasahiro Yamada			#size-cells = <0>;
38352159d27SMasahiro Yamada			interrupts = <0 41 4>;
38452159d27SMasahiro Yamada			pinctrl-names = "default";
38552159d27SMasahiro Yamada			pinctrl-0 = <&pinctrl_i2c0>;
3867317a940SMasahiro Yamada			clocks = <&peri_clk 4>;
38752159d27SMasahiro Yamada			clock-frequency = <100000>;
38852159d27SMasahiro Yamada		};
38952159d27SMasahiro Yamada
39052159d27SMasahiro Yamada		i2c1: i2c@58781000 {
39152159d27SMasahiro Yamada			compatible = "socionext,uniphier-fi2c";
39252159d27SMasahiro Yamada			status = "disabled";
39352159d27SMasahiro Yamada			reg = <0x58781000 0x80>;
39452159d27SMasahiro Yamada			#address-cells = <1>;
39552159d27SMasahiro Yamada			#size-cells = <0>;
39652159d27SMasahiro Yamada			interrupts = <0 42 4>;
39752159d27SMasahiro Yamada			pinctrl-names = "default";
39852159d27SMasahiro Yamada			pinctrl-0 = <&pinctrl_i2c1>;
3997317a940SMasahiro Yamada			clocks = <&peri_clk 5>;
40052159d27SMasahiro Yamada			clock-frequency = <100000>;
40152159d27SMasahiro Yamada		};
40252159d27SMasahiro Yamada
40352159d27SMasahiro Yamada		i2c2: i2c@58782000 {
40452159d27SMasahiro Yamada			compatible = "socionext,uniphier-fi2c";
40552159d27SMasahiro Yamada			status = "disabled";
40652159d27SMasahiro Yamada			reg = <0x58782000 0x80>;
40752159d27SMasahiro Yamada			#address-cells = <1>;
40852159d27SMasahiro Yamada			#size-cells = <0>;
409cd62214dSMasahiro Yamada			interrupts = <0 43 4>;
41052159d27SMasahiro Yamada			pinctrl-names = "default";
41152159d27SMasahiro Yamada			pinctrl-0 = <&pinctrl_i2c2>;
4127317a940SMasahiro Yamada			clocks = <&peri_clk 6>;
41352159d27SMasahiro Yamada			clock-frequency = <100000>;
41452159d27SMasahiro Yamada		};
41552159d27SMasahiro Yamada
41652159d27SMasahiro Yamada		i2c3: i2c@58783000 {
41752159d27SMasahiro Yamada			compatible = "socionext,uniphier-fi2c";
41852159d27SMasahiro Yamada			status = "disabled";
41952159d27SMasahiro Yamada			reg = <0x58783000 0x80>;
42052159d27SMasahiro Yamada			#address-cells = <1>;
42152159d27SMasahiro Yamada			#size-cells = <0>;
42252159d27SMasahiro Yamada			interrupts = <0 44 4>;
42352159d27SMasahiro Yamada			pinctrl-names = "default";
42452159d27SMasahiro Yamada			pinctrl-0 = <&pinctrl_i2c3>;
4257317a940SMasahiro Yamada			clocks = <&peri_clk 7>;
42652159d27SMasahiro Yamada			clock-frequency = <100000>;
42752159d27SMasahiro Yamada		};
42852159d27SMasahiro Yamada
42952159d27SMasahiro Yamada		/* chip-internal connection for DMD */
43052159d27SMasahiro Yamada		i2c4: i2c@58784000 {
43152159d27SMasahiro Yamada			compatible = "socionext,uniphier-fi2c";
43252159d27SMasahiro Yamada			reg = <0x58784000 0x80>;
43352159d27SMasahiro Yamada			#address-cells = <1>;
43452159d27SMasahiro Yamada			#size-cells = <0>;
43552159d27SMasahiro Yamada			interrupts = <0 45 4>;
4367317a940SMasahiro Yamada			clocks = <&peri_clk 8>;
43752159d27SMasahiro Yamada			clock-frequency = <400000>;
43852159d27SMasahiro Yamada		};
43952159d27SMasahiro Yamada
44052159d27SMasahiro Yamada		/* chip-internal connection for STM */
44152159d27SMasahiro Yamada		i2c5: i2c@58785000 {
44252159d27SMasahiro Yamada			compatible = "socionext,uniphier-fi2c";
44352159d27SMasahiro Yamada			reg = <0x58785000 0x80>;
44452159d27SMasahiro Yamada			#address-cells = <1>;
44552159d27SMasahiro Yamada			#size-cells = <0>;
44652159d27SMasahiro Yamada			interrupts = <0 25 4>;
4477317a940SMasahiro Yamada			clocks = <&peri_clk 9>;
44852159d27SMasahiro Yamada			clock-frequency = <400000>;
44952159d27SMasahiro Yamada		};
45052159d27SMasahiro Yamada
45152159d27SMasahiro Yamada		/* chip-internal connection for HDMI */
45252159d27SMasahiro Yamada		i2c6: i2c@58786000 {
45352159d27SMasahiro Yamada			compatible = "socionext,uniphier-fi2c";
45452159d27SMasahiro Yamada			reg = <0x58786000 0x80>;
45552159d27SMasahiro Yamada			#address-cells = <1>;
45652159d27SMasahiro Yamada			#size-cells = <0>;
45752159d27SMasahiro Yamada			interrupts = <0 26 4>;
4587317a940SMasahiro Yamada			clocks = <&peri_clk 10>;
45952159d27SMasahiro Yamada			clock-frequency = <400000>;
46052159d27SMasahiro Yamada		};
46152159d27SMasahiro Yamada
462cd62214dSMasahiro Yamada		system_bus: system-bus@58c00000 {
463cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-system-bus";
464cd62214dSMasahiro Yamada			status = "disabled";
465cd62214dSMasahiro Yamada			reg = <0x58c00000 0x400>;
466cd62214dSMasahiro Yamada			#address-cells = <2>;
467cd62214dSMasahiro Yamada			#size-cells = <1>;
468cd62214dSMasahiro Yamada			pinctrl-names = "default";
469cd62214dSMasahiro Yamada			pinctrl-0 = <&pinctrl_system_bus>;
470cd62214dSMasahiro Yamada		};
471cd62214dSMasahiro Yamada
472abb6ac25SMasahiro Yamada		smpctrl@59801000 {
473cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-smpctrl";
474cd62214dSMasahiro Yamada			reg = <0x59801000 0x400>;
475cd62214dSMasahiro Yamada		};
476cd62214dSMasahiro Yamada
477cd62214dSMasahiro Yamada		sdctrl@59810000 {
478cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-pxs2-sdctrl",
479cd62214dSMasahiro Yamada				     "simple-mfd", "syscon";
480cd62214dSMasahiro Yamada			reg = <0x59810000 0x800>;
481cd62214dSMasahiro Yamada			u-boot,dm-pre-reloc;
482cd62214dSMasahiro Yamada
483cd62214dSMasahiro Yamada			sd_clk: clock {
484cd62214dSMasahiro Yamada				compatible = "socionext,uniphier-pxs2-sd-clock";
485cd62214dSMasahiro Yamada				#clock-cells = <1>;
486cd62214dSMasahiro Yamada			};
487cd62214dSMasahiro Yamada
488cd62214dSMasahiro Yamada			sd_rst: reset {
489cd62214dSMasahiro Yamada				compatible = "socionext,uniphier-pxs2-sd-reset";
490cd62214dSMasahiro Yamada				#reset-cells = <1>;
491cd62214dSMasahiro Yamada			};
492cd62214dSMasahiro Yamada		};
493cd62214dSMasahiro Yamada
494cd62214dSMasahiro Yamada		perictrl@59820000 {
495cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-pxs2-perictrl",
496cd62214dSMasahiro Yamada				     "simple-mfd", "syscon";
497cd62214dSMasahiro Yamada			reg = <0x59820000 0x200>;
498cd62214dSMasahiro Yamada
499cd62214dSMasahiro Yamada			peri_clk: clock {
500cd62214dSMasahiro Yamada				compatible = "socionext,uniphier-pxs2-peri-clock";
501cd62214dSMasahiro Yamada				#clock-cells = <1>;
502cd62214dSMasahiro Yamada			};
503cd62214dSMasahiro Yamada
504cd62214dSMasahiro Yamada			peri_rst: reset {
505cd62214dSMasahiro Yamada				compatible = "socionext,uniphier-pxs2-peri-reset";
506cd62214dSMasahiro Yamada				#reset-cells = <1>;
507cd62214dSMasahiro Yamada			};
508cd62214dSMasahiro Yamada		};
509cd62214dSMasahiro Yamada
51052159d27SMasahiro Yamada		emmc: sdhc@5a000000 {
51152159d27SMasahiro Yamada			compatible = "socionext,uniphier-sdhc";
51252159d27SMasahiro Yamada			status = "disabled";
51352159d27SMasahiro Yamada			reg = <0x5a000000 0x800>;
51452159d27SMasahiro Yamada			interrupts = <0 78 4>;
51552159d27SMasahiro Yamada			pinctrl-names = "default";
51652159d27SMasahiro Yamada			pinctrl-0 = <&pinctrl_emmc>;
517cd62214dSMasahiro Yamada			clocks = <&sd_clk 1>;
518cd62214dSMasahiro Yamada			reset-names = "host";
519cd62214dSMasahiro Yamada			resets = <&sd_rst 1>;
52052159d27SMasahiro Yamada			bus-width = <8>;
52152159d27SMasahiro Yamada			non-removable;
522cd62214dSMasahiro Yamada			cap-mmc-highspeed;
523cd62214dSMasahiro Yamada			cap-mmc-hw-reset;
524cd62214dSMasahiro Yamada			no-3-3-v;
52552159d27SMasahiro Yamada		};
52652159d27SMasahiro Yamada
52752159d27SMasahiro Yamada		sd: sdhc@5a400000 {
52852159d27SMasahiro Yamada			compatible = "socionext,uniphier-sdhc";
52952159d27SMasahiro Yamada			status = "disabled";
53052159d27SMasahiro Yamada			reg = <0x5a400000 0x800>;
53152159d27SMasahiro Yamada			interrupts = <0 76 4>;
53252159d27SMasahiro Yamada			pinctrl-names = "default", "1.8v";
53352159d27SMasahiro Yamada			pinctrl-0 = <&pinctrl_sd>;
53452159d27SMasahiro Yamada			pinctrl-1 = <&pinctrl_sd_1v8>;
535cd62214dSMasahiro Yamada			clocks = <&sd_clk 0>;
53652159d27SMasahiro Yamada			reset-names = "host";
537cd62214dSMasahiro Yamada			resets = <&sd_rst 0>;
53852159d27SMasahiro Yamada			bus-width = <4>;
539cd62214dSMasahiro Yamada			cap-sd-highspeed;
540cd62214dSMasahiro Yamada			sd-uhs-sdr12;
541cd62214dSMasahiro Yamada			sd-uhs-sdr25;
542cd62214dSMasahiro Yamada			sd-uhs-sdr50;
543cd62214dSMasahiro Yamada		};
544cd62214dSMasahiro Yamada
545cd62214dSMasahiro Yamada		soc-glue@5f800000 {
546cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-pxs2-soc-glue",
547cd62214dSMasahiro Yamada				     "simple-mfd", "syscon";
548cd62214dSMasahiro Yamada			reg = <0x5f800000 0x2000>;
549cd62214dSMasahiro Yamada			u-boot,dm-pre-reloc;
550cd62214dSMasahiro Yamada
551cd62214dSMasahiro Yamada			pinctrl: pinctrl {
552cd62214dSMasahiro Yamada				compatible = "socionext,uniphier-pxs2-pinctrl";
553cd62214dSMasahiro Yamada				u-boot,dm-pre-reloc;
554cd62214dSMasahiro Yamada			};
55552159d27SMasahiro Yamada		};
55652159d27SMasahiro Yamada
55752159d27SMasahiro Yamada		aidet@5fc20000 {
55852159d27SMasahiro Yamada			compatible = "simple-mfd", "syscon";
55952159d27SMasahiro Yamada			reg = <0x5fc20000 0x200>;
56052159d27SMasahiro Yamada		};
56152159d27SMasahiro Yamada
562cd62214dSMasahiro Yamada		timer@60000200 {
563cd62214dSMasahiro Yamada			compatible = "arm,cortex-a9-global-timer";
564cd62214dSMasahiro Yamada			reg = <0x60000200 0x20>;
565cd62214dSMasahiro Yamada			interrupts = <1 11 0xf04>;
566cd62214dSMasahiro Yamada			clocks = <&arm_timer_clk>;
567cd62214dSMasahiro Yamada		};
568cd62214dSMasahiro Yamada
569cd62214dSMasahiro Yamada		timer@60000600 {
570cd62214dSMasahiro Yamada			compatible = "arm,cortex-a9-twd-timer";
571cd62214dSMasahiro Yamada			reg = <0x60000600 0x20>;
572cd62214dSMasahiro Yamada			interrupts = <1 13 0xf04>;
573cd62214dSMasahiro Yamada			clocks = <&arm_timer_clk>;
574cd62214dSMasahiro Yamada		};
575cd62214dSMasahiro Yamada
576cd62214dSMasahiro Yamada		intc: interrupt-controller@60001000 {
577cd62214dSMasahiro Yamada			compatible = "arm,cortex-a9-gic";
578cd62214dSMasahiro Yamada			reg = <0x60001000 0x1000>,
579cd62214dSMasahiro Yamada			      <0x60000100 0x100>;
580cd62214dSMasahiro Yamada			#interrupt-cells = <3>;
581cd62214dSMasahiro Yamada			interrupt-controller;
582cd62214dSMasahiro Yamada		};
583cd62214dSMasahiro Yamada
584cd62214dSMasahiro Yamada		sysctrl@61840000 {
585cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-pxs2-sysctrl",
586cd62214dSMasahiro Yamada				     "simple-mfd", "syscon";
5877317a940SMasahiro Yamada			reg = <0x61840000 0x10000>;
588cd62214dSMasahiro Yamada
589cd62214dSMasahiro Yamada			sys_clk: clock {
590cd62214dSMasahiro Yamada				compatible = "socionext,uniphier-pxs2-clock";
591cd62214dSMasahiro Yamada				#clock-cells = <1>;
592cd62214dSMasahiro Yamada			};
593cd62214dSMasahiro Yamada
594cd62214dSMasahiro Yamada			sys_rst: reset {
595cd62214dSMasahiro Yamada				compatible = "socionext,uniphier-pxs2-reset";
596cd62214dSMasahiro Yamada				#reset-cells = <1>;
597cd62214dSMasahiro Yamada			};
598cd62214dSMasahiro Yamada		};
599cd62214dSMasahiro Yamada
600cd62214dSMasahiro Yamada		usb0: usb@65b00000 {
601cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-pxs2-dwc3";
60252159d27SMasahiro Yamada			status = "disabled";
603cd62214dSMasahiro Yamada			reg = <0x65b00000 0x1000>;
604cd62214dSMasahiro Yamada			#address-cells = <1>;
605cd62214dSMasahiro Yamada			#size-cells = <1>;
606cd62214dSMasahiro Yamada			ranges;
60752159d27SMasahiro Yamada			pinctrl-names = "default";
60852159d27SMasahiro Yamada			pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
609cd62214dSMasahiro Yamada			dwc3@65a00000 {
610cd62214dSMasahiro Yamada				compatible = "snps,dwc3";
611cd62214dSMasahiro Yamada				reg = <0x65a00000 0x10000>;
612cd62214dSMasahiro Yamada				interrupts = <0 134 4>;
613cd62214dSMasahiro Yamada				tx-fifo-resize;
614cd62214dSMasahiro Yamada			};
61552159d27SMasahiro Yamada		};
61652159d27SMasahiro Yamada
617cd62214dSMasahiro Yamada		usb1: usb@65d00000 {
618cd62214dSMasahiro Yamada			compatible = "socionext,uniphier-pxs2-dwc3";
61952159d27SMasahiro Yamada			status = "disabled";
620cd62214dSMasahiro Yamada			reg = <0x65d00000 0x1000>;
621cd62214dSMasahiro Yamada			#address-cells = <1>;
622cd62214dSMasahiro Yamada			#size-cells = <1>;
623cd62214dSMasahiro Yamada			ranges;
62452159d27SMasahiro Yamada			pinctrl-names = "default";
62552159d27SMasahiro Yamada			pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
626cd62214dSMasahiro Yamada			dwc3@65c00000 {
627cd62214dSMasahiro Yamada				compatible = "snps,dwc3";
628cd62214dSMasahiro Yamada				reg = <0x65c00000 0x10000>;
629cd62214dSMasahiro Yamada				interrupts = <0 137 4>;
630cd62214dSMasahiro Yamada				tx-fifo-resize;
63152159d27SMasahiro Yamada			};
63252159d27SMasahiro Yamada		};
63352159d27SMasahiro Yamada
634cd62214dSMasahiro Yamada		nand: nand@68000000 {
6354e7f8de4SMasahiro Yamada			compatible = "socionext,uniphier-denali-nand-v5b";
636cd62214dSMasahiro Yamada			status = "disabled";
637cd62214dSMasahiro Yamada			reg-names = "nand_data", "denali_reg";
638cd62214dSMasahiro Yamada			reg = <0x68000000 0x20>, <0x68100000 0x1000>;
639cd62214dSMasahiro Yamada			interrupts = <0 65 4>;
640cd62214dSMasahiro Yamada			pinctrl-names = "default";
641cd62214dSMasahiro Yamada			pinctrl-0 = <&pinctrl_nand>;
642cd62214dSMasahiro Yamada			clocks = <&sys_clk 2>;
643cd62214dSMasahiro Yamada			nand-ecc-strength = <8>;
644cd62214dSMasahiro Yamada		};
645cd62214dSMasahiro Yamada	};
64652159d27SMasahiro Yamada};
64752159d27SMasahiro Yamada
648cd62214dSMasahiro Yamada/include/ "uniphier-pinctrl.dtsi"
649