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 { |
| 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 = <36864000>; |
| 43 | }; |
| 44 | |
| 45 | iobus_clk: iobus_clk { |
| 46 | #clock-cells = <0>; |
| 47 | compatible = "fixed-clock"; |
| 48 | clock-frequency = <100000000>; |
| 49 | }; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 50 | }; |
| 51 | |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +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 | }; |
| 64 | |
| 65 | timer@20000200 { |
| 66 | compatible = "arm,cortex-a9-global-timer"; |
| 67 | reg = <0x20000200 0x20>; |
| 68 | interrupts = <1 11 0x304>; |
| 69 | clocks = <&arm_timer_clk>; |
| 70 | }; |
| 71 | |
| 72 | timer@20000600 { |
| 73 | compatible = "arm,cortex-a9-twd-timer"; |
| 74 | reg = <0x20000600 0x20>; |
| 75 | interrupts = <1 13 0x304>; |
| 76 | clocks = <&arm_timer_clk>; |
| 77 | }; |
| 78 | |
| 79 | intc: interrupt-controller@20001000 { |
| 80 | compatible = "arm,cortex-a9-gic"; |
| 81 | #interrupt-cells = <3>; |
| 82 | interrupt-controller; |
| 83 | reg = <0x20001000 0x1000>, |
| 84 | <0x20000100 0x100>; |
| 85 | }; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 86 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 87 | serial0: serial@54006800 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 88 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 89 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 90 | reg = <0x54006800 0x40>; |
| 91 | interrupts = <0 33 4>; |
| 92 | clocks = <&uart_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 93 | clock-frequency = <36864000>; |
| 94 | }; |
| 95 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 96 | serial1: serial@54006900 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 97 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 98 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 99 | reg = <0x54006900 0x40>; |
| 100 | interrupts = <0 35 4>; |
| 101 | clocks = <&uart_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 102 | clock-frequency = <36864000>; |
| 103 | }; |
| 104 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 105 | serial2: serial@54006a00 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 106 | compatible = "socionext,uniphier-uart"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 107 | status = "disabled"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 108 | reg = <0x54006a00 0x40>; |
| 109 | interrupts = <0 37 4>; |
| 110 | clocks = <&uart_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 111 | clock-frequency = <36864000>; |
| 112 | }; |
| 113 | |
| 114 | i2c0: i2c@58400000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 115 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 116 | status = "disabled"; |
| 117 | reg = <0x58400000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 118 | #address-cells = <1>; |
| 119 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 120 | interrupts = <0 41 1>; |
| 121 | clocks = <&iobus_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 122 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 123 | }; |
| 124 | |
| 125 | i2c1: i2c@58480000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 126 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 127 | status = "disabled"; |
| 128 | reg = <0x58480000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 129 | #address-cells = <1>; |
| 130 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 131 | interrupts = <0 42 1>; |
| 132 | clocks = <&iobus_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 133 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 134 | }; |
| 135 | |
| 136 | i2c2: i2c@58500000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 137 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 138 | status = "disabled"; |
| 139 | reg = <0x58500000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 140 | #address-cells = <1>; |
| 141 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 142 | interrupts = <0 43 1>; |
| 143 | clocks = <&iobus_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 144 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 145 | }; |
| 146 | |
| 147 | i2c3: i2c@58580000 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 148 | compatible = "socionext,uniphier-i2c"; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 149 | status = "disabled"; |
| 150 | reg = <0x58580000 0x40>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 151 | #address-cells = <1>; |
| 152 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 153 | interrupts = <0 44 1>; |
| 154 | clocks = <&iobus_clk>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 155 | clock-frequency = <100000>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 156 | }; |
| 157 | |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 158 | /* chip-internal connection for DMD */ |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 159 | i2c4: i2c@58600000 { |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 160 | compatible = "socionext,uniphier-i2c"; |
| 161 | reg = <0x58600000 0x40>; |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 162 | #address-cells = <1>; |
| 163 | #size-cells = <0>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 164 | interrupts = <0 45 1>; |
| 165 | clocks = <&iobus_clk>; |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 166 | clock-frequency = <400000>; |
Masahiro Yamada | f1d7945 | 2015-07-21 14:04:23 +0900 | [diff] [blame] | 167 | }; |
| 168 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 169 | system-bus-controller-misc@59800000 { |
| 170 | compatible = "socionext,uniphier-system-bus-controller-misc", |
| 171 | "syscon"; |
| 172 | reg = <0x59800000 0x2000>; |
| 173 | }; |
| 174 | |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 175 | usb0: usb@5a800100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 176 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 177 | status = "disabled"; |
| 178 | reg = <0x5a800100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 179 | interrupts = <0 80 4>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 180 | }; |
| 181 | |
| 182 | usb1: usb@5a810100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 183 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 184 | status = "disabled"; |
| 185 | reg = <0x5a810100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 186 | interrupts = <0 81 4>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 187 | }; |
| 188 | |
| 189 | usb2: usb@5a820100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 190 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 191 | status = "disabled"; |
| 192 | reg = <0x5a820100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 193 | interrupts = <0 82 4>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 194 | }; |
| 195 | |
| 196 | usb3: usb@5a830100 { |
Masahiro Yamada | 6462cde | 2015-03-11 15:54:46 +0900 | [diff] [blame] | 197 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 198 | status = "disabled"; |
| 199 | reg = <0x5a830100 0x100>; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 200 | interrupts = <0 83 4>; |
Masahiro Yamada | 230ce30 | 2014-12-06 00:03:24 +0900 | [diff] [blame] | 201 | }; |
| 202 | |
| 203 | nand: nand@f8000000 { |
| 204 | compatible = "denali,denali-nand-dt"; |
| 205 | reg = <0xf8000000 0x20>, <0xf8100000 0x1000>; |
| 206 | reg-names = "nand_data", "denali_reg"; |
| 207 | }; |
| 208 | }; |
| 209 | }; |