blob: 00491062fe74ea99b34530b4e791871128050bbe [file] [log] [blame]
Masahiro Yamada10ee0a62015-08-28 22:33:14 +09001/*
2 * Device Tree Source for UniPhier PH1-Pro5 SoC
3 *
4 * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0+ X11
7 */
8
Masahiro Yamada8f062432015-12-16 10:54:07 +09009/include/ "uniphier-common32.dtsi"
Masahiro Yamada10ee0a62015-08-28 22:33:14 +090010
11/ {
12 compatible = "socionext,ph1-pro5";
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>;
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090023 next-level-cache = <&l2>;
Masahiro Yamada10ee0a62015-08-28 22:33:14 +090024 };
25
26 cpu@1 {
27 device_type = "cpu";
28 compatible = "arm,cortex-a9";
29 reg = <1>;
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090030 next-level-cache = <&l2>;
Masahiro Yamada10ee0a62015-08-28 22:33:14 +090031 };
32 };
33
34 clocks {
35 arm_timer_clk: arm_timer_clk {
36 #clock-cells = <0>;
37 compatible = "fixed-clock";
38 clock-frequency = <50000000>;
39 };
40
41 uart_clk: uart_clk {
42 #clock-cells = <0>;
43 compatible = "fixed-clock";
44 clock-frequency = <73728000>;
45 };
46
47 i2c_clk: i2c_clk {
48 #clock-cells = <0>;
49 compatible = "fixed-clock";
50 clock-frequency = <50000000>;
51 };
52 };
Masahiro Yamada8f062432015-12-16 10:54:07 +090053};
Masahiro Yamada10ee0a62015-08-28 22:33:14 +090054
Masahiro Yamada8f062432015-12-16 10:54:07 +090055&soc {
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090056 l2: l2-cache@500c0000 {
57 compatible = "socionext,uniphier-system-cache";
58 reg = <0x500c0000 0x2000>, <0x503c0100 0x8>, <0x506c0000 0x400>;
59 interrupts = <0 190 4>, <0 191 4>;
60 cache-unified;
61 cache-size = <(2 * 1024 * 1024)>;
62 cache-sets = <512>;
63 cache-line-size = <128>;
64 cache-level = <2>;
65 next-level-cache = <&l3>;
66 };
67
68 l3: l3-cache@500c8000 {
69 compatible = "socionext,uniphier-system-cache";
70 reg = <0x500c8000 0x2000>, <0x503c8100 0x8>, <0x506c8000 0x400>;
71 interrupts = <0 174 4>, <0 175 4>;
72 cache-unified;
73 cache-size = <(2 * 1024 * 1024)>;
74 cache-sets = <512>;
75 cache-line-size = <256>;
76 cache-level = <3>;
77 };
78
Masahiro Yamada8f062432015-12-16 10:54:07 +090079 i2c0: i2c@58780000 {
80 compatible = "socionext,uniphier-fi2c";
81 status = "disabled";
82 reg = <0x58780000 0x80>;
Masahiro Yamada10ee0a62015-08-28 22:33:14 +090083 #address-cells = <1>;
Masahiro Yamada8f062432015-12-16 10:54:07 +090084 #size-cells = <0>;
85 interrupts = <0 41 4>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_i2c0>;
88 clocks = <&i2c_clk>;
89 clock-frequency = <100000>;
90 };
Masahiro Yamada10ee0a62015-08-28 22:33:14 +090091
Masahiro Yamada8f062432015-12-16 10:54:07 +090092 i2c1: i2c@58781000 {
93 compatible = "socionext,uniphier-fi2c";
94 status = "disabled";
95 reg = <0x58781000 0x80>;
96 #address-cells = <1>;
97 #size-cells = <0>;
98 interrupts = <0 42 4>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&pinctrl_i2c1>;
101 clocks = <&i2c_clk>;
102 clock-frequency = <100000>;
103 };
Masahiro Yamada10ee0a62015-08-28 22:33:14 +0900104
Masahiro Yamada8f062432015-12-16 10:54:07 +0900105 i2c2: i2c@58782000 {
106 compatible = "socionext,uniphier-fi2c";
107 status = "disabled";
108 reg = <0x58782000 0x80>;
109 #address-cells = <1>;
110 #size-cells = <0>;
111 interrupts = <0 43 4>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_i2c2>;
114 clocks = <&i2c_clk>;
115 clock-frequency = <100000>;
116 };
Masahiro Yamada10ee0a62015-08-28 22:33:14 +0900117
Masahiro Yamada8f062432015-12-16 10:54:07 +0900118 i2c3: i2c@58783000 {
119 compatible = "socionext,uniphier-fi2c";
120 status = "disabled";
121 reg = <0x58783000 0x80>;
122 #address-cells = <1>;
123 #size-cells = <0>;
124 interrupts = <0 44 4>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&pinctrl_i2c3>;
127 clocks = <&i2c_clk>;
128 clock-frequency = <100000>;
129 };
Masahiro Yamada10ee0a62015-08-28 22:33:14 +0900130
Masahiro Yamada8f062432015-12-16 10:54:07 +0900131 /* i2c4 does not exist */
Masahiro Yamada10ee0a62015-08-28 22:33:14 +0900132
Masahiro Yamada8f062432015-12-16 10:54:07 +0900133 /* chip-internal connection for DMD */
134 i2c5: i2c@58785000 {
135 compatible = "socionext,uniphier-fi2c";
136 reg = <0x58785000 0x80>;
137 #address-cells = <1>;
138 #size-cells = <0>;
139 interrupts = <0 25 4>;
140 clocks = <&i2c_clk>;
141 clock-frequency = <400000>;
142 };
Masahiro Yamada10ee0a62015-08-28 22:33:14 +0900143
Masahiro Yamada8f062432015-12-16 10:54:07 +0900144 /* chip-internal connection for HDMI */
145 i2c6: i2c@58786000 {
146 compatible = "socionext,uniphier-fi2c";
147 reg = <0x58786000 0x80>;
148 #address-cells = <1>;
149 #size-cells = <0>;
150 interrupts = <0 26 4>;
151 clocks = <&i2c_clk>;
152 clock-frequency = <400000>;
153 };
Masahiro Yamada10ee0a62015-08-28 22:33:14 +0900154
Masahiro Yamada8f062432015-12-16 10:54:07 +0900155 usb0: usb@65a00000 {
156 compatible = "socionext,uniphier-xhci", "generic-xhci";
157 status = "disabled";
158 reg = <0x65a00000 0x100>;
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +0900159 interrupts = <0 134 4>;
Masahiro Yamada8f062432015-12-16 10:54:07 +0900160 pinctrl-names = "default";
161 pinctrl-0 = <&pinctrl_usb0>;
Masahiro Yamada8f062432015-12-16 10:54:07 +0900162 };
Masahiro Yamada10ee0a62015-08-28 22:33:14 +0900163
Masahiro Yamada8f062432015-12-16 10:54:07 +0900164 usb1: usb@65c00000 {
165 compatible = "socionext,uniphier-xhci", "generic-xhci";
166 status = "disabled";
167 reg = <0x65c00000 0x100>;
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +0900168 interrupts = <0 137 4>;
Masahiro Yamada8f062432015-12-16 10:54:07 +0900169 pinctrl-names = "default";
170 pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb2>;
Masahiro Yamada10ee0a62015-08-28 22:33:14 +0900171 };
172};
173
Masahiro Yamada8f062432015-12-16 10:54:07 +0900174&serial0 {
175 clock-frequency = <73728000>;
176};
177
178&serial1 {
179 clock-frequency = <73728000>;
180};
181
182&serial2 {
183 clock-frequency = <73728000>;
184};
185
186&serial3 {
187 clock-frequency = <73728000>;
188};
189
190&pinctrl {
191 compatible = "socionext,ph1-pro5-pinctrl", "syscon";
192};