Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 2 | * Device Tree Source for UniPhier sLD8 SoC |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 3 | * |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 4 | * Copyright (C) 2015-2016 Socionext Inc. |
| 5 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 6 | * |
Masahiro Yamada | 31a1788 | 2017-06-22 16:46:40 +0900 | [diff] [blame] | 7 | * SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 8 | */ |
| 9 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 10 | #include <dt-bindings/gpio/uniphier-gpio.h> |
| 11 | |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 12 | / { |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 13 | compatible = "socionext,uniphier-sld8"; |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 14 | #address-cells = <1>; |
| 15 | #size-cells = <1>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 16 | |
| 17 | cpus { |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 18 | #address-cells = <1>; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 19 | #size-cells = <0>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 20 | |
| 21 | cpu@0 { |
| 22 | device_type = "cpu"; |
| 23 | compatible = "arm,cortex-a9"; |
| 24 | reg = <0>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 25 | enable-method = "psci"; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 26 | next-level-cache = <&l2>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 27 | }; |
| 28 | }; |
| 29 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 30 | psci { |
| 31 | compatible = "arm,psci-0.2"; |
| 32 | method = "smc"; |
| 33 | }; |
| 34 | |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 35 | clocks { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 36 | refclk: ref { |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 37 | compatible = "fixed-clock"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 38 | #clock-cells = <0>; |
| 39 | clock-frequency = <25000000>; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 40 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 41 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 42 | arm_timer_clk: arm-timer { |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 43 | #clock-cells = <0>; |
| 44 | compatible = "fixed-clock"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 45 | clock-frequency = <50000000>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 46 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 47 | }; |
| 48 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 49 | soc { |
| 50 | compatible = "simple-bus"; |
| 51 | #address-cells = <1>; |
| 52 | #size-cells = <1>; |
| 53 | ranges; |
| 54 | interrupt-parent = <&intc>; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 55 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 56 | l2: l2-cache@500c0000 { |
| 57 | compatible = "socionext,uniphier-system-cache"; |
| 58 | reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, |
| 59 | <0x506c0000 0x400>; |
| 60 | interrupts = <0 174 4>, <0 175 4>; |
| 61 | cache-unified; |
| 62 | cache-size = <(256 * 1024)>; |
| 63 | cache-sets = <256>; |
| 64 | cache-line-size = <128>; |
| 65 | cache-level = <2>; |
| 66 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 67 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 68 | serial0: serial@54006800 { |
| 69 | compatible = "socionext,uniphier-uart"; |
| 70 | status = "disabled"; |
| 71 | reg = <0x54006800 0x40>; |
| 72 | interrupts = <0 33 4>; |
| 73 | pinctrl-names = "default"; |
| 74 | pinctrl-0 = <&pinctrl_uart0>; |
| 75 | clocks = <&peri_clk 0>; |
| 76 | clock-frequency = <80000000>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 77 | resets = <&peri_rst 0>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 78 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 79 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 80 | serial1: serial@54006900 { |
| 81 | compatible = "socionext,uniphier-uart"; |
| 82 | status = "disabled"; |
| 83 | reg = <0x54006900 0x40>; |
| 84 | interrupts = <0 35 4>; |
| 85 | pinctrl-names = "default"; |
| 86 | pinctrl-0 = <&pinctrl_uart1>; |
| 87 | clocks = <&peri_clk 1>; |
| 88 | clock-frequency = <80000000>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 89 | resets = <&peri_rst 1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 90 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 91 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 92 | serial2: serial@54006a00 { |
| 93 | compatible = "socionext,uniphier-uart"; |
| 94 | status = "disabled"; |
| 95 | reg = <0x54006a00 0x40>; |
| 96 | interrupts = <0 37 4>; |
| 97 | pinctrl-names = "default"; |
| 98 | pinctrl-0 = <&pinctrl_uart2>; |
| 99 | clocks = <&peri_clk 2>; |
| 100 | clock-frequency = <80000000>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 101 | resets = <&peri_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 102 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 103 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 104 | serial3: serial@54006b00 { |
| 105 | compatible = "socionext,uniphier-uart"; |
| 106 | status = "disabled"; |
| 107 | reg = <0x54006b00 0x40>; |
| 108 | interrupts = <0 29 4>; |
| 109 | pinctrl-names = "default"; |
| 110 | pinctrl-0 = <&pinctrl_uart3>; |
| 111 | clocks = <&peri_clk 3>; |
| 112 | clock-frequency = <80000000>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 113 | resets = <&peri_rst 3>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 114 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 115 | |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 116 | gpio: gpio@55000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 117 | compatible = "socionext,uniphier-gpio"; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 118 | reg = <0x55000000 0x200>; |
| 119 | interrupt-parent = <&aidet>; |
| 120 | interrupt-controller; |
| 121 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 122 | gpio-controller; |
| 123 | #gpio-cells = <2>; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 124 | gpio-ranges = <&pinctrl 0 0 0>, |
| 125 | <&pinctrl 104 0 0>, |
| 126 | <&pinctrl 112 0 0>; |
| 127 | gpio-ranges-group-names = "gpio_range0", |
| 128 | "gpio_range1", |
| 129 | "gpio_range2"; |
| 130 | ngpios = <136>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 131 | socionext,interrupt-ranges = <0 48 13>, <14 62 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 132 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 133 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 134 | i2c0: i2c@58400000 { |
| 135 | compatible = "socionext,uniphier-i2c"; |
| 136 | status = "disabled"; |
| 137 | reg = <0x58400000 0x40>; |
| 138 | #address-cells = <1>; |
| 139 | #size-cells = <0>; |
| 140 | interrupts = <0 41 1>; |
| 141 | pinctrl-names = "default"; |
| 142 | pinctrl-0 = <&pinctrl_i2c0>; |
| 143 | clocks = <&peri_clk 4>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 144 | resets = <&peri_rst 4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 145 | clock-frequency = <100000>; |
| 146 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 147 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 148 | i2c1: i2c@58480000 { |
| 149 | compatible = "socionext,uniphier-i2c"; |
| 150 | status = "disabled"; |
| 151 | reg = <0x58480000 0x40>; |
| 152 | #address-cells = <1>; |
| 153 | #size-cells = <0>; |
| 154 | interrupts = <0 42 1>; |
| 155 | pinctrl-names = "default"; |
| 156 | pinctrl-0 = <&pinctrl_i2c1>; |
| 157 | clocks = <&peri_clk 5>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 158 | resets = <&peri_rst 5>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 159 | clock-frequency = <100000>; |
| 160 | }; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 161 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 162 | /* chip-internal connection for DMD */ |
| 163 | i2c2: i2c@58500000 { |
| 164 | compatible = "socionext,uniphier-i2c"; |
| 165 | reg = <0x58500000 0x40>; |
| 166 | #address-cells = <1>; |
| 167 | #size-cells = <0>; |
| 168 | interrupts = <0 43 1>; |
| 169 | pinctrl-names = "default"; |
| 170 | pinctrl-0 = <&pinctrl_i2c2>; |
| 171 | clocks = <&peri_clk 6>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 172 | resets = <&peri_rst 6>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 173 | clock-frequency = <400000>; |
| 174 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 175 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 176 | i2c3: i2c@58580000 { |
| 177 | compatible = "socionext,uniphier-i2c"; |
| 178 | status = "disabled"; |
| 179 | reg = <0x58580000 0x40>; |
| 180 | #address-cells = <1>; |
| 181 | #size-cells = <0>; |
| 182 | interrupts = <0 44 1>; |
| 183 | pinctrl-names = "default"; |
| 184 | pinctrl-0 = <&pinctrl_i2c3>; |
| 185 | clocks = <&peri_clk 7>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 186 | resets = <&peri_rst 7>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 187 | clock-frequency = <100000>; |
| 188 | }; |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 189 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 190 | system_bus: system-bus@58c00000 { |
| 191 | compatible = "socionext,uniphier-system-bus"; |
| 192 | status = "disabled"; |
| 193 | reg = <0x58c00000 0x400>; |
| 194 | #address-cells = <2>; |
| 195 | #size-cells = <1>; |
| 196 | pinctrl-names = "default"; |
| 197 | pinctrl-0 = <&pinctrl_system_bus>; |
| 198 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 199 | |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 200 | smpctrl@59801000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 201 | compatible = "socionext,uniphier-smpctrl"; |
| 202 | reg = <0x59801000 0x400>; |
| 203 | }; |
Masahiro Yamada | 224e2f7 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 204 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 205 | mioctrl@59810000 { |
| 206 | compatible = "socionext,uniphier-sld8-mioctrl", |
| 207 | "simple-mfd", "syscon"; |
| 208 | reg = <0x59810000 0x800>; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 209 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 210 | mio_clk: clock { |
| 211 | compatible = "socionext,uniphier-sld8-mio-clock"; |
| 212 | #clock-cells = <1>; |
| 213 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 214 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 215 | mio_rst: reset { |
| 216 | compatible = "socionext,uniphier-sld8-mio-reset"; |
| 217 | #reset-cells = <1>; |
| 218 | }; |
| 219 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 220 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 221 | perictrl@59820000 { |
| 222 | compatible = "socionext,uniphier-sld8-perictrl", |
| 223 | "simple-mfd", "syscon"; |
| 224 | reg = <0x59820000 0x200>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 225 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 226 | peri_clk: clock { |
| 227 | compatible = "socionext,uniphier-sld8-peri-clock"; |
| 228 | #clock-cells = <1>; |
| 229 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 230 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 231 | peri_rst: reset { |
| 232 | compatible = "socionext,uniphier-sld8-peri-reset"; |
| 233 | #reset-cells = <1>; |
| 234 | }; |
| 235 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 236 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 237 | sd: sdhc@5a400000 { |
| 238 | compatible = "socionext,uniphier-sdhc"; |
| 239 | status = "disabled"; |
| 240 | reg = <0x5a400000 0x200>; |
| 241 | interrupts = <0 76 4>; |
| 242 | pinctrl-names = "default", "1.8v"; |
| 243 | pinctrl-0 = <&pinctrl_sd>; |
| 244 | pinctrl-1 = <&pinctrl_sd_1v8>; |
| 245 | clocks = <&mio_clk 0>; |
| 246 | reset-names = "host", "bridge"; |
| 247 | resets = <&mio_rst 0>, <&mio_rst 3>; |
| 248 | bus-width = <4>; |
| 249 | cap-sd-highspeed; |
| 250 | sd-uhs-sdr12; |
| 251 | sd-uhs-sdr25; |
| 252 | sd-uhs-sdr50; |
| 253 | }; |
Masahiro Yamada | 1d5df7b | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 254 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 255 | emmc: sdhc@5a500000 { |
| 256 | compatible = "socionext,uniphier-sdhc"; |
| 257 | status = "disabled"; |
| 258 | reg = <0x5a500000 0x200>; |
| 259 | interrupts = <0 78 4>; |
| 260 | pinctrl-names = "default", "1.8v"; |
| 261 | pinctrl-0 = <&pinctrl_emmc>; |
| 262 | pinctrl-1 = <&pinctrl_emmc_1v8>; |
| 263 | clocks = <&mio_clk 1>; |
| 264 | reset-names = "host", "bridge"; |
| 265 | resets = <&mio_rst 1>, <&mio_rst 4>; |
| 266 | bus-width = <8>; |
| 267 | non-removable; |
| 268 | cap-mmc-highspeed; |
| 269 | cap-mmc-hw-reset; |
| 270 | }; |
Masahiro Yamada | 8095183 | 2016-02-02 21:11:35 +0900 | [diff] [blame] | 271 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 272 | usb0: usb@5a800100 { |
| 273 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 274 | status = "disabled"; |
| 275 | reg = <0x5a800100 0x100>; |
| 276 | interrupts = <0 80 4>; |
| 277 | pinctrl-names = "default"; |
| 278 | pinctrl-0 = <&pinctrl_usb0>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 279 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>, |
| 280 | <&mio_clk 12>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 281 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, |
| 282 | <&mio_rst 12>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame^] | 283 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 284 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 285 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 286 | usb1: usb@5a810100 { |
| 287 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 288 | status = "disabled"; |
| 289 | reg = <0x5a810100 0x100>; |
| 290 | interrupts = <0 81 4>; |
| 291 | pinctrl-names = "default"; |
| 292 | pinctrl-0 = <&pinctrl_usb1>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 293 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>, |
| 294 | <&mio_clk 13>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 295 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, |
| 296 | <&mio_rst 13>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame^] | 297 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 298 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 299 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 300 | usb2: usb@5a820100 { |
| 301 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 302 | status = "disabled"; |
| 303 | reg = <0x5a820100 0x100>; |
| 304 | interrupts = <0 82 4>; |
| 305 | pinctrl-names = "default"; |
| 306 | pinctrl-0 = <&pinctrl_usb2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 307 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>, |
| 308 | <&mio_clk 14>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 309 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>, |
| 310 | <&mio_rst 14>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame^] | 311 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 312 | }; |
| 313 | |
| 314 | soc-glue@5f800000 { |
| 315 | compatible = "socionext,uniphier-sld8-soc-glue", |
| 316 | "simple-mfd", "syscon"; |
| 317 | reg = <0x5f800000 0x2000>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 318 | |
| 319 | pinctrl: pinctrl { |
| 320 | compatible = "socionext,uniphier-sld8-pinctrl"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 321 | }; |
| 322 | }; |
| 323 | |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame^] | 324 | soc-glue@5f900000 { |
| 325 | compatible = "socionext,uniphier-sld8-soc-glue-debug", |
| 326 | "simple-mfd"; |
| 327 | #address-cells = <1>; |
| 328 | #size-cells = <1>; |
| 329 | ranges = <0 0x5f900000 0x2000>; |
| 330 | |
| 331 | efuse@100 { |
| 332 | compatible = "socionext,uniphier-efuse"; |
| 333 | reg = <0x100 0x28>; |
| 334 | }; |
| 335 | |
| 336 | efuse@200 { |
| 337 | compatible = "socionext,uniphier-efuse"; |
| 338 | reg = <0x200 0x14>; |
| 339 | }; |
| 340 | }; |
| 341 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 342 | timer@60000200 { |
| 343 | compatible = "arm,cortex-a9-global-timer"; |
| 344 | reg = <0x60000200 0x20>; |
| 345 | interrupts = <1 11 0x104>; |
| 346 | clocks = <&arm_timer_clk>; |
| 347 | }; |
| 348 | |
| 349 | timer@60000600 { |
| 350 | compatible = "arm,cortex-a9-twd-timer"; |
| 351 | reg = <0x60000600 0x20>; |
| 352 | interrupts = <1 13 0x104>; |
| 353 | clocks = <&arm_timer_clk>; |
| 354 | }; |
| 355 | |
| 356 | intc: interrupt-controller@60001000 { |
| 357 | compatible = "arm,cortex-a9-gic"; |
| 358 | reg = <0x60001000 0x1000>, |
| 359 | <0x60000100 0x100>; |
| 360 | #interrupt-cells = <3>; |
| 361 | interrupt-controller; |
| 362 | }; |
| 363 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 364 | aidet: aidet@61830000 { |
| 365 | compatible = "socionext,uniphier-sld8-aidet"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 366 | reg = <0x61830000 0x200>; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 367 | interrupt-controller; |
| 368 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 369 | }; |
| 370 | |
| 371 | sysctrl@61840000 { |
| 372 | compatible = "socionext,uniphier-sld8-sysctrl", |
| 373 | "simple-mfd", "syscon"; |
| 374 | reg = <0x61840000 0x10000>; |
| 375 | |
| 376 | sys_clk: clock { |
| 377 | compatible = "socionext,uniphier-sld8-clock"; |
| 378 | #clock-cells = <1>; |
| 379 | }; |
| 380 | |
| 381 | sys_rst: reset { |
| 382 | compatible = "socionext,uniphier-sld8-reset"; |
| 383 | #reset-cells = <1>; |
| 384 | }; |
| 385 | }; |
| 386 | |
| 387 | nand: nand@68000000 { |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 388 | compatible = "socionext,uniphier-denali-nand-v5a"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 389 | status = "disabled"; |
| 390 | reg-names = "nand_data", "denali_reg"; |
| 391 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
| 392 | interrupts = <0 65 4>; |
| 393 | pinctrl-names = "default"; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 394 | pinctrl-0 = <&pinctrl_nand2cs>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 395 | clocks = <&sys_clk 2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 396 | resets = <&sys_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 397 | }; |
| 398 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 399 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 400 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 401 | #include "uniphier-pinctrl.dtsi" |