Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR MIT |
| 2 | // |
| 3 | // Device Tree Source for UniPhier Pro4 SoC |
| 4 | // |
| 5 | // Copyright (C) 2015-2016 Socionext Inc. |
| 6 | // Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 7 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 8 | #include <dt-bindings/gpio/uniphier-gpio.h> |
| 9 | |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 10 | / { |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 11 | compatible = "socionext,uniphier-pro4"; |
Masahiro Yamada | 6cd78f7 | 2017-03-13 00:16:39 +0900 | [diff] [blame] | 12 | #address-cells = <1>; |
| 13 | #size-cells = <1>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 14 | |
| 15 | cpus { |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 16 | #address-cells = <1>; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 17 | #size-cells = <0>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 18 | |
| 19 | cpu@0 { |
| 20 | device_type = "cpu"; |
| 21 | compatible = "arm,cortex-a9"; |
| 22 | reg = <0>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 23 | enable-method = "psci"; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 24 | next-level-cache = <&l2>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | cpu@1 { |
| 28 | device_type = "cpu"; |
| 29 | compatible = "arm,cortex-a9"; |
| 30 | reg = <1>; |
Masahiro Yamada | 39a67ff | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 31 | enable-method = "psci"; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 32 | next-level-cache = <&l2>; |
Masahiro Yamada | 53f6ec6 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 33 | }; |
| 34 | }; |
| 35 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 36 | psci { |
| 37 | compatible = "arm,psci-0.2"; |
| 38 | method = "smc"; |
| 39 | }; |
| 40 | |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 41 | clocks { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 42 | refclk: ref { |
| 43 | compatible = "fixed-clock"; |
| 44 | #clock-cells = <0>; |
| 45 | clock-frequency = <25000000>; |
| 46 | }; |
| 47 | |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 48 | arm_timer_clk: arm-timer { |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 49 | #clock-cells = <0>; |
| 50 | compatible = "fixed-clock"; |
| 51 | clock-frequency = <50000000>; |
| 52 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 53 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 54 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 55 | soc { |
| 56 | compatible = "simple-bus"; |
| 57 | #address-cells = <1>; |
| 58 | #size-cells = <1>; |
| 59 | ranges; |
| 60 | interrupt-parent = <&intc>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 61 | |
| 62 | l2: l2-cache@500c0000 { |
| 63 | compatible = "socionext,uniphier-system-cache"; |
| 64 | reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, |
| 65 | <0x506c0000 0x400>; |
| 66 | interrupts = <0 174 4>, <0 175 4>; |
| 67 | cache-unified; |
| 68 | cache-size = <(768 * 1024)>; |
| 69 | cache-sets = <256>; |
| 70 | cache-line-size = <128>; |
| 71 | cache-level = <2>; |
| 72 | }; |
| 73 | |
| 74 | serial0: serial@54006800 { |
| 75 | compatible = "socionext,uniphier-uart"; |
| 76 | status = "disabled"; |
| 77 | reg = <0x54006800 0x40>; |
| 78 | interrupts = <0 33 4>; |
| 79 | pinctrl-names = "default"; |
| 80 | pinctrl-0 = <&pinctrl_uart0>; |
| 81 | clocks = <&peri_clk 0>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 82 | resets = <&peri_rst 0>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 83 | }; |
| 84 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 85 | serial1: serial@54006900 { |
| 86 | compatible = "socionext,uniphier-uart"; |
| 87 | status = "disabled"; |
| 88 | reg = <0x54006900 0x40>; |
| 89 | interrupts = <0 35 4>; |
| 90 | pinctrl-names = "default"; |
| 91 | pinctrl-0 = <&pinctrl_uart1>; |
| 92 | clocks = <&peri_clk 1>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 93 | resets = <&peri_rst 1>; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 94 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 95 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 96 | serial2: serial@54006a00 { |
| 97 | compatible = "socionext,uniphier-uart"; |
| 98 | status = "disabled"; |
| 99 | reg = <0x54006a00 0x40>; |
| 100 | interrupts = <0 37 4>; |
| 101 | pinctrl-names = "default"; |
| 102 | pinctrl-0 = <&pinctrl_uart2>; |
| 103 | clocks = <&peri_clk 2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 104 | resets = <&peri_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 105 | }; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 106 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 107 | serial3: serial@54006b00 { |
| 108 | compatible = "socionext,uniphier-uart"; |
| 109 | status = "disabled"; |
| 110 | reg = <0x54006b00 0x40>; |
| 111 | interrupts = <0 177 4>; |
| 112 | pinctrl-names = "default"; |
| 113 | pinctrl-0 = <&pinctrl_uart3>; |
| 114 | clocks = <&peri_clk 3>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 115 | resets = <&peri_rst 3>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 116 | }; |
Masahiro Yamada | 6835b45 | 2016-02-16 17:03:51 +0900 | [diff] [blame] | 117 | |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 118 | gpio: gpio@55000000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 119 | compatible = "socionext,uniphier-gpio"; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 120 | reg = <0x55000000 0x200>; |
| 121 | interrupt-parent = <&aidet>; |
| 122 | interrupt-controller; |
| 123 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 124 | gpio-controller; |
| 125 | #gpio-cells = <2>; |
Masahiro Yamada | 964edbf | 2017-10-13 19:21:52 +0900 | [diff] [blame] | 126 | gpio-ranges = <&pinctrl 0 0 0>; |
| 127 | gpio-ranges-group-names = "gpio_range"; |
| 128 | ngpios = <248>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 129 | socionext,interrupt-ranges = <0 48 16>, <16 154 5>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 130 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 131 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 132 | i2c0: i2c@58780000 { |
| 133 | compatible = "socionext,uniphier-fi2c"; |
| 134 | status = "disabled"; |
| 135 | reg = <0x58780000 0x80>; |
| 136 | #address-cells = <1>; |
| 137 | #size-cells = <0>; |
| 138 | interrupts = <0 41 4>; |
| 139 | pinctrl-names = "default"; |
| 140 | pinctrl-0 = <&pinctrl_i2c0>; |
| 141 | clocks = <&peri_clk 4>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 142 | resets = <&peri_rst 4>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 143 | clock-frequency = <100000>; |
| 144 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 145 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 146 | i2c1: i2c@58781000 { |
| 147 | compatible = "socionext,uniphier-fi2c"; |
| 148 | status = "disabled"; |
| 149 | reg = <0x58781000 0x80>; |
| 150 | #address-cells = <1>; |
| 151 | #size-cells = <0>; |
| 152 | interrupts = <0 42 4>; |
| 153 | pinctrl-names = "default"; |
| 154 | pinctrl-0 = <&pinctrl_i2c1>; |
| 155 | clocks = <&peri_clk 5>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 156 | resets = <&peri_rst 5>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 157 | clock-frequency = <100000>; |
| 158 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 159 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 160 | i2c2: i2c@58782000 { |
| 161 | compatible = "socionext,uniphier-fi2c"; |
| 162 | status = "disabled"; |
| 163 | reg = <0x58782000 0x80>; |
| 164 | #address-cells = <1>; |
| 165 | #size-cells = <0>; |
| 166 | interrupts = <0 43 4>; |
| 167 | pinctrl-names = "default"; |
| 168 | pinctrl-0 = <&pinctrl_i2c2>; |
| 169 | clocks = <&peri_clk 6>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 170 | resets = <&peri_rst 6>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 171 | clock-frequency = <100000>; |
| 172 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 173 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 174 | i2c3: i2c@58783000 { |
| 175 | compatible = "socionext,uniphier-fi2c"; |
| 176 | status = "disabled"; |
| 177 | reg = <0x58783000 0x80>; |
| 178 | #address-cells = <1>; |
| 179 | #size-cells = <0>; |
| 180 | interrupts = <0 44 4>; |
| 181 | pinctrl-names = "default"; |
| 182 | pinctrl-0 = <&pinctrl_i2c3>; |
| 183 | clocks = <&peri_clk 7>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 184 | resets = <&peri_rst 7>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 185 | clock-frequency = <100000>; |
| 186 | }; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 187 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 188 | /* i2c4 does not exist */ |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 189 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 190 | /* chip-internal connection for DMD */ |
| 191 | i2c5: i2c@58785000 { |
| 192 | compatible = "socionext,uniphier-fi2c"; |
| 193 | reg = <0x58785000 0x80>; |
| 194 | #address-cells = <1>; |
| 195 | #size-cells = <0>; |
| 196 | interrupts = <0 25 4>; |
| 197 | clocks = <&peri_clk 9>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 198 | resets = <&peri_rst 9>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 199 | clock-frequency = <400000>; |
| 200 | }; |
Masahiro Yamada | 9a72462 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 201 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 202 | /* chip-internal connection for HDMI */ |
| 203 | i2c6: i2c@58786000 { |
| 204 | compatible = "socionext,uniphier-fi2c"; |
| 205 | reg = <0x58786000 0x80>; |
| 206 | #address-cells = <1>; |
| 207 | #size-cells = <0>; |
| 208 | interrupts = <0 26 4>; |
| 209 | clocks = <&peri_clk 10>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 210 | resets = <&peri_rst 10>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 211 | clock-frequency = <400000>; |
| 212 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 213 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 214 | system_bus: system-bus@58c00000 { |
| 215 | compatible = "socionext,uniphier-system-bus"; |
| 216 | status = "disabled"; |
| 217 | reg = <0x58c00000 0x400>; |
| 218 | #address-cells = <2>; |
| 219 | #size-cells = <1>; |
| 220 | pinctrl-names = "default"; |
| 221 | pinctrl-0 = <&pinctrl_system_bus>; |
| 222 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 223 | |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 224 | smpctrl@59801000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 225 | compatible = "socionext,uniphier-smpctrl"; |
| 226 | reg = <0x59801000 0x400>; |
| 227 | }; |
Masahiro Yamada | 299307d | 2016-02-18 19:52:50 +0900 | [diff] [blame] | 228 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 229 | mioctrl@59810000 { |
| 230 | compatible = "socionext,uniphier-pro4-mioctrl", |
| 231 | "simple-mfd", "syscon"; |
| 232 | reg = <0x59810000 0x800>; |
Masahiro Yamada | ff7bf56 | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 233 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 234 | mio_clk: clock { |
| 235 | compatible = "socionext,uniphier-pro4-mio-clock"; |
| 236 | #clock-cells = <1>; |
| 237 | }; |
Masahiro Yamada | 73e8efc | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 238 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 239 | mio_rst: reset { |
| 240 | compatible = "socionext,uniphier-pro4-mio-reset"; |
| 241 | #reset-cells = <1>; |
| 242 | }; |
| 243 | }; |
Masahiro Yamada | 2707e83 | 2016-06-29 19:39:02 +0900 | [diff] [blame] | 244 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 245 | perictrl@59820000 { |
| 246 | compatible = "socionext,uniphier-pro4-perictrl", |
| 247 | "simple-mfd", "syscon"; |
| 248 | reg = <0x59820000 0x200>; |
Masahiro Yamada | 73e8efc | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 249 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 250 | peri_clk: clock { |
| 251 | compatible = "socionext,uniphier-pro4-peri-clock"; |
| 252 | #clock-cells = <1>; |
| 253 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 254 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 255 | peri_rst: reset { |
| 256 | compatible = "socionext,uniphier-pro4-peri-reset"; |
| 257 | #reset-cells = <1>; |
| 258 | }; |
| 259 | }; |
Masahiro Yamada | 224e2f7 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 260 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 261 | sd: sdhc@5a400000 { |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 262 | compatible = "socionext,uniphier-sd-v2.91"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 263 | status = "disabled"; |
| 264 | reg = <0x5a400000 0x200>; |
| 265 | interrupts = <0 76 4>; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 266 | pinctrl-names = "default", "uhs"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 267 | pinctrl-0 = <&pinctrl_sd>; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 268 | pinctrl-1 = <&pinctrl_sd_uhs>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 269 | clocks = <&mio_clk 0>; |
| 270 | reset-names = "host", "bridge"; |
| 271 | resets = <&mio_rst 0>, <&mio_rst 3>; |
| 272 | bus-width = <4>; |
| 273 | cap-sd-highspeed; |
| 274 | sd-uhs-sdr12; |
| 275 | sd-uhs-sdr25; |
| 276 | sd-uhs-sdr50; |
| 277 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 278 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 279 | emmc: sdhc@5a500000 { |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 280 | compatible = "socionext,uniphier-sd-v2.91"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 281 | status = "disabled"; |
| 282 | reg = <0x5a500000 0x200>; |
| 283 | interrupts = <0 78 4>; |
Masahiro Yamada | 5ac92d8 | 2018-09-10 12:58:32 +0900 | [diff] [blame] | 284 | pinctrl-names = "default"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 285 | pinctrl-0 = <&pinctrl_emmc>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 286 | clocks = <&mio_clk 1>; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 287 | reset-names = "host", "bridge", "hw"; |
| 288 | resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 289 | bus-width = <8>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 290 | cap-mmc-highspeed; |
| 291 | cap-mmc-hw-reset; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 292 | non-removable; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 293 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 294 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 295 | sd1: sdhc@5a600000 { |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 296 | compatible = "socionext,uniphier-sd-v2.91"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 297 | status = "disabled"; |
| 298 | reg = <0x5a600000 0x200>; |
| 299 | interrupts = <0 85 4>; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 300 | pinctrl-names = "default"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 301 | pinctrl-0 = <&pinctrl_sd1>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 302 | clocks = <&mio_clk 2>; |
Masahiro Yamada | 6c7ad4d | 2018-09-10 12:58:35 +0900 | [diff] [blame] | 303 | reset-names = "host", "bridge"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 304 | resets = <&mio_rst 2>, <&mio_rst 5>; |
| 305 | bus-width = <4>; |
| 306 | cap-sd-highspeed; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 307 | }; |
Masahiro Yamada | bbbb0bd | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 308 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 309 | usb2: usb@5a800100 { |
| 310 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 311 | status = "disabled"; |
| 312 | reg = <0x5a800100 0x100>; |
| 313 | interrupts = <0 80 4>; |
| 314 | pinctrl-names = "default"; |
| 315 | pinctrl-0 = <&pinctrl_usb2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 316 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>, |
| 317 | <&mio_clk 12>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 318 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>, |
| 319 | <&mio_rst 12>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 320 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 321 | }; |
Masahiro Yamada | 37649af | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 322 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 323 | usb3: usb@5a810100 { |
| 324 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 325 | status = "disabled"; |
| 326 | reg = <0x5a810100 0x100>; |
| 327 | interrupts = <0 81 4>; |
| 328 | pinctrl-names = "default"; |
| 329 | pinctrl-0 = <&pinctrl_usb3>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 330 | clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>, |
| 331 | <&mio_clk 13>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 332 | resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>, |
| 333 | <&mio_rst 13>; |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 334 | has-transaction-translator; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 335 | }; |
Masahiro Yamada | 1d5df7b | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 336 | |
Kunihiko Hayashi | b57334d | 2018-05-11 18:49:14 +0900 | [diff] [blame] | 337 | soc_glue: soc-glue@5f800000 { |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 338 | compatible = "socionext,uniphier-pro4-soc-glue", |
| 339 | "simple-mfd", "syscon"; |
| 340 | reg = <0x5f800000 0x2000>; |
Masahiro Yamada | 8095183 | 2016-02-02 21:11:35 +0900 | [diff] [blame] | 341 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 342 | pinctrl: pinctrl { |
| 343 | compatible = "socionext,uniphier-pro4-pinctrl"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 344 | }; |
| 345 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 346 | |
Masahiro Yamada | b61327d | 2018-03-15 11:43:03 +0900 | [diff] [blame] | 347 | soc-glue@5f900000 { |
| 348 | compatible = "socionext,uniphier-pro4-soc-glue-debug", |
| 349 | "simple-mfd"; |
| 350 | #address-cells = <1>; |
| 351 | #size-cells = <1>; |
| 352 | ranges = <0 0x5f900000 0x2000>; |
| 353 | |
| 354 | efuse@100 { |
| 355 | compatible = "socionext,uniphier-efuse"; |
| 356 | reg = <0x100 0x28>; |
| 357 | }; |
| 358 | |
| 359 | efuse@130 { |
| 360 | compatible = "socionext,uniphier-efuse"; |
| 361 | reg = <0x130 0x8>; |
| 362 | }; |
| 363 | |
| 364 | efuse@200 { |
| 365 | compatible = "socionext,uniphier-efuse"; |
| 366 | reg = <0x200 0x14>; |
| 367 | }; |
| 368 | }; |
| 369 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 370 | aidet: aidet@5fc20000 { |
| 371 | compatible = "socionext,uniphier-pro4-aidet"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 372 | reg = <0x5fc20000 0x200>; |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 373 | interrupt-controller; |
| 374 | #interrupt-cells = <2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 375 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 376 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 377 | timer@60000200 { |
| 378 | compatible = "arm,cortex-a9-global-timer"; |
| 379 | reg = <0x60000200 0x20>; |
| 380 | interrupts = <1 11 0x304>; |
| 381 | clocks = <&arm_timer_clk>; |
| 382 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 383 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 384 | timer@60000600 { |
| 385 | compatible = "arm,cortex-a9-twd-timer"; |
| 386 | reg = <0x60000600 0x20>; |
| 387 | interrupts = <1 13 0x304>; |
| 388 | clocks = <&arm_timer_clk>; |
| 389 | }; |
| 390 | |
| 391 | intc: interrupt-controller@60001000 { |
| 392 | compatible = "arm,cortex-a9-gic"; |
| 393 | reg = <0x60001000 0x1000>, |
| 394 | <0x60000100 0x100>; |
| 395 | #interrupt-cells = <3>; |
| 396 | interrupt-controller; |
| 397 | }; |
| 398 | |
| 399 | sysctrl@61840000 { |
| 400 | compatible = "socionext,uniphier-pro4-sysctrl", |
| 401 | "simple-mfd", "syscon"; |
| 402 | reg = <0x61840000 0x10000>; |
| 403 | |
| 404 | sys_clk: clock { |
| 405 | compatible = "socionext,uniphier-pro4-clock"; |
| 406 | #clock-cells = <1>; |
| 407 | }; |
Masahiro Yamada | 02bf5b8 | 2016-09-22 07:42:23 +0900 | [diff] [blame] | 408 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 409 | sys_rst: reset { |
| 410 | compatible = "socionext,uniphier-pro4-reset"; |
| 411 | #reset-cells = <1>; |
| 412 | }; |
| 413 | }; |
| 414 | |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 415 | eth: ethernet@65000000 { |
| 416 | compatible = "socionext,uniphier-pro4-ave4"; |
| 417 | status = "disabled"; |
| 418 | reg = <0x65000000 0x8500>; |
| 419 | interrupts = <0 66 4>; |
| 420 | pinctrl-names = "default"; |
| 421 | pinctrl-0 = <&pinctrl_ether_rgmii>; |
Kunihiko Hayashi | 0ed9d14 | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 422 | clock-names = "gio", "ether", "ether-gb", "ether-phy"; |
Kunihiko Hayashi | a609f113 | 2018-05-11 18:49:15 +0900 | [diff] [blame] | 423 | clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>, |
Masahiro Yamada | db1d0d4 | 2018-06-19 16:11:46 +0900 | [diff] [blame] | 424 | <&sys_clk 10>; |
Kunihiko Hayashi | 0ed9d14 | 2018-05-11 18:49:16 +0900 | [diff] [blame] | 425 | reset-names = "gio", "ether"; |
Kunihiko Hayashi | a609f113 | 2018-05-11 18:49:15 +0900 | [diff] [blame] | 426 | resets = <&sys_rst 12>, <&sys_rst 6>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 427 | phy-mode = "rgmii"; |
| 428 | local-mac-address = [00 00 00 00 00 00]; |
Kunihiko Hayashi | b57334d | 2018-05-11 18:49:14 +0900 | [diff] [blame] | 429 | socionext,syscon-phy-mode = <&soc_glue 0>; |
Masahiro Yamada | 0bc5684 | 2018-04-16 12:35:33 +0900 | [diff] [blame] | 430 | |
| 431 | mdio: mdio { |
| 432 | #address-cells = <1>; |
| 433 | #size-cells = <0>; |
| 434 | }; |
| 435 | }; |
| 436 | |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 437 | usb0: usb@65b00000 { |
| 438 | compatible = "socionext,uniphier-pro4-dwc3"; |
| 439 | status = "disabled"; |
| 440 | reg = <0x65b00000 0x1000>; |
| 441 | #address-cells = <1>; |
| 442 | #size-cells = <1>; |
| 443 | ranges; |
| 444 | pinctrl-names = "default"; |
| 445 | pinctrl-0 = <&pinctrl_usb0>; |
| 446 | dwc3@65a00000 { |
| 447 | compatible = "snps,dwc3"; |
| 448 | reg = <0x65a00000 0x10000>; |
| 449 | interrupts = <0 134 4>; |
Masahiro Yamada | d2c8abd | 2017-08-13 09:01:17 +0900 | [diff] [blame] | 450 | dr_mode = "host"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 451 | tx-fifo-resize; |
| 452 | }; |
| 453 | }; |
| 454 | |
| 455 | usb1: usb@65d00000 { |
| 456 | compatible = "socionext,uniphier-pro4-dwc3"; |
| 457 | status = "disabled"; |
| 458 | reg = <0x65d00000 0x1000>; |
| 459 | #address-cells = <1>; |
| 460 | #size-cells = <1>; |
| 461 | ranges; |
| 462 | pinctrl-names = "default"; |
| 463 | pinctrl-0 = <&pinctrl_usb1>; |
| 464 | dwc3@65c00000 { |
| 465 | compatible = "snps,dwc3"; |
| 466 | reg = <0x65c00000 0x10000>; |
| 467 | interrupts = <0 137 4>; |
Masahiro Yamada | d2c8abd | 2017-08-13 09:01:17 +0900 | [diff] [blame] | 468 | dr_mode = "host"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 469 | tx-fifo-resize; |
| 470 | }; |
| 471 | }; |
| 472 | |
| 473 | nand: nand@68000000 { |
Masahiro Yamada | 938ab16 | 2017-05-15 14:23:46 +0900 | [diff] [blame] | 474 | compatible = "socionext,uniphier-denali-nand-v5a"; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 475 | status = "disabled"; |
| 476 | reg-names = "nand_data", "denali_reg"; |
| 477 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
| 478 | interrupts = <0 65 4>; |
| 479 | pinctrl-names = "default"; |
| 480 | pinctrl-0 = <&pinctrl_nand>; |
| 481 | clocks = <&sys_clk 2>; |
Masahiro Yamada | 6c086d0 | 2017-11-25 00:25:35 +0900 | [diff] [blame] | 482 | resets = <&sys_rst 2>; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 483 | }; |
| 484 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 485 | }; |
Masahiro Yamada | 6e485b2 | 2016-12-05 18:31:39 +0900 | [diff] [blame] | 486 | |
Masahiro Yamada | 1a420bd | 2017-08-29 12:20:52 +0900 | [diff] [blame] | 487 | #include "uniphier-pinctrl.dtsi" |