Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for UniPhier PH1-Pro5 SoC |
| 3 | * |
| 4 | * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> |
| 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0+ X11 |
| 7 | */ |
| 8 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 9 | /include/ "uniphier-common32.dtsi" |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 10 | |
| 11 | / { |
| 12 | compatible = "socionext,ph1-pro5"; |
| 13 | |
| 14 | cpus { |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <0>; |
| 17 | enable-method = "socionext,uniphier-smp"; |
| 18 | |
| 19 | cpu@0 { |
| 20 | device_type = "cpu"; |
| 21 | compatible = "arm,cortex-a9"; |
| 22 | reg = <0>; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 23 | next-level-cache = <&l2>; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | cpu@1 { |
| 27 | device_type = "cpu"; |
| 28 | compatible = "arm,cortex-a9"; |
| 29 | reg = <1>; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 30 | next-level-cache = <&l2>; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 31 | }; |
| 32 | }; |
| 33 | |
| 34 | clocks { |
| 35 | arm_timer_clk: arm_timer_clk { |
| 36 | #clock-cells = <0>; |
| 37 | compatible = "fixed-clock"; |
| 38 | clock-frequency = <50000000>; |
| 39 | }; |
| 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 | }; |
| 52 | }; |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 53 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 54 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 55 | &soc { |
Masahiro Yamada | b36f305 | 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 0x8>, <0x506c0000 0x400>; |
| 59 | interrupts = <0 190 4>, <0 191 4>; |
| 60 | cache-unified; |
| 61 | cache-size = <(2 * 1024 * 1024)>; |
| 62 | cache-sets = <512>; |
| 63 | cache-line-size = <128>; |
| 64 | cache-level = <2>; |
| 65 | next-level-cache = <&l3>; |
| 66 | }; |
| 67 | |
| 68 | l3: l3-cache@500c8000 { |
| 69 | compatible = "socionext,uniphier-system-cache"; |
| 70 | reg = <0x500c8000 0x2000>, <0x503c8100 0x8>, <0x506c8000 0x400>; |
| 71 | interrupts = <0 174 4>, <0 175 4>; |
| 72 | cache-unified; |
| 73 | cache-size = <(2 * 1024 * 1024)>; |
| 74 | cache-sets = <512>; |
| 75 | cache-line-size = <256>; |
| 76 | cache-level = <3>; |
| 77 | }; |
| 78 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 79 | i2c0: i2c@58780000 { |
| 80 | compatible = "socionext,uniphier-fi2c"; |
| 81 | status = "disabled"; |
| 82 | reg = <0x58780000 0x80>; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 83 | #address-cells = <1>; |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 84 | #size-cells = <0>; |
| 85 | interrupts = <0 41 4>; |
| 86 | pinctrl-names = "default"; |
| 87 | pinctrl-0 = <&pinctrl_i2c0>; |
| 88 | clocks = <&i2c_clk>; |
| 89 | clock-frequency = <100000>; |
| 90 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 91 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 92 | i2c1: i2c@58781000 { |
| 93 | compatible = "socionext,uniphier-fi2c"; |
| 94 | status = "disabled"; |
| 95 | reg = <0x58781000 0x80>; |
| 96 | #address-cells = <1>; |
| 97 | #size-cells = <0>; |
| 98 | interrupts = <0 42 4>; |
| 99 | pinctrl-names = "default"; |
| 100 | pinctrl-0 = <&pinctrl_i2c1>; |
| 101 | clocks = <&i2c_clk>; |
| 102 | clock-frequency = <100000>; |
| 103 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 104 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 105 | i2c2: i2c@58782000 { |
| 106 | compatible = "socionext,uniphier-fi2c"; |
| 107 | status = "disabled"; |
| 108 | reg = <0x58782000 0x80>; |
| 109 | #address-cells = <1>; |
| 110 | #size-cells = <0>; |
| 111 | interrupts = <0 43 4>; |
| 112 | pinctrl-names = "default"; |
| 113 | pinctrl-0 = <&pinctrl_i2c2>; |
| 114 | clocks = <&i2c_clk>; |
| 115 | clock-frequency = <100000>; |
| 116 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 117 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 118 | i2c3: i2c@58783000 { |
| 119 | compatible = "socionext,uniphier-fi2c"; |
| 120 | status = "disabled"; |
| 121 | reg = <0x58783000 0x80>; |
| 122 | #address-cells = <1>; |
| 123 | #size-cells = <0>; |
| 124 | interrupts = <0 44 4>; |
| 125 | pinctrl-names = "default"; |
| 126 | pinctrl-0 = <&pinctrl_i2c3>; |
| 127 | clocks = <&i2c_clk>; |
| 128 | clock-frequency = <100000>; |
| 129 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 130 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 131 | /* i2c4 does not exist */ |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 132 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 133 | /* chip-internal connection for DMD */ |
| 134 | i2c5: i2c@58785000 { |
| 135 | compatible = "socionext,uniphier-fi2c"; |
| 136 | reg = <0x58785000 0x80>; |
| 137 | #address-cells = <1>; |
| 138 | #size-cells = <0>; |
| 139 | interrupts = <0 25 4>; |
| 140 | clocks = <&i2c_clk>; |
| 141 | clock-frequency = <400000>; |
| 142 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 143 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 144 | /* chip-internal connection for HDMI */ |
| 145 | i2c6: i2c@58786000 { |
| 146 | compatible = "socionext,uniphier-fi2c"; |
| 147 | reg = <0x58786000 0x80>; |
| 148 | #address-cells = <1>; |
| 149 | #size-cells = <0>; |
| 150 | interrupts = <0 26 4>; |
| 151 | clocks = <&i2c_clk>; |
| 152 | clock-frequency = <400000>; |
| 153 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 154 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 155 | usb0: usb@65a00000 { |
| 156 | compatible = "socionext,uniphier-xhci", "generic-xhci"; |
| 157 | status = "disabled"; |
| 158 | reg = <0x65a00000 0x100>; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 159 | interrupts = <0 134 4>; |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 160 | pinctrl-names = "default"; |
| 161 | pinctrl-0 = <&pinctrl_usb0>; |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 162 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 163 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 164 | usb1: usb@65c00000 { |
| 165 | compatible = "socionext,uniphier-xhci", "generic-xhci"; |
| 166 | status = "disabled"; |
| 167 | reg = <0x65c00000 0x100>; |
Masahiro Yamada | b36f305 | 2015-12-16 10:54:08 +0900 | [diff] [blame] | 168 | interrupts = <0 137 4>; |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 169 | pinctrl-names = "default"; |
| 170 | pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb2>; |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 171 | }; |
| 172 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 173 | |
Masahiro Yamada | 224e2f7 | 2016-02-02 21:11:33 +0900 | [diff] [blame] | 174 | &refclk { |
| 175 | clock-frequency = <20000000>; |
| 176 | }; |
| 177 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 178 | &serial0 { |
| 179 | clock-frequency = <73728000>; |
| 180 | }; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 181 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 182 | &serial1 { |
| 183 | clock-frequency = <73728000>; |
| 184 | }; |
Masahiro Yamada | a4e54cc | 2015-11-04 21:56:07 +0900 | [diff] [blame] | 185 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 186 | &serial2 { |
| 187 | clock-frequency = <73728000>; |
| 188 | }; |
Masahiro Yamada | a4e54cc | 2015-11-04 21:56:07 +0900 | [diff] [blame] | 189 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 190 | &serial3 { |
| 191 | clock-frequency = <73728000>; |
Masahiro Yamada | c857ded | 2015-08-28 22:33:14 +0900 | [diff] [blame] | 192 | }; |
| 193 | |
Masahiro Yamada | 1d5df7b | 2016-02-02 21:11:36 +0900 | [diff] [blame^] | 194 | &mio { |
| 195 | compatible = "socionext,ph1-pro5-mioctrl"; |
| 196 | clock-names = "stdmac"; |
| 197 | clocks = <&sysctrl 10>; |
| 198 | }; |
| 199 | |
Masahiro Yamada | 8095183 | 2016-02-02 21:11:35 +0900 | [diff] [blame] | 200 | &peri { |
| 201 | compatible = "socionext,ph1-pro5-perictrl"; |
| 202 | clock-names = "uart", "fi2c"; |
| 203 | clocks = <&sysctrl 3>, <&sysctrl 4>; |
| 204 | }; |
| 205 | |
Masahiro Yamada | 3de725b | 2015-12-16 10:54:07 +0900 | [diff] [blame] | 206 | &pinctrl { |
| 207 | compatible = "socionext,ph1-pro5-pinctrl", "syscon"; |
| 208 | }; |
Masahiro Yamada | e84513b | 2016-02-02 21:11:34 +0900 | [diff] [blame] | 209 | |
| 210 | &sysctrl { |
| 211 | compatible = "socionext,ph1-pro5-sysctrl"; |
| 212 | }; |