Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for UniPhier PH1-Pro4 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 | 509eb67 | 2014-11-26 18:33:59 +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 | 509eb67 | 2014-11-26 18:33:59 +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-pro4"; |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 13 | |
| 14 | cpus { |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 15 | #address-cells = <1>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 16 | #size-cells = <0>; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 17 | enable-method = "socionext,uniphier-smp"; |
Masahiro Yamada | 509eb67 | 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>; |
| 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 { |
| 33 | arm_timer_clk: arm_timer_clk { |
| 34 | #clock-cells = <0>; |
| 35 | compatible = "fixed-clock"; |
| 36 | clock-frequency = <50000000>; |
| 37 | }; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 38 | |
| 39 | uart_clk: uart_clk { |
| 40 | #clock-cells = <0>; |
| 41 | compatible = "fixed-clock"; |
| 42 | clock-frequency = <73728000>; |
| 43 | }; |
| 44 | |
| 45 | i2c_clk: i2c_clk { |
| 46 | #clock-cells = <0>; |
| 47 | compatible = "fixed-clock"; |
| 48 | clock-frequency = <50000000>; |
| 49 | }; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 50 | }; |
| 51 | |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 52 | soc { |
| 53 | compatible = "simple-bus"; |
| 54 | #address-cells = <1>; |
| 55 | #size-cells = <1>; |
| 56 | ranges; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 57 | interrupt-parent = <&intc>; |
| 58 | |
| 59 | extbus: extbus { |
| 60 | compatible = "simple-bus"; |
| 61 | #address-cells = <2>; |
| 62 | #size-cells = <1>; |
| 63 | }; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 64 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 65 | serial0: serial@54006800 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 66 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 67 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 68 | reg = <0x54006800 0x40>; |
| 69 | pinctrl-names = "default"; |
| 70 | pinctrl-0 = <&pinctrl_uart0>; |
| 71 | interrupts = <0 33 4>; |
| 72 | clocks = <&uart_clk>; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 73 | clock-frequency = <73728000>; |
| 74 | }; |
| 75 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 76 | serial1: serial@54006900 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 77 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 78 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 79 | reg = <0x54006900 0x40>; |
| 80 | pinctrl-names = "default"; |
| 81 | pinctrl-0 = <&pinctrl_uart1>; |
| 82 | interrupts = <0 35 4>; |
| 83 | clocks = <&uart_clk>; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 84 | clock-frequency = <73728000>; |
| 85 | }; |
| 86 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 87 | serial2: serial@54006a00 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 88 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 89 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 90 | reg = <0x54006a00 0x40>; |
| 91 | pinctrl-names = "default"; |
| 92 | pinctrl-0 = <&pinctrl_uart2>; |
| 93 | interrupts = <0 37 4>; |
| 94 | clocks = <&uart_clk>; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 95 | clock-frequency = <73728000>; |
| 96 | }; |
| 97 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 98 | serial3: serial@54006b00 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 99 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 100 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 101 | reg = <0x54006b00 0x40>; |
| 102 | pinctrl-names = "default"; |
| 103 | pinctrl-0 = <&pinctrl_uart3>; |
| 104 | interrupts = <0 29 4>; |
| 105 | clocks = <&uart_clk>; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 106 | clock-frequency = <73728000>; |
| 107 | }; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 108 | |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 109 | i2c0: i2c@58780000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 110 | compatible = "socionext,uniphier-fi2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 111 | status = "disabled"; |
| 112 | reg = <0x58780000 0x80>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 113 | #address-cells = <1>; |
| 114 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 115 | pinctrl-names = "default"; |
| 116 | pinctrl-0 = <&pinctrl_i2c0>; |
| 117 | interrupts = <0 41 4>; |
| 118 | clocks = <&i2c_clk>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 119 | clock-frequency = <100000>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 120 | }; |
| 121 | |
| 122 | i2c1: i2c@58781000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 123 | compatible = "socionext,uniphier-fi2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 124 | status = "disabled"; |
| 125 | reg = <0x58781000 0x80>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 126 | #address-cells = <1>; |
| 127 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 128 | pinctrl-names = "default"; |
| 129 | pinctrl-0 = <&pinctrl_i2c1>; |
| 130 | interrupts = <0 42 4>; |
| 131 | clocks = <&i2c_clk>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 132 | clock-frequency = <100000>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 133 | }; |
| 134 | |
| 135 | i2c2: i2c@58782000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 136 | compatible = "socionext,uniphier-fi2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 137 | status = "disabled"; |
| 138 | reg = <0x58782000 0x80>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 139 | #address-cells = <1>; |
| 140 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 141 | pinctrl-names = "default"; |
| 142 | pinctrl-0 = <&pinctrl_i2c2>; |
| 143 | interrupts = <0 43 4>; |
| 144 | clocks = <&i2c_clk>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 145 | clock-frequency = <100000>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 146 | }; |
| 147 | |
| 148 | i2c3: i2c@58783000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 149 | compatible = "socionext,uniphier-fi2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 150 | status = "disabled"; |
| 151 | reg = <0x58783000 0x80>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 152 | #address-cells = <1>; |
| 153 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 154 | pinctrl-names = "default"; |
| 155 | pinctrl-0 = <&pinctrl_i2c3>; |
| 156 | interrupts = <0 44 4>; |
| 157 | clocks = <&i2c_clk>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 158 | clock-frequency = <100000>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 159 | }; |
| 160 | |
| 161 | /* i2c4 does not exist */ |
| 162 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 163 | /* chip-internal connection for DMD */ |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 164 | i2c5: i2c@58785000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 165 | compatible = "socionext,uniphier-fi2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 166 | reg = <0x58785000 0x80>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 167 | #address-cells = <1>; |
| 168 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 169 | interrupts = <0 25 4>; |
| 170 | clocks = <&i2c_clk>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 171 | clock-frequency = <400000>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 172 | }; |
| 173 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 174 | /* chip-internal connection for HDMI */ |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 175 | i2c6: i2c@58786000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 176 | compatible = "socionext,uniphier-fi2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 177 | reg = <0x58786000 0x80>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 178 | #address-cells = <1>; |
| 179 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 180 | interrupts = <0 26 4>; |
| 181 | clocks = <&i2c_clk>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 182 | clock-frequency = <400000>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 183 | }; |
| 184 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 185 | system-bus-controller-misc@59800000 { |
| 186 | compatible = "socionext,uniphier-system-bus-controller-misc", |
| 187 | "syscon"; |
| 188 | reg = <0x59800000 0x2000>; |
| 189 | }; |
| 190 | |
Masahiro Yamada | de01a76 | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 191 | usb2: usb@5a800100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 192 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 193 | status = "disabled"; |
| 194 | reg = <0x5a800100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 195 | pinctrl-names = "default"; |
| 196 | pinctrl-0 = <&pinctrl_usb2>; |
| 197 | interrupts = <0 80 4>; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 198 | }; |
| 199 | |
Masahiro Yamada | de01a76 | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 200 | usb3: usb@5a810100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 201 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 202 | status = "disabled"; |
| 203 | reg = <0x5a810100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 204 | pinctrl-names = "default"; |
| 205 | pinctrl-0 = <&pinctrl_usb3>; |
| 206 | interrupts = <0 81 4>; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 207 | }; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 208 | |
Masahiro Yamada | de01a76 | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 209 | usb0: usb@65a00000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 210 | compatible = "socionext,uniphier-xhci", "generic-xhci"; |
Masahiro Yamada | de01a76 | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 211 | status = "disabled"; |
| 212 | reg = <0x65a00000 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 213 | pinctrl-names = "default"; |
| 214 | pinctrl-0 = <&pinctrl_usb0>; |
| 215 | interrupts = <0 134 4>; |
Masahiro Yamada | de01a76 | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 216 | }; |
| 217 | |
| 218 | usb1: usb@65c00000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 219 | compatible = "socionext,uniphier-xhci", "generic-xhci"; |
Masahiro Yamada | de01a76 | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 220 | status = "disabled"; |
| 221 | reg = <0x65c00000 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 222 | pinctrl-names = "default"; |
| 223 | pinctrl-0 = <&pinctrl_usb1>; |
| 224 | interrupts = <0 135 4>; |
| 225 | }; |
| 226 | |
| 227 | pinctrl: pinctrl@5f801000 { |
| 228 | compatible = "socionext,ph1-pro4-pinctrl", |
| 229 | "syscon"; |
| 230 | reg = <0x5f801000 0xe00>; |
Masahiro Yamada | de01a76 | 2015-02-27 02:26:59 +0900 | [diff] [blame] | 231 | }; |
| 232 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 233 | timer@60000200 { |
| 234 | compatible = "arm,cortex-a9-global-timer"; |
| 235 | reg = <0x60000200 0x20>; |
| 236 | interrupts = <1 11 0x304>; |
| 237 | clocks = <&arm_timer_clk>; |
| 238 | }; |
| 239 | |
| 240 | timer@60000600 { |
| 241 | compatible = "arm,cortex-a9-twd-timer"; |
| 242 | reg = <0x60000600 0x20>; |
| 243 | interrupts = <1 13 0x304>; |
| 244 | clocks = <&arm_timer_clk>; |
| 245 | }; |
| 246 | |
| 247 | intc: interrupt-controller@60001000 { |
| 248 | compatible = "arm,cortex-a9-gic"; |
| 249 | #interrupt-cells = <3>; |
| 250 | interrupt-controller; |
| 251 | reg = <0x60001000 0x1000>, |
| 252 | <0x60000100 0x100>; |
| 253 | }; |
| 254 | |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 255 | nand: nand@68000000 { |
| 256 | compatible = "denali,denali-nand-dt"; |
| 257 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
| 258 | reg-names = "nand_data", "denali_reg"; |
| 259 | }; |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 260 | }; |
| 261 | }; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 262 | |
| 263 | /include/ "uniphier-pinctrl.dtsi" |