Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for UniPhier PH1-sLD3 SoC |
| 3 | * |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 4 | * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 5 | * |
Masahiro Yamada | 13b2ba1 | 2015-06-30 18:27:01 +0900 | [diff] [blame] | 6 | * SPDX-License-Identifier: GPL-2.0+ X11 |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | /include/ "skeleton.dtsi" |
| 10 | |
| 11 | / { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 12 | compatible = "socionext,ph1-sld3"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 13 | |
| 14 | cpus { |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <0>; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 17 | enable-method = "socionext,uniphier-smp"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 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 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 32 | clocks { |
Masahiro Yamada | cc33609 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 33 | refclk: ref { |
| 34 | #clock-cells = <0>; |
| 35 | compatible = "fixed-clock"; |
| 36 | clock-frequency = <24576000>; |
| 37 | }; |
| 38 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 39 | arm_timer_clk: arm_timer_clk { |
| 40 | #clock-cells = <0>; |
| 41 | compatible = "fixed-clock"; |
| 42 | clock-frequency = <50000000>; |
| 43 | }; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 44 | |
| 45 | uart_clk: uart_clk { |
| 46 | #clock-cells = <0>; |
| 47 | compatible = "fixed-clock"; |
| 48 | clock-frequency = <36864000>; |
| 49 | }; |
| 50 | |
| 51 | iobus_clk: iobus_clk { |
| 52 | #clock-cells = <0>; |
| 53 | compatible = "fixed-clock"; |
| 54 | clock-frequency = <100000000>; |
| 55 | }; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 56 | }; |
| 57 | |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 58 | soc { |
| 59 | compatible = "simple-bus"; |
| 60 | #address-cells = <1>; |
| 61 | #size-cells = <1>; |
| 62 | ranges; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 63 | interrupt-parent = <&intc>; |
| 64 | |
| 65 | extbus: extbus { |
| 66 | compatible = "simple-bus"; |
| 67 | #address-cells = <2>; |
| 68 | #size-cells = <1>; |
| 69 | }; |
| 70 | |
| 71 | timer@20000200 { |
| 72 | compatible = "arm,cortex-a9-global-timer"; |
| 73 | reg = <0x20000200 0x20>; |
| 74 | interrupts = <1 11 0x304>; |
| 75 | clocks = <&arm_timer_clk>; |
| 76 | }; |
| 77 | |
| 78 | timer@20000600 { |
| 79 | compatible = "arm,cortex-a9-twd-timer"; |
| 80 | reg = <0x20000600 0x20>; |
| 81 | interrupts = <1 13 0x304>; |
| 82 | clocks = <&arm_timer_clk>; |
| 83 | }; |
| 84 | |
| 85 | intc: interrupt-controller@20001000 { |
| 86 | compatible = "arm,cortex-a9-gic"; |
| 87 | #interrupt-cells = <3>; |
| 88 | interrupt-controller; |
| 89 | reg = <0x20001000 0x1000>, |
| 90 | <0x20000100 0x100>; |
| 91 | }; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 92 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 93 | serial0: serial@54006800 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 94 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 95 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 96 | reg = <0x54006800 0x40>; |
| 97 | interrupts = <0 33 4>; |
| 98 | clocks = <&uart_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 99 | clock-frequency = <36864000>; |
| 100 | }; |
| 101 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 102 | serial1: serial@54006900 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 103 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 104 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 105 | reg = <0x54006900 0x40>; |
| 106 | interrupts = <0 35 4>; |
| 107 | clocks = <&uart_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 108 | clock-frequency = <36864000>; |
| 109 | }; |
| 110 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 111 | serial2: serial@54006a00 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 112 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 113 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 114 | reg = <0x54006a00 0x40>; |
| 115 | interrupts = <0 37 4>; |
| 116 | clocks = <&uart_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 117 | clock-frequency = <36864000>; |
| 118 | }; |
| 119 | |
| 120 | i2c0: i2c@58400000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 121 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 122 | status = "disabled"; |
| 123 | reg = <0x58400000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 124 | #address-cells = <1>; |
| 125 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 126 | interrupts = <0 41 1>; |
| 127 | clocks = <&iobus_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 128 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 129 | }; |
| 130 | |
| 131 | i2c1: i2c@58480000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 132 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 133 | status = "disabled"; |
| 134 | reg = <0x58480000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 135 | #address-cells = <1>; |
| 136 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 137 | interrupts = <0 42 1>; |
| 138 | clocks = <&iobus_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 139 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 140 | }; |
| 141 | |
| 142 | i2c2: i2c@58500000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 143 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 144 | status = "disabled"; |
| 145 | reg = <0x58500000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 146 | #address-cells = <1>; |
| 147 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 148 | interrupts = <0 43 1>; |
| 149 | clocks = <&iobus_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 150 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 151 | }; |
| 152 | |
| 153 | i2c3: i2c@58580000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 154 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 155 | status = "disabled"; |
| 156 | reg = <0x58580000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 157 | #address-cells = <1>; |
| 158 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 159 | interrupts = <0 44 1>; |
| 160 | clocks = <&iobus_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 161 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 162 | }; |
| 163 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 164 | /* chip-internal connection for DMD */ |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 165 | i2c4: i2c@58600000 { |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 166 | compatible = "socionext,uniphier-i2c"; |
| 167 | reg = <0x58600000 0x40>; |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 168 | #address-cells = <1>; |
| 169 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 170 | interrupts = <0 45 1>; |
| 171 | clocks = <&iobus_clk>; |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 172 | clock-frequency = <400000>; |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 173 | }; |
| 174 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 175 | system-bus-controller-misc@59800000 { |
| 176 | compatible = "socionext,uniphier-system-bus-controller-misc", |
| 177 | "syscon"; |
| 178 | reg = <0x59800000 0x2000>; |
| 179 | }; |
| 180 | |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 181 | usb0: usb@5a800100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 182 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 183 | status = "disabled"; |
| 184 | reg = <0x5a800100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 185 | interrupts = <0 80 4>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 186 | }; |
| 187 | |
| 188 | usb1: usb@5a810100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 189 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 190 | status = "disabled"; |
| 191 | reg = <0x5a810100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 192 | interrupts = <0 81 4>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 193 | }; |
| 194 | |
| 195 | usb2: usb@5a820100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 196 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 197 | status = "disabled"; |
| 198 | reg = <0x5a820100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 199 | interrupts = <0 82 4>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 200 | }; |
| 201 | |
| 202 | usb3: usb@5a830100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 203 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 204 | status = "disabled"; |
| 205 | reg = <0x5a830100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 206 | interrupts = <0 83 4>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 207 | }; |
| 208 | |
Masahiro Yamada | 233812a | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 209 | sysctrl: sysctrl@f1840000 { |
| 210 | compatible = "socionext,ph1-sld3-sysctrl"; |
| 211 | reg = <0xf1840000 0x4000>; |
| 212 | #clock-cells = <1>; |
| 213 | clock-names = "ref"; |
| 214 | clocks = <&refclk>; |
| 215 | }; |
| 216 | |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 217 | nand: nand@f8000000 { |
| 218 | compatible = "denali,denali-nand-dt"; |
| 219 | reg = <0xf8000000 0x20>, <0xf8100000 0x1000>; |
| 220 | reg-names = "nand_data", "denali_reg"; |
| 221 | }; |
| 222 | }; |
| 223 | }; |