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 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 9 | /include/ "uniphier-common32.dtsi" |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 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>; |
Masahiro Yamada | 4e1f81d | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 23 | next-level-cache = <&l2>; |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | cpu@1 { |
| 27 | device_type = "cpu"; |
| 28 | compatible = "arm,cortex-a9"; |
| 29 | reg = <1>; |
Masahiro Yamada | 4e1f81d | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 30 | next-level-cache = <&l2>; |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 31 | }; |
| 32 | }; |
| 33 | |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 34 | clocks { |
| 35 | arm_timer_clk: arm_timer_clk { |
| 36 | #clock-cells = <0>; |
| 37 | compatible = "fixed-clock"; |
| 38 | clock-frequency = <50000000>; |
| 39 | }; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 40 | |
| 41 | uart_clk: uart_clk { |
| 42 | #clock-cells = <0>; |
| 43 | compatible = "fixed-clock"; |
| 44 | clock-frequency = <73728000>; |
| 45 | }; |
| 46 | |
| 47 | i2c_clk: i2c_clk { |
| 48 | #clock-cells = <0>; |
| 49 | compatible = "fixed-clock"; |
| 50 | clock-frequency = <50000000>; |
| 51 | }; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 52 | }; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 53 | }; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 54 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 55 | &soc { |
Masahiro Yamada | 4e1f81d | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 56 | l2: l2-cache@500c0000 { |
| 57 | compatible = "socionext,uniphier-system-cache"; |
| 58 | reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, <0x506c0000 0x400>; |
| 59 | interrupts = <0 174 4>, <0 175 4>; |
| 60 | cache-unified; |
| 61 | cache-size = <(768 * 1024)>; |
| 62 | cache-sets = <256>; |
| 63 | cache-line-size = <128>; |
| 64 | cache-level = <2>; |
| 65 | }; |
| 66 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 67 | i2c0: i2c@58780000 { |
| 68 | compatible = "socionext,uniphier-fi2c"; |
| 69 | status = "disabled"; |
| 70 | reg = <0x58780000 0x80>; |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 71 | #address-cells = <1>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 72 | #size-cells = <0>; |
| 73 | interrupts = <0 41 4>; |
| 74 | pinctrl-names = "default"; |
| 75 | pinctrl-0 = <&pinctrl_i2c0>; |
| 76 | clocks = <&i2c_clk>; |
| 77 | clock-frequency = <100000>; |
| 78 | }; |
Masahiro Yamada | edcfaeb | 2015-06-30 18:27:00 +0900 | [diff] [blame] | 79 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 80 | i2c1: i2c@58781000 { |
| 81 | compatible = "socionext,uniphier-fi2c"; |
| 82 | status = "disabled"; |
| 83 | reg = <0x58781000 0x80>; |
| 84 | #address-cells = <1>; |
| 85 | #size-cells = <0>; |
| 86 | interrupts = <0 42 4>; |
| 87 | pinctrl-names = "default"; |
| 88 | pinctrl-0 = <&pinctrl_i2c1>; |
| 89 | clocks = <&i2c_clk>; |
| 90 | clock-frequency = <100000>; |
| 91 | }; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 92 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 93 | i2c2: i2c@58782000 { |
| 94 | compatible = "socionext,uniphier-fi2c"; |
| 95 | status = "disabled"; |
| 96 | reg = <0x58782000 0x80>; |
| 97 | #address-cells = <1>; |
| 98 | #size-cells = <0>; |
| 99 | interrupts = <0 43 4>; |
| 100 | pinctrl-names = "default"; |
| 101 | pinctrl-0 = <&pinctrl_i2c2>; |
| 102 | clocks = <&i2c_clk>; |
| 103 | clock-frequency = <100000>; |
| 104 | }; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 105 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 106 | i2c3: i2c@58783000 { |
| 107 | compatible = "socionext,uniphier-fi2c"; |
| 108 | status = "disabled"; |
| 109 | reg = <0x58783000 0x80>; |
| 110 | #address-cells = <1>; |
| 111 | #size-cells = <0>; |
| 112 | interrupts = <0 44 4>; |
| 113 | pinctrl-names = "default"; |
| 114 | pinctrl-0 = <&pinctrl_i2c3>; |
| 115 | clocks = <&i2c_clk>; |
| 116 | clock-frequency = <100000>; |
| 117 | }; |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 118 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 119 | /* i2c4 does not exist */ |
Masahiro Yamada | 625177d | 2014-11-26 18:34:00 +0900 | [diff] [blame] | 120 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 121 | /* chip-internal connection for DMD */ |
| 122 | i2c5: i2c@58785000 { |
| 123 | compatible = "socionext,uniphier-fi2c"; |
| 124 | reg = <0x58785000 0x80>; |
| 125 | #address-cells = <1>; |
| 126 | #size-cells = <0>; |
| 127 | interrupts = <0 25 4>; |
| 128 | clocks = <&i2c_clk>; |
| 129 | clock-frequency = <400000>; |
| 130 | }; |
Masahiro Yamada | 149c751 | 2014-11-26 18:34:01 +0900 | [diff] [blame] | 131 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 132 | /* chip-internal connection for HDMI */ |
| 133 | i2c6: i2c@58786000 { |
| 134 | compatible = "socionext,uniphier-fi2c"; |
| 135 | reg = <0x58786000 0x80>; |
| 136 | #address-cells = <1>; |
| 137 | #size-cells = <0>; |
| 138 | interrupts = <0 26 4>; |
| 139 | clocks = <&i2c_clk>; |
| 140 | clock-frequency = <400000>; |
| 141 | }; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 142 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 143 | usb2: usb@5a800100 { |
| 144 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 145 | status = "disabled"; |
| 146 | reg = <0x5a800100 0x100>; |
| 147 | interrupts = <0 80 4>; |
| 148 | pinctrl-names = "default"; |
| 149 | pinctrl-0 = <&pinctrl_usb2>; |
Masahiro Yamada | 49dde45 | 2016-02-02 21:11:37 +0900 | [diff] [blame^] | 150 | clocks = <&mio 3>, <&mio 6>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 151 | }; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 152 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 153 | usb3: usb@5a810100 { |
| 154 | compatible = "socionext,uniphier-ehci", "generic-ehci"; |
| 155 | status = "disabled"; |
| 156 | reg = <0x5a810100 0x100>; |
Masahiro Yamada | 4e1f81d | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 157 | interrupts = <0 81 4>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 158 | pinctrl-names = "default"; |
| 159 | pinctrl-0 = <&pinctrl_usb3>; |
Masahiro Yamada | 49dde45 | 2016-02-02 21:11:37 +0900 | [diff] [blame^] | 160 | clocks = <&mio 4>, <&mio 6>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 161 | }; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 162 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 163 | usb0: usb@65a00000 { |
| 164 | compatible = "socionext,uniphier-xhci", "generic-xhci"; |
| 165 | status = "disabled"; |
| 166 | reg = <0x65a00000 0x100>; |
Masahiro Yamada | 4e1f81d | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 167 | interrupts = <0 134 4>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 168 | pinctrl-names = "default"; |
| 169 | pinctrl-0 = <&pinctrl_usb0>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 170 | }; |
Masahiro Yamada | f5fd7af | 2014-12-06 00:03:23 +0900 | [diff] [blame] | 171 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 172 | usb1: usb@65c00000 { |
| 173 | compatible = "socionext,uniphier-xhci", "generic-xhci"; |
| 174 | status = "disabled"; |
| 175 | reg = <0x65c00000 0x100>; |
Masahiro Yamada | 4e1f81d | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 176 | interrupts = <0 137 4>; |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 177 | pinctrl-names = "default"; |
| 178 | pinctrl-0 = <&pinctrl_usb1>; |
Masahiro Yamada | 509eb67 | 2014-11-26 18:33:59 +0900 | [diff] [blame] | 179 | }; |
| 180 | }; |
Masahiro Yamada | d243c18 | 2015-08-28 22:33:13 +0900 | [diff] [blame] | 181 | |
Masahiro Yamada | cc33609 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 182 | &refclk { |
| 183 | clock-frequency = <25000000>; |
| 184 | }; |
| 185 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 186 | &serial0 { |
| 187 | clock-frequency = <73728000>; |
| 188 | }; |
| 189 | |
| 190 | &serial1 { |
| 191 | clock-frequency = <73728000>; |
| 192 | }; |
| 193 | |
| 194 | &serial2 { |
| 195 | clock-frequency = <73728000>; |
| 196 | }; |
| 197 | |
| 198 | &serial3 { |
| 199 | clock-frequency = <73728000>; |
| 200 | }; |
| 201 | |
Masahiro Yamada | aa37aba | 2016-02-02 21:11:36 +0900 | [diff] [blame] | 202 | &mio { |
| 203 | compatible = "socionext,ph1-pro4-mioctrl"; |
| 204 | clock-names = "stdmac", "ehci"; |
| 205 | clocks = <&sysctrl 10>, <&sysctrl 18>; |
| 206 | }; |
| 207 | |
Masahiro Yamada | 9fbb2f7 | 2016-02-02 21:11:35 +0900 | [diff] [blame] | 208 | &peri { |
| 209 | compatible = "socionext,ph1-pro4-perictrl"; |
| 210 | clock-names = "uart", "fi2c"; |
| 211 | clocks = <&sysctrl 3>, <&sysctrl 4>; |
| 212 | }; |
| 213 | |
Masahiro Yamada | 8f06243 | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 214 | &pinctrl { |
| 215 | compatible = "socionext,ph1-pro4-pinctrl", "syscon"; |
| 216 | }; |
Masahiro Yamada | 233812a | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 217 | |
| 218 | &sysctrl { |
| 219 | compatible = "socionext,ph1-pro4-sysctrl"; |
| 220 | }; |