blob: 13d6a74cb2d20b1813be74ad7b6befcd9588e2f9 [file] [log] [blame]
Masahiro Yamada53f6ec62014-11-26 18:33:59 +09001/*
2 * Device Tree Source for UniPhier PH1-LD4 SoC
3 *
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +09004 * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada53f6ec62014-11-26 18:33:59 +09005 *
Masahiro Yamada7bfb0a22015-06-30 18:27:01 +09006 * SPDX-License-Identifier: GPL-2.0+ X11
Masahiro Yamada53f6ec62014-11-26 18:33:59 +09007 */
8
Masahiro Yamada3de725b2015-12-16 10:54:07 +09009/include/ "uniphier-common32.dtsi"
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090010
11/ {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +090012 compatible = "socionext,ph1-ld4";
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090013
14 cpus {
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090015 #address-cells = <1>;
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090016 #size-cells = <0>;
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090017
18 cpu@0 {
19 device_type = "cpu";
20 compatible = "arm,cortex-a9";
21 reg = <0>;
22 };
23 };
24
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090025 clocks {
26 arm_timer_clk: arm_timer_clk {
27 #clock-cells = <0>;
28 compatible = "fixed-clock";
29 clock-frequency = <50000000>;
30 };
Masahiro Yamada37649af2015-08-28 22:33:13 +090031
32 uart_clk: uart_clk {
33 #clock-cells = <0>;
34 compatible = "fixed-clock";
35 clock-frequency = <36864000>;
36 };
37
38 iobus_clk: iobus_clk {
39 #clock-cells = <0>;
40 compatible = "fixed-clock";
41 clock-frequency = <100000000>;
42 };
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090043 };
Masahiro Yamada3de725b2015-12-16 10:54:07 +090044};
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090045
Masahiro Yamada3de725b2015-12-16 10:54:07 +090046&soc {
47 i2c0: i2c@58400000 {
48 compatible = "socionext,uniphier-i2c";
49 status = "disabled";
50 reg = <0x58400000 0x40>;
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090051 #address-cells = <1>;
Masahiro Yamada3de725b2015-12-16 10:54:07 +090052 #size-cells = <0>;
53 interrupts = <0 41 1>;
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_i2c0>;
56 clocks = <&iobus_clk>;
57 clock-frequency = <100000>;
58 };
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090059
Masahiro Yamada3de725b2015-12-16 10:54:07 +090060 i2c1: i2c@58480000 {
61 compatible = "socionext,uniphier-i2c";
62 status = "disabled";
63 reg = <0x58480000 0x40>;
64 #address-cells = <1>;
65 #size-cells = <0>;
66 interrupts = <0 42 1>;
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_i2c1>;
69 clocks = <&iobus_clk>;
70 clock-frequency = <100000>;
71 };
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090072
Masahiro Yamada3de725b2015-12-16 10:54:07 +090073 /* chip-internal connection for DMD */
74 i2c2: i2c@58500000 {
75 compatible = "socionext,uniphier-i2c";
76 reg = <0x58500000 0x40>;
77 #address-cells = <1>;
78 #size-cells = <0>;
79 interrupts = <0 43 1>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&pinctrl_i2c2>;
82 clocks = <&iobus_clk>;
83 clock-frequency = <400000>;
84 };
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090085
Masahiro Yamada3de725b2015-12-16 10:54:07 +090086 i2c3: i2c@58580000 {
87 compatible = "socionext,uniphier-i2c";
88 status = "disabled";
89 reg = <0x58580000 0x40>;
90 #address-cells = <1>;
91 #size-cells = <0>;
92 interrupts = <0 44 1>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_i2c3>;
95 clocks = <&iobus_clk>;
96 clock-frequency = <100000>;
97 };
Masahiro Yamada9a724622014-11-26 18:34:01 +090098
Masahiro Yamada3de725b2015-12-16 10:54:07 +090099 usb0: usb@5a800100 {
100 compatible = "socionext,uniphier-ehci", "generic-ehci";
101 status = "disabled";
102 reg = <0x5a800100 0x100>;
103 interrupts = <0 80 4>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&pinctrl_usb0>;
106 };
Masahiro Yamada9a724622014-11-26 18:34:01 +0900107
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900108 usb1: usb@5a810100 {
109 compatible = "socionext,uniphier-ehci", "generic-ehci";
110 status = "disabled";
111 reg = <0x5a810100 0x100>;
112 interrupts = <0 81 4>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&pinctrl_usb1>;
115 };
Masahiro Yamada37649af2015-08-28 22:33:13 +0900116
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900117 usb2: usb@5a820100 {
118 compatible = "socionext,uniphier-ehci", "generic-ehci";
119 status = "disabled";
120 reg = <0x5a820100 0x100>;
121 interrupts = <0 82 4>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&pinctrl_usb2>;
124 };
125};
Masahiro Yamadaff7bf562014-12-06 00:03:23 +0900126
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900127&serial0 {
128 clock-frequency = <36864000>;
129};
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +0900130
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900131&serial1 {
132 clock-frequency = <36864000>;
133};
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +0900134
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900135&serial2 {
136 clock-frequency = <36864000>;
137};
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +0900138
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900139&serial3 {
140 interrupts = <0 29 4>;
141 clock-frequency = <36864000>;
Masahiro Yamada53f6ec62014-11-26 18:33:59 +0900142};
Masahiro Yamada37649af2015-08-28 22:33:13 +0900143
Masahiro Yamada3de725b2015-12-16 10:54:07 +0900144&pinctrl {
145 compatible = "socionext,ph1-ld4-pinctrl", "syscon";
146};