Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for UniPhier PH1-sLD8 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-sld8"; |
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 | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 17 | |
| 18 | cpu@0 { |
| 19 | device_type = "cpu"; |
| 20 | compatible = "arm,cortex-a9"; |
| 21 | reg = <0>; |
| 22 | }; |
| 23 | }; |
| 24 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 25 | clocks { |
| 26 | arm_timer_clk: arm_timer_clk { |
| 27 | #clock-cells = <0>; |
| 28 | compatible = "fixed-clock"; |
| 29 | clock-frequency = <50000000>; |
| 30 | }; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 31 | |
| 32 | uart_clk: uart_clk { |
| 33 | #clock-cells = <0>; |
| 34 | compatible = "fixed-clock"; |
| 35 | clock-frequency = <80000000>; |
| 36 | }; |
| 37 | |
| 38 | iobus_clk: iobus_clk { |
| 39 | #clock-cells = <0>; |
| 40 | compatible = "fixed-clock"; |
| 41 | clock-frequency = <100000000>; |
| 42 | }; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 43 | }; |
| 44 | |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 45 | soc { |
| 46 | compatible = "simple-bus"; |
| 47 | #address-cells = <1>; |
| 48 | #size-cells = <1>; |
| 49 | ranges; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 50 | interrupt-parent = <&intc>; |
| 51 | |
| 52 | extbus: extbus { |
| 53 | compatible = "simple-bus"; |
| 54 | #address-cells = <2>; |
| 55 | #size-cells = <1>; |
| 56 | }; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 57 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 58 | serial0: serial@54006800 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 59 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 60 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 61 | reg = <0x54006800 0x40>; |
| 62 | pinctrl-names = "default"; |
| 63 | pinctrl-0 = <&pinctrl_uart0>; |
| 64 | interrupts = <0 33 4>; |
| 65 | clocks = <&uart_clk>; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 66 | clock-frequency = <80000000>; |
| 67 | }; |
| 68 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 69 | serial1: serial@54006900 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 70 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 71 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 72 | reg = <0x54006900 0x40>; |
| 73 | pinctrl-names = "default"; |
| 74 | pinctrl-0 = <&pinctrl_uart1>; |
| 75 | interrupts = <0 35 4>; |
| 76 | clocks = <&uart_clk>; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 77 | clock-frequency = <80000000>; |
| 78 | }; |
| 79 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 80 | serial2: serial@54006a00 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 81 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 82 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 83 | reg = <0x54006a00 0x40>; |
| 84 | pinctrl-names = "default"; |
| 85 | pinctrl-0 = <&pinctrl_uart2>; |
| 86 | interrupts = <0 37 4>; |
| 87 | clocks = <&uart_clk>; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 88 | clock-frequency = <80000000>; |
| 89 | }; |
| 90 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 91 | serial3: serial@54006b00 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 92 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 93 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 94 | reg = <0x54006b00 0x40>; |
| 95 | pinctrl-names = "default"; |
| 96 | pinctrl-0 = <&pinctrl_uart3>; |
| 97 | interrupts = <0 29 4>; |
| 98 | clocks = <&uart_clk>; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 99 | clock-frequency = <80000000>; |
| 100 | }; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 101 | |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 102 | i2c0: i2c@58400000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 103 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 104 | status = "disabled"; |
| 105 | reg = <0x58400000 0x40>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 106 | #address-cells = <1>; |
| 107 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 108 | pinctrl-names = "default"; |
| 109 | pinctrl-0 = <&pinctrl_i2c0>; |
| 110 | interrupts = <0 41 1>; |
| 111 | clocks = <&iobus_clk>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 112 | clock-frequency = <100000>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 113 | }; |
| 114 | |
| 115 | i2c1: i2c@58480000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 116 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 117 | status = "disabled"; |
| 118 | reg = <0x58480000 0x40>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 119 | #address-cells = <1>; |
| 120 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 121 | pinctrl-names = "default"; |
| 122 | pinctrl-0 = <&pinctrl_i2c1>; |
| 123 | interrupts = <0 42 1>; |
| 124 | clocks = <&iobus_clk>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 125 | clock-frequency = <100000>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 126 | }; |
| 127 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 128 | /* chip-internal connection for DMD */ |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 129 | i2c2: i2c@58500000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 130 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 131 | reg = <0x58500000 0x40>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 132 | #address-cells = <1>; |
| 133 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 134 | pinctrl-names = "default"; |
| 135 | pinctrl-0 = <&pinctrl_i2c2>; |
| 136 | interrupts = <0 43 1>; |
| 137 | clocks = <&iobus_clk>; |
| 138 | clock-frequency = <400000>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 139 | }; |
| 140 | |
| 141 | i2c3: i2c@58580000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 142 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 143 | status = "disabled"; |
| 144 | reg = <0x58580000 0x40>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 145 | #address-cells = <1>; |
| 146 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 147 | pinctrl-names = "default"; |
| 148 | pinctrl-0 = <&pinctrl_i2c3>; |
| 149 | interrupts = <0 44 1>; |
| 150 | clocks = <&iobus_clk>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 151 | clock-frequency = <100000>; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 152 | }; |
| 153 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 154 | system-bus-controller-misc@59800000 { |
| 155 | compatible = "socionext,uniphier-system-bus-controller-misc", |
| 156 | "syscon"; |
| 157 | reg = <0x59800000 0x2000>; |
| 158 | }; |
| 159 | |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 160 | usb0: usb@5a800100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 161 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 162 | status = "disabled"; |
| 163 | reg = <0x5a800100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 164 | pinctrl-names = "default"; |
| 165 | pinctrl-0 = <&pinctrl_usb0>; |
| 166 | interrupts = <0 80 4>; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 167 | }; |
| 168 | |
| 169 | usb1: usb@5a810100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 170 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 171 | status = "disabled"; |
| 172 | reg = <0x5a810100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 173 | pinctrl-names = "default"; |
| 174 | pinctrl-0 = <&pinctrl_usb1>; |
| 175 | interrupts = <0 81 4>; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 176 | }; |
| 177 | |
| 178 | usb2: usb@5a820100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 179 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 180 | status = "disabled"; |
| 181 | reg = <0x5a820100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 182 | pinctrl-names = "default"; |
| 183 | pinctrl-0 = <&pinctrl_usb2>; |
| 184 | interrupts = <0 82 4>; |
| 185 | }; |
| 186 | |
| 187 | pinctrl: pinctrl@5f801000 { |
| 188 | compatible = "socionext,ph1-sld8-pinctrl", |
| 189 | "syscon"; |
| 190 | reg = <0x5f801000 0xe00>; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 191 | }; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 192 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 193 | timer@60000200 { |
| 194 | compatible = "arm,cortex-a9-global-timer"; |
| 195 | reg = <0x60000200 0x20>; |
| 196 | interrupts = <1 11 0x104>; |
| 197 | clocks = <&arm_timer_clk>; |
| 198 | }; |
| 199 | |
| 200 | timer@60000600 { |
| 201 | compatible = "arm,cortex-a9-twd-timer"; |
| 202 | reg = <0x60000600 0x20>; |
| 203 | interrupts = <1 13 0x104>; |
| 204 | clocks = <&arm_timer_clk>; |
| 205 | }; |
| 206 | |
| 207 | intc: interrupt-controller@60001000 { |
| 208 | compatible = "arm,cortex-a9-gic"; |
| 209 | #interrupt-cells = <3>; |
| 210 | interrupt-controller; |
| 211 | reg = <0x60001000 0x1000>, |
| 212 | <0x60000100 0x100>; |
| 213 | }; |
| 214 | |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 215 | nand: nand@68000000 { |
| 216 | compatible = "denali,denali-nand-dt"; |
| 217 | reg = <0x68000000 0x20>, <0x68100000 0x1000>; |
| 218 | reg-names = "nand_data", "denali_reg"; |
| 219 | }; |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 220 | }; |
| 221 | }; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 222 | |
| 223 | /include/ "uniphier-pinctrl.dtsi" |