Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 STMicroelectronics Limited. |
| 3 | * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * publishhed by the Free Software Foundation. |
| 8 | */ |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 9 | #include "stih407-pinctrl.dtsi" |
Lee Jones | 358764f | 2015-04-09 16:47:00 +0200 | [diff] [blame] | 10 | #include <dt-bindings/mfd/st-lpc.h> |
Peter Griffin | b3d37f9 | 2015-03-31 09:35:00 +0200 | [diff] [blame] | 11 | #include <dt-bindings/phy/phy.h> |
Philipp Zabel | efdf5aa | 2015-02-13 12:20:49 +0100 | [diff] [blame] | 12 | #include <dt-bindings/reset/stih407-resets.h> |
Lee Jones | 107dea0 | 2015-05-12 14:51:00 +0200 | [diff] [blame] | 13 | #include <dt-bindings/interrupt-controller/irq-st.h> |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 14 | / { |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <1>; |
| 17 | |
Lee Jones | fe135c6 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 18 | reserved-memory { |
| 19 | #address-cells = <1>; |
| 20 | #size-cells = <1>; |
| 21 | ranges; |
| 22 | |
Patrice Chotard | 04f0d55 | 2017-01-12 11:59:01 +0100 | [diff] [blame] | 23 | gp0_reserved: rproc@45000000 { |
Lee Jones | fe135c6 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 24 | compatible = "shared-dma-pool"; |
Patrice Chotard | 04f0d55 | 2017-01-12 11:59:01 +0100 | [diff] [blame] | 25 | reg = <0x45000000 0x00400000>; |
Lee Jones | fe135c6 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 26 | no-map; |
| 27 | }; |
| 28 | |
Patrice Chotard | 2196cb8 | 2017-01-12 14:15:21 +0100 | [diff] [blame] | 29 | delta_reserved: rproc@44000000 { |
Lee Jones | fe135c6 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 30 | compatible = "shared-dma-pool"; |
Patrice Chotard | 2196cb8 | 2017-01-12 14:15:21 +0100 | [diff] [blame] | 31 | reg = <0x44000000 0x01000000>; |
Lee Jones | fe135c6 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 32 | no-map; |
| 33 | }; |
| 34 | }; |
| 35 | |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 36 | cpus { |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
| 39 | cpu@0 { |
| 40 | device_type = "cpu"; |
| 41 | compatible = "arm,cortex-a9"; |
| 42 | reg = <0>; |
Lee Jones | 6fef795 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 43 | |
Peter Griffin | c1dc02d | 2015-06-09 15:33:00 +0200 | [diff] [blame] | 44 | /* u-boot puts hpen in SBC dmem at 0xa4 offset */ |
| 45 | cpu-release-addr = <0x94100A4>; |
Lee Jones | 6fef795 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 46 | |
| 47 | /* kHz uV */ |
| 48 | operating-points = <1500000 0 |
| 49 | 1200000 0 |
| 50 | 800000 0 |
| 51 | 500000 0>; |
Lee Jones | 4ad8f3a | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 52 | |
| 53 | clocks = <&clk_m_a9>; |
| 54 | clock-names = "cpu"; |
| 55 | clock-latency = <100000>; |
Lee Jones | fe7de3c | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 56 | cpu0-supply = <&pwm_regulator>; |
Lee Jones | 5609263 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 57 | st,syscfg = <&syscfg_core 0x8e0>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 58 | }; |
| 59 | cpu@1 { |
| 60 | device_type = "cpu"; |
| 61 | compatible = "arm,cortex-a9"; |
| 62 | reg = <1>; |
Lee Jones | 6fef795 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 63 | |
Peter Griffin | c1dc02d | 2015-06-09 15:33:00 +0200 | [diff] [blame] | 64 | /* u-boot puts hpen in SBC dmem at 0xa4 offset */ |
| 65 | cpu-release-addr = <0x94100A4>; |
Lee Jones | 6fef795 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 66 | |
| 67 | /* kHz uV */ |
| 68 | operating-points = <1500000 0 |
| 69 | 1200000 0 |
| 70 | 800000 0 |
| 71 | 500000 0>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 72 | }; |
| 73 | }; |
| 74 | |
| 75 | intc: interrupt-controller@08761000 { |
| 76 | compatible = "arm,cortex-a9-gic"; |
| 77 | #interrupt-cells = <3>; |
| 78 | interrupt-controller; |
| 79 | reg = <0x08761000 0x1000>, <0x08760100 0x100>; |
| 80 | }; |
| 81 | |
| 82 | scu@08760000 { |
| 83 | compatible = "arm,cortex-a9-scu"; |
| 84 | reg = <0x08760000 0x1000>; |
| 85 | }; |
| 86 | |
| 87 | timer@08760200 { |
| 88 | interrupt-parent = <&intc>; |
| 89 | compatible = "arm,cortex-a9-global-timer"; |
| 90 | reg = <0x08760200 0x100>; |
| 91 | interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>; |
| 92 | clocks = <&arm_periph_clk>; |
| 93 | }; |
| 94 | |
| 95 | l2: cache-controller { |
| 96 | compatible = "arm,pl310-cache"; |
| 97 | reg = <0x08762000 0x1000>; |
| 98 | arm,data-latency = <3 3 3>; |
| 99 | arm,tag-latency = <2 2 2>; |
| 100 | cache-unified; |
| 101 | cache-level = <2>; |
| 102 | }; |
| 103 | |
Lee Jones | 00133b9 | 2015-05-12 14:51:00 +0200 | [diff] [blame] | 104 | arm-pmu { |
| 105 | interrupt-parent = <&intc>; |
| 106 | compatible = "arm,cortex-a9-pmu"; |
| 107 | interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 108 | }; |
| 109 | |
Lee Jones | 23155ff | 2015-07-07 17:06:00 +0200 | [diff] [blame] | 110 | pwm_regulator: pwm-regulator { |
| 111 | compatible = "pwm-regulator"; |
| 112 | pwms = <&pwm1 3 8448>; |
| 113 | regulator-name = "CPU_1V0_AVS"; |
| 114 | regulator-min-microvolt = <784000>; |
| 115 | regulator-max-microvolt = <1299000>; |
| 116 | regulator-always-on; |
| 117 | max-duty-cycle = <255>; |
| 118 | status = "okay"; |
| 119 | }; |
| 120 | |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 121 | soc { |
| 122 | #address-cells = <1>; |
| 123 | #size-cells = <1>; |
| 124 | interrupt-parent = <&intc>; |
| 125 | ranges; |
| 126 | compatible = "simple-bus"; |
| 127 | |
Lee Jones | 48f3fe6 | 2015-05-12 14:51:00 +0200 | [diff] [blame] | 128 | restart { |
| 129 | compatible = "st,stih407-restart"; |
| 130 | st,syscfg = <&syscfg_sbc_reg>; |
| 131 | status = "okay"; |
| 132 | }; |
| 133 | |
Peter Griffin | b864a0b | 2014-07-02 16:08:00 +0200 | [diff] [blame] | 134 | powerdown: powerdown-controller { |
| 135 | compatible = "st,stih407-powerdown"; |
| 136 | #reset-cells = <1>; |
| 137 | }; |
| 138 | |
| 139 | softreset: softreset-controller { |
| 140 | compatible = "st,stih407-softreset"; |
| 141 | #reset-cells = <1>; |
| 142 | }; |
| 143 | |
| 144 | picophyreset: picophyreset-controller { |
| 145 | compatible = "st,stih407-picophyreset"; |
| 146 | #reset-cells = <1>; |
| 147 | }; |
| 148 | |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 149 | syscfg_sbc: sbc-syscfg@9620000 { |
| 150 | compatible = "st,stih407-sbc-syscfg", "syscon"; |
| 151 | reg = <0x9620000 0x1000>; |
| 152 | }; |
| 153 | |
| 154 | syscfg_front: front-syscfg@9280000 { |
| 155 | compatible = "st,stih407-front-syscfg", "syscon"; |
| 156 | reg = <0x9280000 0x1000>; |
| 157 | }; |
| 158 | |
| 159 | syscfg_rear: rear-syscfg@9290000 { |
| 160 | compatible = "st,stih407-rear-syscfg", "syscon"; |
| 161 | reg = <0x9290000 0x1000>; |
| 162 | }; |
| 163 | |
| 164 | syscfg_flash: flash-syscfg@92a0000 { |
| 165 | compatible = "st,stih407-flash-syscfg", "syscon"; |
| 166 | reg = <0x92a0000 0x1000>; |
| 167 | }; |
| 168 | |
| 169 | syscfg_sbc_reg: fvdp-lite-syscfg@9600000 { |
| 170 | compatible = "st,stih407-sbc-reg-syscfg", "syscon"; |
| 171 | reg = <0x9600000 0x1000>; |
| 172 | }; |
| 173 | |
| 174 | syscfg_core: core-syscfg@92b0000 { |
| 175 | compatible = "st,stih407-core-syscfg", "syscon"; |
| 176 | reg = <0x92b0000 0x1000>; |
| 177 | }; |
| 178 | |
| 179 | syscfg_lpm: lpm-syscfg@94b5100 { |
| 180 | compatible = "st,stih407-lpm-syscfg", "syscon"; |
| 181 | reg = <0x94b5100 0x1000>; |
| 182 | }; |
| 183 | |
Lee Jones | 107dea0 | 2015-05-12 14:51:00 +0200 | [diff] [blame] | 184 | irq-syscfg { |
| 185 | compatible = "st,stih407-irq-syscfg"; |
| 186 | st,syscfg = <&syscfg_core>; |
| 187 | st,irq-device = <ST_IRQ_SYSCFG_PMU_0>, |
| 188 | <ST_IRQ_SYSCFG_PMU_1>; |
| 189 | st,fiq-device = <ST_IRQ_SYSCFG_DISABLED>, |
| 190 | <ST_IRQ_SYSCFG_DISABLED>; |
| 191 | }; |
| 192 | |
Maxime Coquelin | 759742d | 2015-09-23 03:04:24 +0200 | [diff] [blame] | 193 | /* Display */ |
| 194 | vtg_main: sti-vtg-main@8d02800 { |
| 195 | compatible = "st,vtg"; |
| 196 | reg = <0x8d02800 0x200>; |
| 197 | interrupts = <GIC_SPI 108 IRQ_TYPE_NONE>; |
| 198 | }; |
| 199 | |
| 200 | vtg_aux: sti-vtg-aux@8d00200 { |
| 201 | compatible = "st,vtg"; |
| 202 | reg = <0x8d00200 0x100>; |
| 203 | interrupts = <GIC_SPI 109 IRQ_TYPE_NONE>; |
| 204 | }; |
| 205 | |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 206 | serial@9830000 { |
| 207 | compatible = "st,asc"; |
| 208 | reg = <0x9830000 0x2c>; |
| 209 | interrupts = <GIC_SPI 122 IRQ_TYPE_NONE>; |
Gabriel FERNANDEZ | 1befe7e | 2014-08-25 16:44:00 +0200 | [diff] [blame] | 210 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
Lee Jones | cf38e1a | 2017-02-03 10:23:18 +0000 | [diff] [blame] | 211 | /* Pinctrl moved out to a per-board configuration */ |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 212 | |
| 213 | status = "disabled"; |
| 214 | }; |
| 215 | |
| 216 | serial@9831000 { |
| 217 | compatible = "st,asc"; |
| 218 | reg = <0x9831000 0x2c>; |
| 219 | interrupts = <GIC_SPI 123 IRQ_TYPE_NONE>; |
| 220 | pinctrl-names = "default"; |
| 221 | pinctrl-0 = <&pinctrl_serial1>; |
Gabriel FERNANDEZ | 1befe7e | 2014-08-25 16:44:00 +0200 | [diff] [blame] | 222 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 223 | |
| 224 | status = "disabled"; |
| 225 | }; |
| 226 | |
| 227 | serial@9832000 { |
| 228 | compatible = "st,asc"; |
| 229 | reg = <0x9832000 0x2c>; |
| 230 | interrupts = <GIC_SPI 124 IRQ_TYPE_NONE>; |
| 231 | pinctrl-names = "default"; |
| 232 | pinctrl-0 = <&pinctrl_serial2>; |
Gabriel FERNANDEZ | 1befe7e | 2014-08-25 16:44:00 +0200 | [diff] [blame] | 233 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 234 | |
| 235 | status = "disabled"; |
| 236 | }; |
| 237 | |
| 238 | /* SBC_ASC0 - UART10 */ |
| 239 | sbc_serial0: serial@9530000 { |
| 240 | compatible = "st,asc"; |
| 241 | reg = <0x9530000 0x2c>; |
| 242 | interrupts = <GIC_SPI 138 IRQ_TYPE_NONE>; |
| 243 | pinctrl-names = "default"; |
| 244 | pinctrl-0 = <&pinctrl_sbc_serial0>; |
| 245 | clocks = <&clk_sysin>; |
| 246 | |
| 247 | status = "disabled"; |
| 248 | }; |
| 249 | |
| 250 | serial@9531000 { |
| 251 | compatible = "st,asc"; |
| 252 | reg = <0x9531000 0x2c>; |
| 253 | interrupts = <GIC_SPI 139 IRQ_TYPE_NONE>; |
| 254 | pinctrl-names = "default"; |
| 255 | pinctrl-0 = <&pinctrl_sbc_serial1>; |
| 256 | clocks = <&clk_sysin>; |
| 257 | |
| 258 | status = "disabled"; |
| 259 | }; |
| 260 | |
| 261 | i2c@9840000 { |
| 262 | compatible = "st,comms-ssc4-i2c"; |
| 263 | interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; |
| 264 | reg = <0x9840000 0x110>; |
Gabriel FERNANDEZ | 1befe7e | 2014-08-25 16:44:00 +0200 | [diff] [blame] | 265 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 266 | clock-names = "ssc"; |
| 267 | clock-frequency = <400000>; |
| 268 | pinctrl-names = "default"; |
| 269 | pinctrl-0 = <&pinctrl_i2c0_default>; |
Loic Pallardy | 86b4522 | 2016-11-16 13:57:00 +0100 | [diff] [blame] | 270 | #address-cells = <1>; |
| 271 | #size-cells = <0>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 272 | |
| 273 | status = "disabled"; |
| 274 | }; |
| 275 | |
| 276 | i2c@9841000 { |
| 277 | compatible = "st,comms-ssc4-i2c"; |
| 278 | reg = <0x9841000 0x110>; |
| 279 | interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; |
Gabriel FERNANDEZ | 1befe7e | 2014-08-25 16:44:00 +0200 | [diff] [blame] | 280 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 281 | clock-names = "ssc"; |
| 282 | clock-frequency = <400000>; |
| 283 | pinctrl-names = "default"; |
| 284 | pinctrl-0 = <&pinctrl_i2c1_default>; |
Loic Pallardy | 86b4522 | 2016-11-16 13:57:00 +0100 | [diff] [blame] | 285 | #address-cells = <1>; |
| 286 | #size-cells = <0>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 287 | |
| 288 | status = "disabled"; |
| 289 | }; |
| 290 | |
| 291 | i2c@9842000 { |
| 292 | compatible = "st,comms-ssc4-i2c"; |
| 293 | reg = <0x9842000 0x110>; |
| 294 | interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; |
Gabriel FERNANDEZ | 1befe7e | 2014-08-25 16:44:00 +0200 | [diff] [blame] | 295 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 296 | clock-names = "ssc"; |
| 297 | clock-frequency = <400000>; |
| 298 | pinctrl-names = "default"; |
| 299 | pinctrl-0 = <&pinctrl_i2c2_default>; |
Loic Pallardy | 86b4522 | 2016-11-16 13:57:00 +0100 | [diff] [blame] | 300 | #address-cells = <1>; |
| 301 | #size-cells = <0>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 302 | |
| 303 | status = "disabled"; |
| 304 | }; |
| 305 | |
| 306 | i2c@9843000 { |
| 307 | compatible = "st,comms-ssc4-i2c"; |
| 308 | reg = <0x9843000 0x110>; |
| 309 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>; |
Gabriel FERNANDEZ | 1befe7e | 2014-08-25 16:44:00 +0200 | [diff] [blame] | 310 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 311 | clock-names = "ssc"; |
| 312 | clock-frequency = <400000>; |
| 313 | pinctrl-names = "default"; |
| 314 | pinctrl-0 = <&pinctrl_i2c3_default>; |
Loic Pallardy | 86b4522 | 2016-11-16 13:57:00 +0100 | [diff] [blame] | 315 | #address-cells = <1>; |
| 316 | #size-cells = <0>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 317 | |
| 318 | status = "disabled"; |
| 319 | }; |
| 320 | |
| 321 | i2c@9844000 { |
| 322 | compatible = "st,comms-ssc4-i2c"; |
| 323 | reg = <0x9844000 0x110>; |
| 324 | interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; |
Gabriel FERNANDEZ | 1befe7e | 2014-08-25 16:44:00 +0200 | [diff] [blame] | 325 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 326 | clock-names = "ssc"; |
| 327 | clock-frequency = <400000>; |
| 328 | pinctrl-names = "default"; |
| 329 | pinctrl-0 = <&pinctrl_i2c4_default>; |
Loic Pallardy | 86b4522 | 2016-11-16 13:57:00 +0100 | [diff] [blame] | 330 | #address-cells = <1>; |
| 331 | #size-cells = <0>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 332 | |
| 333 | status = "disabled"; |
| 334 | }; |
| 335 | |
| 336 | i2c@9845000 { |
| 337 | compatible = "st,comms-ssc4-i2c"; |
| 338 | reg = <0x9845000 0x110>; |
| 339 | interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; |
Gabriel FERNANDEZ | 1befe7e | 2014-08-25 16:44:00 +0200 | [diff] [blame] | 340 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 341 | clock-names = "ssc"; |
| 342 | clock-frequency = <400000>; |
| 343 | pinctrl-names = "default"; |
| 344 | pinctrl-0 = <&pinctrl_i2c5_default>; |
Loic Pallardy | 86b4522 | 2016-11-16 13:57:00 +0100 | [diff] [blame] | 345 | #address-cells = <1>; |
| 346 | #size-cells = <0>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 347 | |
| 348 | status = "disabled"; |
| 349 | }; |
| 350 | |
| 351 | |
| 352 | /* SSCs on SBC */ |
| 353 | i2c@9540000 { |
| 354 | compatible = "st,comms-ssc4-i2c"; |
| 355 | reg = <0x9540000 0x110>; |
| 356 | interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>; |
| 357 | clocks = <&clk_sysin>; |
| 358 | clock-names = "ssc"; |
| 359 | clock-frequency = <400000>; |
| 360 | pinctrl-names = "default"; |
| 361 | pinctrl-0 = <&pinctrl_i2c10_default>; |
Loic Pallardy | 86b4522 | 2016-11-16 13:57:00 +0100 | [diff] [blame] | 362 | #address-cells = <1>; |
| 363 | #size-cells = <0>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 364 | |
| 365 | status = "disabled"; |
| 366 | }; |
| 367 | |
| 368 | i2c@9541000 { |
| 369 | compatible = "st,comms-ssc4-i2c"; |
| 370 | reg = <0x9541000 0x110>; |
| 371 | interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>; |
| 372 | clocks = <&clk_sysin>; |
| 373 | clock-names = "ssc"; |
| 374 | clock-frequency = <400000>; |
| 375 | pinctrl-names = "default"; |
| 376 | pinctrl-0 = <&pinctrl_i2c11_default>; |
Loic Pallardy | 86b4522 | 2016-11-16 13:57:00 +0100 | [diff] [blame] | 377 | #address-cells = <1>; |
| 378 | #size-cells = <0>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 379 | |
| 380 | status = "disabled"; |
| 381 | }; |
Peter Griffin | 8facce1 | 2015-01-07 16:04:00 +0100 | [diff] [blame] | 382 | |
| 383 | usb2_picophy0: phy1 { |
| 384 | compatible = "st,stih407-usb2-phy"; |
| 385 | #phy-cells = <0>; |
| 386 | st,syscfg = <&syscfg_core 0x100 0xf4>; |
| 387 | resets = <&softreset STIH407_PICOPHY_SOFTRESET>, |
Peter Griffin | 743ac9d | 2015-04-30 15:30:00 +0200 | [diff] [blame] | 388 | <&picophyreset STIH407_PICOPHY2_RESET>; |
Peter Griffin | 8facce1 | 2015-01-07 16:04:00 +0100 | [diff] [blame] | 389 | reset-names = "global", "port"; |
| 390 | }; |
Gabriel FERNANDEZ | b26373c | 2015-01-14 10:54:00 +0100 | [diff] [blame] | 391 | |
| 392 | miphy28lp_phy: miphy28lp@9b22000 { |
| 393 | compatible = "st,miphy28lp-phy"; |
| 394 | st,syscfg = <&syscfg_core>; |
| 395 | #address-cells = <1>; |
| 396 | #size-cells = <1>; |
| 397 | ranges; |
| 398 | |
| 399 | phy_port0: port@9b22000 { |
| 400 | reg = <0x9b22000 0xff>, |
| 401 | <0x9b09000 0xff>, |
| 402 | <0x9b04000 0xff>; |
| 403 | reg-names = "sata-up", |
| 404 | "pcie-up", |
| 405 | "pipew"; |
| 406 | |
| 407 | st,syscfg = <0x114 0x818 0xe0 0xec>; |
| 408 | #phy-cells = <1>; |
| 409 | |
| 410 | reset-names = "miphy-sw-rst"; |
| 411 | resets = <&softreset STIH407_MIPHY0_SOFTRESET>; |
| 412 | }; |
| 413 | |
| 414 | phy_port1: port@9b2a000 { |
| 415 | reg = <0x9b2a000 0xff>, |
| 416 | <0x9b19000 0xff>, |
| 417 | <0x9b14000 0xff>; |
| 418 | reg-names = "sata-up", |
| 419 | "pcie-up", |
| 420 | "pipew"; |
| 421 | |
| 422 | st,syscfg = <0x118 0x81c 0xe4 0xf0>; |
| 423 | |
| 424 | #phy-cells = <1>; |
| 425 | |
| 426 | reset-names = "miphy-sw-rst"; |
| 427 | resets = <&softreset STIH407_MIPHY1_SOFTRESET>; |
| 428 | }; |
| 429 | |
| 430 | phy_port2: port@8f95000 { |
| 431 | reg = <0x8f95000 0xff>, |
| 432 | <0x8f90000 0xff>; |
| 433 | reg-names = "pipew", |
| 434 | "usb3-up"; |
| 435 | |
| 436 | st,syscfg = <0x11c 0x820>; |
| 437 | |
| 438 | #phy-cells = <1>; |
| 439 | |
| 440 | reset-names = "miphy-sw-rst"; |
| 441 | resets = <&softreset STIH407_MIPHY2_SOFTRESET>; |
| 442 | }; |
| 443 | }; |
Lee Jones | 2c53c27 | 2015-01-22 11:07:00 +0100 | [diff] [blame] | 444 | |
| 445 | spi@9840000 { |
| 446 | compatible = "st,comms-ssc4-spi"; |
| 447 | reg = <0x9840000 0x110>; |
| 448 | interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; |
| 449 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
| 450 | clock-names = "ssc"; |
| 451 | pinctrl-0 = <&pinctrl_spi0_default>; |
| 452 | pinctrl-names = "default"; |
| 453 | #address-cells = <1>; |
| 454 | #size-cells = <0>; |
| 455 | |
| 456 | status = "disabled"; |
| 457 | }; |
| 458 | |
| 459 | spi@9841000 { |
| 460 | compatible = "st,comms-ssc4-spi"; |
| 461 | reg = <0x9841000 0x110>; |
| 462 | interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; |
| 463 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
| 464 | clock-names = "ssc"; |
Peter Griffin | 55fd9b1 | 2015-09-28 14:37:00 +0200 | [diff] [blame] | 465 | pinctrl-names = "default"; |
| 466 | pinctrl-0 = <&pinctrl_spi1_default>; |
Lee Jones | 2c53c27 | 2015-01-22 11:07:00 +0100 | [diff] [blame] | 467 | |
| 468 | status = "disabled"; |
| 469 | }; |
| 470 | |
| 471 | spi@9842000 { |
| 472 | compatible = "st,comms-ssc4-spi"; |
| 473 | reg = <0x9842000 0x110>; |
| 474 | interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; |
| 475 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
| 476 | clock-names = "ssc"; |
Peter Griffin | 55fd9b1 | 2015-09-28 14:37:00 +0200 | [diff] [blame] | 477 | pinctrl-names = "default"; |
| 478 | pinctrl-0 = <&pinctrl_spi2_default>; |
Lee Jones | 2c53c27 | 2015-01-22 11:07:00 +0100 | [diff] [blame] | 479 | |
| 480 | status = "disabled"; |
| 481 | }; |
| 482 | |
| 483 | spi@9843000 { |
| 484 | compatible = "st,comms-ssc4-spi"; |
| 485 | reg = <0x9843000 0x110>; |
| 486 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>; |
| 487 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
| 488 | clock-names = "ssc"; |
Peter Griffin | 55fd9b1 | 2015-09-28 14:37:00 +0200 | [diff] [blame] | 489 | pinctrl-names = "default"; |
| 490 | pinctrl-0 = <&pinctrl_spi3_default>; |
Lee Jones | 2c53c27 | 2015-01-22 11:07:00 +0100 | [diff] [blame] | 491 | |
| 492 | status = "disabled"; |
| 493 | }; |
| 494 | |
| 495 | spi@9844000 { |
| 496 | compatible = "st,comms-ssc4-spi"; |
| 497 | reg = <0x9844000 0x110>; |
| 498 | interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; |
| 499 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
| 500 | clock-names = "ssc"; |
Peter Griffin | 55fd9b1 | 2015-09-28 14:37:00 +0200 | [diff] [blame] | 501 | pinctrl-names = "default"; |
| 502 | pinctrl-0 = <&pinctrl_spi4_default>; |
Lee Jones | 2c53c27 | 2015-01-22 11:07:00 +0100 | [diff] [blame] | 503 | |
| 504 | status = "disabled"; |
| 505 | }; |
Lee Jones | b0bb2ba | 2015-01-22 11:07:00 +0100 | [diff] [blame] | 506 | |
| 507 | /* SBC SSC */ |
| 508 | spi@9540000 { |
| 509 | compatible = "st,comms-ssc4-spi"; |
| 510 | reg = <0x9540000 0x110>; |
| 511 | interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>; |
| 512 | clocks = <&clk_sysin>; |
| 513 | clock-names = "ssc"; |
Peter Griffin | 55fd9b1 | 2015-09-28 14:37:00 +0200 | [diff] [blame] | 514 | pinctrl-names = "default"; |
| 515 | pinctrl-0 = <&pinctrl_spi10_default>; |
Lee Jones | b0bb2ba | 2015-01-22 11:07:00 +0100 | [diff] [blame] | 516 | |
| 517 | status = "disabled"; |
| 518 | }; |
| 519 | |
| 520 | spi@9541000 { |
| 521 | compatible = "st,comms-ssc4-spi"; |
| 522 | reg = <0x9541000 0x110>; |
| 523 | interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>; |
| 524 | clocks = <&clk_sysin>; |
| 525 | clock-names = "ssc"; |
Peter Griffin | 55fd9b1 | 2015-09-28 14:37:00 +0200 | [diff] [blame] | 526 | pinctrl-names = "default"; |
| 527 | pinctrl-0 = <&pinctrl_spi11_default>; |
Lee Jones | b0bb2ba | 2015-01-22 11:07:00 +0100 | [diff] [blame] | 528 | |
| 529 | status = "disabled"; |
| 530 | }; |
| 531 | |
| 532 | spi@9542000 { |
| 533 | compatible = "st,comms-ssc4-spi"; |
| 534 | reg = <0x9542000 0x110>; |
| 535 | interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>; |
| 536 | clocks = <&clk_sysin>; |
| 537 | clock-names = "ssc"; |
Peter Griffin | 55fd9b1 | 2015-09-28 14:37:00 +0200 | [diff] [blame] | 538 | pinctrl-names = "default"; |
| 539 | pinctrl-0 = <&pinctrl_spi12_default>; |
Lee Jones | b0bb2ba | 2015-01-22 11:07:00 +0100 | [diff] [blame] | 540 | |
| 541 | status = "disabled"; |
| 542 | }; |
Peter Griffin | 9286ac4 | 2015-04-10 11:40:00 +0200 | [diff] [blame] | 543 | |
| 544 | mmc0: sdhci@09060000 { |
| 545 | compatible = "st,sdhci-stih407", "st,sdhci"; |
| 546 | status = "disabled"; |
| 547 | reg = <0x09060000 0x7ff>, <0x9061008 0x20>; |
| 548 | reg-names = "mmc", "top-mmc-delay"; |
| 549 | interrupts = <GIC_SPI 92 IRQ_TYPE_NONE>; |
| 550 | interrupt-names = "mmcirq"; |
| 551 | pinctrl-names = "default"; |
| 552 | pinctrl-0 = <&pinctrl_mmc0>; |
Lee Jones | 78567f1 | 2016-09-08 11:11:00 +0200 | [diff] [blame] | 553 | clock-names = "mmc", "icn"; |
| 554 | clocks = <&clk_s_c0_flexgen CLK_MMC_0>, |
| 555 | <&clk_s_c0_flexgen CLK_RX_ICN_HVA>; |
Peter Griffin | 9286ac4 | 2015-04-10 11:40:00 +0200 | [diff] [blame] | 556 | bus-width = <8>; |
Peter Griffin | 9286ac4 | 2015-04-10 11:40:00 +0200 | [diff] [blame] | 557 | }; |
| 558 | |
| 559 | mmc1: sdhci@09080000 { |
| 560 | compatible = "st,sdhci-stih407", "st,sdhci"; |
| 561 | status = "disabled"; |
| 562 | reg = <0x09080000 0x7ff>; |
| 563 | reg-names = "mmc"; |
| 564 | interrupts = <GIC_SPI 90 IRQ_TYPE_NONE>; |
| 565 | interrupt-names = "mmcirq"; |
| 566 | pinctrl-names = "default"; |
| 567 | pinctrl-0 = <&pinctrl_sd1>; |
Lee Jones | 78567f1 | 2016-09-08 11:11:00 +0200 | [diff] [blame] | 568 | clock-names = "mmc", "icn"; |
| 569 | clocks = <&clk_s_c0_flexgen CLK_MMC_1>, |
| 570 | <&clk_s_c0_flexgen CLK_RX_ICN_HVA>; |
Peter Griffin | 9286ac4 | 2015-04-10 11:40:00 +0200 | [diff] [blame] | 571 | resets = <&softreset STIH407_MMC1_SOFTRESET>; |
| 572 | bus-width = <4>; |
| 573 | }; |
Lee Jones | 358764f | 2015-04-09 16:47:00 +0200 | [diff] [blame] | 574 | |
| 575 | /* Watchdog and Real-Time Clock */ |
| 576 | lpc@8787000 { |
| 577 | compatible = "st,stih407-lpc"; |
| 578 | reg = <0x8787000 0x1000>; |
| 579 | interrupts = <GIC_SPI 129 IRQ_TYPE_EDGE_RISING>; |
| 580 | clocks = <&clk_s_d3_flexgen CLK_LPC_0>; |
| 581 | timeout-sec = <120>; |
| 582 | st,syscfg = <&syscfg_core>; |
| 583 | st,lpc-mode = <ST_LPC_MODE_WDT>; |
| 584 | }; |
| 585 | |
| 586 | lpc@8788000 { |
| 587 | compatible = "st,stih407-lpc"; |
| 588 | reg = <0x8788000 0x1000>; |
| 589 | interrupts = <GIC_SPI 130 IRQ_TYPE_EDGE_RISING>; |
| 590 | clocks = <&clk_s_d3_flexgen CLK_LPC_1>; |
Lee Jones | 3d90bc0 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 591 | st,lpc-mode = <ST_LPC_MODE_CLKSRC>; |
Lee Jones | 358764f | 2015-04-09 16:47:00 +0200 | [diff] [blame] | 592 | }; |
Peter Griffin | b3d37f9 | 2015-03-31 09:35:00 +0200 | [diff] [blame] | 593 | |
| 594 | sata0: sata@9b20000 { |
| 595 | compatible = "st,ahci"; |
| 596 | reg = <0x9b20000 0x1000>; |
| 597 | |
| 598 | interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>; |
| 599 | interrupt-names = "hostc"; |
| 600 | |
| 601 | phys = <&phy_port0 PHY_TYPE_SATA>; |
| 602 | phy-names = "ahci_phy"; |
| 603 | |
| 604 | resets = <&powerdown STIH407_SATA0_POWERDOWN>, |
| 605 | <&softreset STIH407_SATA0_SOFTRESET>, |
| 606 | <&softreset STIH407_SATA0_PWR_SOFTRESET>; |
| 607 | reset-names = "pwr-dwn", "sw-rst", "pwr-rst"; |
| 608 | |
| 609 | clock-names = "ahci_clk"; |
| 610 | clocks = <&clk_s_c0_flexgen CLK_ICN_REG>; |
| 611 | |
Patrice Chotard | ecb8af4 | 2016-08-15 14:17:00 +0200 | [diff] [blame] | 612 | ports-implemented = <0x1>; |
| 613 | |
Peter Griffin | b3d37f9 | 2015-03-31 09:35:00 +0200 | [diff] [blame] | 614 | status = "disabled"; |
| 615 | }; |
| 616 | |
| 617 | sata1: sata@9b28000 { |
| 618 | compatible = "st,ahci"; |
| 619 | reg = <0x9b28000 0x1000>; |
| 620 | |
| 621 | interrupts = <GIC_SPI 170 IRQ_TYPE_NONE>; |
| 622 | interrupt-names = "hostc"; |
| 623 | |
| 624 | phys = <&phy_port1 PHY_TYPE_SATA>; |
| 625 | phy-names = "ahci_phy"; |
| 626 | |
| 627 | resets = <&powerdown STIH407_SATA1_POWERDOWN>, |
| 628 | <&softreset STIH407_SATA1_SOFTRESET>, |
| 629 | <&softreset STIH407_SATA1_PWR_SOFTRESET>; |
| 630 | reset-names = "pwr-dwn", |
| 631 | "sw-rst", |
| 632 | "pwr-rst"; |
| 633 | |
| 634 | clock-names = "ahci_clk"; |
| 635 | clocks = <&clk_s_c0_flexgen CLK_ICN_REG>; |
| 636 | |
Patrice Chotard | ecb8af4 | 2016-08-15 14:17:00 +0200 | [diff] [blame] | 637 | ports-implemented = <0x1>; |
| 638 | |
Peter Griffin | b3d37f9 | 2015-03-31 09:35:00 +0200 | [diff] [blame] | 639 | status = "disabled"; |
| 640 | }; |
Peter Griffin | fd55599 | 2015-04-30 15:30:00 +0200 | [diff] [blame] | 641 | |
Lee Jones | cd9f59c | 2015-07-07 17:06:00 +0200 | [diff] [blame] | 642 | |
Peter Griffin | fd55599 | 2015-04-30 15:30:00 +0200 | [diff] [blame] | 643 | st_dwc3: dwc3@8f94000 { |
| 644 | compatible = "st,stih407-dwc3"; |
| 645 | reg = <0x08f94000 0x1000>, <0x110 0x4>; |
| 646 | reg-names = "reg-glue", "syscfg-reg"; |
| 647 | st,syscfg = <&syscfg_core>; |
| 648 | resets = <&powerdown STIH407_USB3_POWERDOWN>, |
| 649 | <&softreset STIH407_MIPHY2_SOFTRESET>; |
| 650 | reset-names = "powerdown", "softreset"; |
| 651 | #address-cells = <1>; |
| 652 | #size-cells = <1>; |
| 653 | pinctrl-names = "default"; |
| 654 | pinctrl-0 = <&pinctrl_usb3>; |
| 655 | ranges; |
| 656 | |
| 657 | status = "disabled"; |
| 658 | |
| 659 | dwc3: dwc3@9900000 { |
| 660 | compatible = "snps,dwc3"; |
| 661 | reg = <0x09900000 0x100000>; |
| 662 | interrupts = <GIC_SPI 155 IRQ_TYPE_NONE>; |
| 663 | dr_mode = "host"; |
| 664 | phy-names = "usb2-phy", "usb3-phy"; |
| 665 | phys = <&usb2_picophy0>, |
| 666 | <&phy_port2 PHY_TYPE_USB3>; |
Patrice Chotard | 8413299 | 2017-01-27 15:45:11 +0100 | [diff] [blame] | 667 | snps,dis_u3_susphy_quirk; |
Peter Griffin | fd55599 | 2015-04-30 15:30:00 +0200 | [diff] [blame] | 668 | }; |
| 669 | }; |
Lee Jones | cd9f59c | 2015-07-07 17:06:00 +0200 | [diff] [blame] | 670 | |
| 671 | /* COMMS PWM Module */ |
| 672 | pwm0: pwm@9810000 { |
| 673 | compatible = "st,sti-pwm"; |
Lee Jones | cd9f59c | 2015-07-07 17:06:00 +0200 | [diff] [blame] | 674 | #pwm-cells = <2>; |
| 675 | reg = <0x9810000 0x68>; |
Lee Jones | 65086c2 | 2016-08-16 11:34:00 +0200 | [diff] [blame] | 676 | interrupts = <GIC_SPI 128 IRQ_TYPE_NONE>; |
Lee Jones | cd9f59c | 2015-07-07 17:06:00 +0200 | [diff] [blame] | 677 | pinctrl-names = "default"; |
| 678 | pinctrl-0 = <&pinctrl_pwm0_chan0_default>; |
| 679 | clock-names = "pwm"; |
| 680 | clocks = <&clk_sysin>; |
| 681 | st,pwm-num-chan = <1>; |
Maxime Coquelin | 8aa5f09 | 2015-09-23 02:47:44 +0200 | [diff] [blame] | 682 | |
| 683 | status = "disabled"; |
Lee Jones | cd9f59c | 2015-07-07 17:06:00 +0200 | [diff] [blame] | 684 | }; |
| 685 | |
| 686 | /* SBC PWM Module */ |
| 687 | pwm1: pwm@9510000 { |
| 688 | compatible = "st,sti-pwm"; |
Lee Jones | cd9f59c | 2015-07-07 17:06:00 +0200 | [diff] [blame] | 689 | #pwm-cells = <2>; |
| 690 | reg = <0x9510000 0x68>; |
Patrice Chotard | c58736c | 2017-01-27 17:34:03 +0100 | [diff] [blame] | 691 | interrupts = <GIC_SPI 131 IRQ_TYPE_NONE>; |
Lee Jones | cd9f59c | 2015-07-07 17:06:00 +0200 | [diff] [blame] | 692 | pinctrl-names = "default"; |
| 693 | pinctrl-0 = <&pinctrl_pwm1_chan0_default |
| 694 | &pinctrl_pwm1_chan1_default |
| 695 | &pinctrl_pwm1_chan2_default |
| 696 | &pinctrl_pwm1_chan3_default>; |
| 697 | clock-names = "pwm"; |
| 698 | clocks = <&clk_sysin>; |
| 699 | st,pwm-num-chan = <4>; |
Maxime Coquelin | 8aa5f09 | 2015-09-23 02:47:44 +0200 | [diff] [blame] | 700 | |
| 701 | status = "disabled"; |
Lee Jones | cd9f59c | 2015-07-07 17:06:00 +0200 | [diff] [blame] | 702 | }; |
Lee Jones | cae010a | 2015-09-17 15:45:00 +0200 | [diff] [blame] | 703 | |
| 704 | rng10: rng@08a89000 { |
| 705 | compatible = "st,rng"; |
| 706 | reg = <0x08a89000 0x1000>; |
| 707 | clocks = <&clk_sysin>; |
| 708 | status = "okay"; |
| 709 | }; |
| 710 | |
| 711 | rng11: rng@08a8a000 { |
| 712 | compatible = "st,rng"; |
| 713 | reg = <0x08a8a000 0x1000>; |
| 714 | clocks = <&clk_sysin>; |
| 715 | status = "okay"; |
| 716 | }; |
Maxime Coquelin | ab511d7 | 2015-10-01 17:44:41 +0200 | [diff] [blame] | 717 | |
| 718 | ethernet0: dwmac@9630000 { |
| 719 | device_type = "network"; |
| 720 | status = "disabled"; |
| 721 | compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710"; |
| 722 | reg = <0x9630000 0x8000>, <0x80 0x4>; |
| 723 | reg-names = "stmmaceth", "sti-ethconf"; |
| 724 | |
| 725 | st,syscon = <&syscfg_sbc_reg 0x80>; |
| 726 | st,gmac_en; |
| 727 | resets = <&softreset STIH407_ETH1_SOFTRESET>; |
| 728 | reset-names = "stmmaceth"; |
| 729 | |
| 730 | interrupts = <GIC_SPI 98 IRQ_TYPE_NONE>, |
| 731 | <GIC_SPI 99 IRQ_TYPE_NONE>; |
| 732 | interrupt-names = "macirq", "eth_wake_irq"; |
| 733 | |
| 734 | /* DMA Bus Mode */ |
| 735 | snps,pbl = <8>; |
| 736 | |
| 737 | pinctrl-names = "default"; |
| 738 | pinctrl-0 = <&pinctrl_rgmii1>; |
| 739 | |
| 740 | clock-names = "stmmaceth", "sti-ethclk"; |
| 741 | clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>, |
| 742 | <&clk_s_c0_flexgen CLK_ETH_PHY>; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 743 | }; |
Lee Jones | ba25d8b | 2015-09-17 14:45:56 +0100 | [diff] [blame] | 744 | |
Benjamin Gaignard | 7d1837f | 2016-09-15 04:37:45 -0300 | [diff] [blame] | 745 | cec: sti-cec@094a087c { |
| 746 | compatible = "st,stih-cec"; |
| 747 | reg = <0x94a087c 0x64>; |
| 748 | clocks = <&clk_sysin>; |
| 749 | clock-names = "cec-clk"; |
| 750 | interrupts = <GIC_SPI 140 IRQ_TYPE_NONE>; |
| 751 | interrupt-names = "cec-irq"; |
| 752 | pinctrl-names = "default"; |
| 753 | pinctrl-0 = <&pinctrl_cec0_default>; |
| 754 | resets = <&softreset STIH407_LPM_SOFTRESET>; |
| 755 | }; |
| 756 | |
Lee Jones | ba25d8b | 2015-09-17 14:45:56 +0100 | [diff] [blame] | 757 | rng10: rng@08a89000 { |
| 758 | compatible = "st,rng"; |
| 759 | reg = <0x08a89000 0x1000>; |
| 760 | clocks = <&clk_sysin>; |
| 761 | status = "okay"; |
| 762 | }; |
| 763 | |
| 764 | rng11: rng@08a8a000 { |
| 765 | compatible = "st,rng"; |
| 766 | reg = <0x08a8a000 0x1000>; |
| 767 | clocks = <&clk_sysin>; |
| 768 | status = "okay"; |
| 769 | }; |
Lee Jones | 6e966f1 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 770 | |
| 771 | mailbox0: mailbox@8f00000 { |
| 772 | compatible = "st,stih407-mailbox"; |
| 773 | reg = <0x8f00000 0x1000>; |
| 774 | interrupts = <GIC_SPI 1 IRQ_TYPE_NONE>; |
| 775 | #mbox-cells = <2>; |
| 776 | mbox-name = "a9"; |
| 777 | status = "okay"; |
| 778 | }; |
| 779 | |
| 780 | mailbox1: mailbox@8f01000 { |
| 781 | compatible = "st,stih407-mailbox"; |
| 782 | reg = <0x8f01000 0x1000>; |
| 783 | #mbox-cells = <2>; |
| 784 | mbox-name = "st231_gp_1"; |
| 785 | status = "okay"; |
| 786 | }; |
| 787 | |
| 788 | mailbox2: mailbox@8f02000 { |
| 789 | compatible = "st,stih407-mailbox"; |
| 790 | reg = <0x8f02000 0x1000>; |
| 791 | #mbox-cells = <2>; |
| 792 | mbox-name = "st231_gp_0"; |
| 793 | status = "okay"; |
| 794 | }; |
| 795 | |
| 796 | mailbox3: mailbox@8f03000 { |
| 797 | compatible = "st,stih407-mailbox"; |
| 798 | reg = <0x8f03000 0x1000>; |
| 799 | #mbox-cells = <2>; |
| 800 | mbox-name = "st231_audio_video"; |
| 801 | status = "okay"; |
| 802 | }; |
Lee Jones | 3ff0a01 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 803 | |
Lee Jones | fe135c6 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 804 | st231_gp0: remote-processor { |
Lee Jones | 3ff0a01 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 805 | compatible = "st,st231-rproc"; |
Lee Jones | fe135c6 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 806 | memory-region = <&gp0_reserved>; |
Lee Jones | 3ff0a01 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 807 | resets = <&softreset STIH407_ST231_GP0_SOFTRESET>; |
| 808 | reset-names = "sw_reset"; |
| 809 | clocks = <&clk_s_c0_flexgen CLK_ST231_GP_0>; |
| 810 | clock-frequency = <600000000>; |
| 811 | st,syscfg = <&syscfg_core 0x22c>; |
Patrice Chotard | eea6b61 | 2017-01-12 14:17:35 +0100 | [diff] [blame] | 812 | #mbox-cells = <1>; |
| 813 | mbox-names = "vq0_rx", "vq0_tx", "vq1_rx", "vq1_tx"; |
| 814 | mboxes = <&mailbox0 0 2>, <&mailbox2 0 1>, <&mailbox0 0 3>, <&mailbox2 0 0>; |
Lee Jones | 3ff0a01 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 815 | }; |
| 816 | |
Patrice Chotard | 2196cb8 | 2017-01-12 14:15:21 +0100 | [diff] [blame] | 817 | st231_delta: remote-processor { |
Lee Jones | 3ff0a01 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 818 | compatible = "st,st231-rproc"; |
Patrice Chotard | 2196cb8 | 2017-01-12 14:15:21 +0100 | [diff] [blame] | 819 | memory-region = <&delta_reserved>; |
Lee Jones | 3ff0a01 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 820 | resets = <&softreset STIH407_ST231_DMU_SOFTRESET>; |
| 821 | reset-names = "sw_reset"; |
| 822 | clocks = <&clk_s_c0_flexgen CLK_ST231_DMU>; |
| 823 | clock-frequency = <600000000>; |
| 824 | st,syscfg = <&syscfg_core 0x224>; |
Patrice Chotard | 2016ead | 2017-01-12 14:19:39 +0100 | [diff] [blame] | 825 | #mbox-cells = <1>; |
| 826 | mbox-names = "vq0_rx", "vq0_tx", "vq1_rx", "vq1_tx"; |
| 827 | mboxes = <&mailbox0 0 0>, <&mailbox3 0 1>, <&mailbox0 0 1>, <&mailbox3 0 0>; |
Lee Jones | 3ff0a01 | 2016-04-21 17:07:00 +0200 | [diff] [blame] | 828 | }; |
Peter Griffin | 399ce40 | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 829 | |
| 830 | /* fdma audio */ |
| 831 | fdma0: dma-controller@8e20000 { |
| 832 | compatible = "st,stih407-fdma-mpe31-11", "st,slim-rproc"; |
| 833 | reg = <0x8e20000 0x8000>, |
| 834 | <0x8e30000 0x3000>, |
| 835 | <0x8e37000 0x1000>, |
| 836 | <0x8e38000 0x8000>; |
| 837 | reg-names = "slimcore", "dmem", "peripherals", "imem"; |
| 838 | clocks = <&clk_s_c0_flexgen CLK_FDMA>, |
| 839 | <&clk_s_c0_flexgen CLK_EXT2F_A9>, |
| 840 | <&clk_s_c0_flexgen CLK_EXT2F_A9>, |
| 841 | <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
| 842 | interrupts = <GIC_SPI 5 IRQ_TYPE_NONE>; |
| 843 | dma-channels = <16>; |
| 844 | #dma-cells = <3>; |
| 845 | }; |
| 846 | |
| 847 | /* fdma app */ |
| 848 | fdma1: dma-controller@8e40000 { |
| 849 | compatible = "st,stih407-fdma-mpe31-12", "st,slim-rproc"; |
| 850 | reg = <0x8e40000 0x8000>, |
| 851 | <0x8e50000 0x3000>, |
| 852 | <0x8e57000 0x1000>, |
| 853 | <0x8e58000 0x8000>; |
| 854 | reg-names = "slimcore", "dmem", "peripherals", "imem"; |
| 855 | clocks = <&clk_s_c0_flexgen CLK_FDMA>, |
| 856 | <&clk_s_c0_flexgen CLK_TX_ICN_DMU>, |
| 857 | <&clk_s_c0_flexgen CLK_TX_ICN_DMU>, |
| 858 | <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
| 859 | |
| 860 | interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; |
| 861 | dma-channels = <16>; |
| 862 | #dma-cells = <3>; |
Patrice Chotard | b32a229 | 2016-12-08 17:04:44 +0100 | [diff] [blame] | 863 | |
| 864 | status = "disabled"; |
Peter Griffin | 399ce40 | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 865 | }; |
| 866 | |
| 867 | /* fdma free running */ |
| 868 | fdma2: dma-controller@8e60000 { |
| 869 | compatible = "st,stih407-fdma-mpe31-13", "st,slim-rproc"; |
| 870 | reg = <0x8e60000 0x8000>, |
| 871 | <0x8e70000 0x3000>, |
| 872 | <0x8e77000 0x1000>, |
| 873 | <0x8e78000 0x8000>; |
| 874 | reg-names = "slimcore", "dmem", "peripherals", "imem"; |
| 875 | interrupts = <GIC_SPI 9 IRQ_TYPE_NONE>; |
| 876 | dma-channels = <16>; |
| 877 | #dma-cells = <3>; |
| 878 | clocks = <&clk_s_c0_flexgen CLK_FDMA>, |
| 879 | <&clk_s_c0_flexgen CLK_EXT2F_A9>, |
| 880 | <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>, |
| 881 | <&clk_s_c0_flexgen CLK_EXT2F_A9>; |
Patrice Chotard | b32a229 | 2016-12-08 17:04:44 +0100 | [diff] [blame] | 882 | |
| 883 | status = "disabled"; |
Peter Griffin | 399ce40 | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 884 | }; |
Peter Griffin | 9cf807f | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 885 | |
| 886 | sti_sasg_codec: sti-sasg-codec { |
| 887 | compatible = "st,stih407-sas-codec"; |
| 888 | #sound-dai-cells = <1>; |
| 889 | status = "disabled"; |
| 890 | st,syscfg = <&syscfg_core>; |
| 891 | }; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 892 | |
| 893 | sti_uni_player0: sti-uni-player@8d80000 { |
Arnaud Pouliquen | a6f1c53 | 2016-10-04 18:11:00 +0200 | [diff] [blame] | 894 | compatible = "st,stih407-uni-player-hdmi"; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 895 | #sound-dai-cells = <0>; |
| 896 | st,syscfg = <&syscfg_core>; |
| 897 | clocks = <&clk_s_d0_flexgen CLK_PCM_0>; |
| 898 | assigned-clocks = <&clk_s_d0_quadfs 0>, <&clk_s_d0_flexgen CLK_PCM_0>; |
| 899 | assigned-clock-parents = <0>, <&clk_s_d0_quadfs 0>; |
| 900 | assigned-clock-rates = <50000000>; |
| 901 | reg = <0x8d80000 0x158>; |
| 902 | interrupts = <GIC_SPI 84 IRQ_TYPE_NONE>; |
| 903 | dmas = <&fdma0 2 0 1>; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 904 | dma-names = "tx"; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 905 | |
| 906 | status = "disabled"; |
| 907 | }; |
| 908 | |
| 909 | sti_uni_player1: sti-uni-player@8d81000 { |
Arnaud Pouliquen | a6f1c53 | 2016-10-04 18:11:00 +0200 | [diff] [blame] | 910 | compatible = "st,stih407-uni-player-pcm-out"; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 911 | #sound-dai-cells = <0>; |
| 912 | st,syscfg = <&syscfg_core>; |
| 913 | clocks = <&clk_s_d0_flexgen CLK_PCM_1>; |
| 914 | assigned-clocks = <&clk_s_d0_quadfs 1>, <&clk_s_d0_flexgen CLK_PCM_1>; |
| 915 | assigned-clock-parents = <0>, <&clk_s_d0_quadfs 1>; |
| 916 | assigned-clock-rates = <50000000>; |
| 917 | reg = <0x8d81000 0x158>; |
| 918 | interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>; |
| 919 | dmas = <&fdma0 3 0 1>; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 920 | dma-names = "tx"; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 921 | |
| 922 | status = "disabled"; |
| 923 | }; |
| 924 | |
| 925 | sti_uni_player2: sti-uni-player@8d82000 { |
Arnaud Pouliquen | a6f1c53 | 2016-10-04 18:11:00 +0200 | [diff] [blame] | 926 | compatible = "st,stih407-uni-player-dac"; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 927 | #sound-dai-cells = <0>; |
| 928 | st,syscfg = <&syscfg_core>; |
| 929 | clocks = <&clk_s_d0_flexgen CLK_PCM_2>; |
| 930 | assigned-clocks = <&clk_s_d0_quadfs 2>, <&clk_s_d0_flexgen CLK_PCM_2>; |
| 931 | assigned-clock-parents = <0>, <&clk_s_d0_quadfs 2>; |
| 932 | assigned-clock-rates = <50000000>; |
| 933 | reg = <0x8d82000 0x158>; |
| 934 | interrupts = <GIC_SPI 86 IRQ_TYPE_NONE>; |
| 935 | dmas = <&fdma0 4 0 1>; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 936 | dma-names = "tx"; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 937 | |
| 938 | status = "disabled"; |
| 939 | }; |
| 940 | |
| 941 | sti_uni_player3: sti-uni-player@8d85000 { |
Arnaud Pouliquen | a6f1c53 | 2016-10-04 18:11:00 +0200 | [diff] [blame] | 942 | compatible = "st,stih407-uni-player-spdif"; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 943 | #sound-dai-cells = <0>; |
| 944 | st,syscfg = <&syscfg_core>; |
| 945 | clocks = <&clk_s_d0_flexgen CLK_SPDIFF>; |
| 946 | assigned-clocks = <&clk_s_d0_quadfs 3>, <&clk_s_d0_flexgen CLK_SPDIFF>; |
| 947 | assigned-clock-parents = <0>, <&clk_s_d0_quadfs 3>; |
| 948 | assigned-clock-rates = <50000000>; |
| 949 | reg = <0x8d85000 0x158>; |
| 950 | interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>; |
| 951 | dmas = <&fdma0 7 0 1>; |
| 952 | dma-names = "tx"; |
Peter Griffin | 271739b | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 953 | |
| 954 | status = "disabled"; |
| 955 | }; |
Peter Griffin | 67f1ff4 | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 956 | |
| 957 | sti_uni_reader0: sti-uni-reader@8d83000 { |
Arnaud Pouliquen | a6f1c53 | 2016-10-04 18:11:00 +0200 | [diff] [blame] | 958 | compatible = "st,stih407-uni-reader-pcm_in"; |
Peter Griffin | 67f1ff4 | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 959 | #sound-dai-cells = <0>; |
| 960 | st,syscfg = <&syscfg_core>; |
| 961 | reg = <0x8d83000 0x158>; |
| 962 | interrupts = <GIC_SPI 87 IRQ_TYPE_NONE>; |
| 963 | dmas = <&fdma0 5 0 1>; |
| 964 | dma-names = "rx"; |
Peter Griffin | 67f1ff4 | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 965 | |
| 966 | status = "disabled"; |
| 967 | }; |
| 968 | |
| 969 | sti_uni_reader1: sti-uni-reader@8d84000 { |
Arnaud Pouliquen | a6f1c53 | 2016-10-04 18:11:00 +0200 | [diff] [blame] | 970 | compatible = "st,stih407-uni-reader-hdmi"; |
Peter Griffin | 67f1ff4 | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 971 | #sound-dai-cells = <0>; |
| 972 | st,syscfg = <&syscfg_core>; |
| 973 | reg = <0x8d84000 0x158>; |
| 974 | interrupts = <GIC_SPI 88 IRQ_TYPE_NONE>; |
| 975 | dmas = <&fdma0 6 0 1>; |
| 976 | dma-names = "rx"; |
Peter Griffin | 67f1ff4 | 2016-09-05 15:16:00 +0200 | [diff] [blame] | 977 | |
| 978 | status = "disabled"; |
| 979 | }; |
Hugues Fruchet | a1f32ff | 2017-02-02 12:59:45 -0200 | [diff] [blame] | 980 | |
| 981 | delta0 { |
| 982 | compatible = "st,st-delta"; |
| 983 | clock-names = "delta", |
| 984 | "delta-st231", |
| 985 | "delta-flash-promip"; |
| 986 | clocks = <&clk_s_c0_flexgen CLK_VID_DMU>, |
| 987 | <&clk_s_c0_flexgen CLK_ST231_DMU>, |
| 988 | <&clk_s_c0_flexgen CLK_FLASH_PROMIP>; |
| 989 | }; |
Maxime Coquelin | f563a57 | 2014-02-27 13:27:27 +0100 | [diff] [blame] | 990 | }; |
| 991 | }; |