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