blob: cb7df8d46093f21f7ca3e448ce7f8887ad5dd998 [file] [log] [blame]
Masahiro Yamadaedbecf52015-08-28 22:33:15 +09001/*
2 * Device Tree Source for UniPhier ProXstream2 SoC
3 *
4 * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0+ X11
7 */
8
Masahiro Yamada3de725b2015-12-16 10:54:07 +09009/include/ "uniphier-common32.dtsi"
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090010
11/ {
12 compatible = "socionext,proxstream2";
13
14 cpus {
15 #address-cells = <1>;
16 #size-cells = <0>;
17 enable-method = "socionext,uniphier-smp";
18
19 cpu@0 {
20 device_type = "cpu";
21 compatible = "arm,cortex-a9";
22 reg = <0>;
23 };
24
25 cpu@1 {
26 device_type = "cpu";
27 compatible = "arm,cortex-a9";
28 reg = <1>;
29 };
30
31 cpu@2 {
32 device_type = "cpu";
33 compatible = "arm,cortex-a9";
34 reg = <2>;
35 };
36
37 cpu@3 {
38 device_type = "cpu";
39 compatible = "arm,cortex-a9";
40 reg = <3>;
41 };
42 };
43
44 clocks {
45 arm_timer_clk: arm_timer_clk {
46 #clock-cells = <0>;
47 compatible = "fixed-clock";
48 clock-frequency = <50000000>;
49 };
50
51 uart_clk: uart_clk {
52 #clock-cells = <0>;
53 compatible = "fixed-clock";
54 clock-frequency = <88900000>;
55 };
56
57 i2c_clk: i2c_clk {
58 #clock-cells = <0>;
59 compatible = "fixed-clock";
60 clock-frequency = <50000000>;
61 };
62 };
Masahiro Yamada3de725b2015-12-16 10:54:07 +090063};
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090064
Masahiro Yamada3de725b2015-12-16 10:54:07 +090065&soc {
66 i2c0: i2c@58780000 {
67 compatible = "socionext,uniphier-fi2c";
68 status = "disabled";
69 reg = <0x58780000 0x80>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090070 #address-cells = <1>;
Masahiro Yamada3de725b2015-12-16 10:54:07 +090071 #size-cells = <0>;
72 interrupts = <0 41 4>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&pinctrl_i2c0>;
75 clocks = <&i2c_clk>;
76 clock-frequency = <100000>;
77 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090078
Masahiro Yamada3de725b2015-12-16 10:54:07 +090079 i2c1: i2c@58781000 {
80 compatible = "socionext,uniphier-fi2c";
81 status = "disabled";
82 reg = <0x58781000 0x80>;
83 #address-cells = <1>;
84 #size-cells = <0>;
85 interrupts = <0 42 4>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_i2c1>;
88 clocks = <&i2c_clk>;
89 clock-frequency = <100000>;
90 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090091
Masahiro Yamada3de725b2015-12-16 10:54:07 +090092 i2c2: i2c@58782000 {
93 compatible = "socionext,uniphier-fi2c";
94 status = "disabled";
95 reg = <0x58782000 0x80>;
96 #address-cells = <1>;
97 #size-cells = <0>;
98 pinctrl-names = "default";
99 pinctrl-0 = <&pinctrl_i2c2>;
100 interrupts = <0 43 4>;
101 clocks = <&i2c_clk>;
102 clock-frequency = <100000>;
103 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900104
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900105 i2c3: i2c@58783000 {
106 compatible = "socionext,uniphier-fi2c";
107 status = "disabled";
108 reg = <0x58783000 0x80>;
109 #address-cells = <1>;
110 #size-cells = <0>;
111 interrupts = <0 44 4>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_i2c3>;
114 clocks = <&i2c_clk>;
115 clock-frequency = <100000>;
116 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900117
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900118 /* chip-internal connection for DMD */
119 i2c4: i2c@58784000 {
120 compatible = "socionext,uniphier-fi2c";
121 reg = <0x58784000 0x80>;
122 #address-cells = <1>;
123 #size-cells = <0>;
124 interrupts = <0 45 4>;
125 clocks = <&i2c_clk>;
126 clock-frequency = <400000>;
127 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900128
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900129 /* chip-internal connection for STM */
130 i2c5: i2c@58785000 {
131 compatible = "socionext,uniphier-fi2c";
132 reg = <0x58785000 0x80>;
133 #address-cells = <1>;
134 #size-cells = <0>;
135 interrupts = <0 25 4>;
136 clocks = <&i2c_clk>;
137 clock-frequency = <400000>;
138 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900139
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900140 /* chip-internal connection for HDMI */
141 i2c6: i2c@58786000 {
142 compatible = "socionext,uniphier-fi2c";
143 reg = <0x58786000 0x80>;
144 #address-cells = <1>;
145 #size-cells = <0>;
146 interrupts = <0 26 4>;
147 clocks = <&i2c_clk>;
148 clock-frequency = <400000>;
149 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900150
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900151 usb0: usb@65a00000 {
152 compatible = "socionext,uniphier-xhci", "generic-xhci";
153 status = "disabled";
154 reg = <0x65a00000 0x100>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
157 interrupts = <0 134 4>;
158 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900159
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900160 usb1: usb@65c00000 {
161 compatible = "socionext,uniphier-xhci", "generic-xhci";
162 status = "disabled";
163 reg = <0x65c00000 0x100>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
166 interrupts = <0 137 4>;
167 };
168};
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900169
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900170&serial0 {
171 clock-frequency = <88900000>;
172};
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900173
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900174&serial1 {
175 clock-frequency = <88900000>;
176};
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +0900177
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900178&serial2 {
179 clock-frequency = <88900000>;
180};
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +0900181
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900182&serial3 {
183 clock-frequency = <88900000>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900184};
185
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900186&pinctrl {
187 compatible = "socionext,proxstream2-pinctrl", "syscon";
188};