Thomas Gleixner | 1d0ea06 | 2019-05-29 16:57:46 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2014 STMicroelectronics Limited. |
| 4 | * Author: Peter Griffin <peter.griffin@linaro.org> |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 5 | */ |
| 6 | #include "stih418-clock.dtsi" |
| 7 | #include "stih407-family.dtsi" |
| 8 | #include "stih410-pinctrl.dtsi" |
| 9 | / { |
| 10 | cpus { |
| 11 | #address-cells = <1>; |
| 12 | #size-cells = <0>; |
| 13 | cpu@2 { |
| 14 | device_type = "cpu"; |
| 15 | compatible = "arm,cortex-a9"; |
| 16 | reg = <2>; |
Peter Griffin | 0a8c739 | 2015-06-09 15:33:00 +0200 | [diff] [blame] | 17 | /* u-boot puts hpen in SBC dmem at 0xa4 offset */ |
| 18 | cpu-release-addr = <0x94100A4>; |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 19 | }; |
| 20 | cpu@3 { |
| 21 | device_type = "cpu"; |
| 22 | compatible = "arm,cortex-a9"; |
| 23 | reg = <3>; |
Peter Griffin | 0a8c739 | 2015-06-09 15:33:00 +0200 | [diff] [blame] | 24 | /* u-boot puts hpen in SBC dmem at 0xa4 offset */ |
| 25 | cpu-release-addr = <0x94100A4>; |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 26 | }; |
| 27 | }; |
| 28 | |
| 29 | soc { |
Alain Volmat | 7b22ec0 | 2021-03-31 22:42:26 +0200 | [diff] [blame] | 30 | rng11: rng@8a8a000 { |
| 31 | status = "disabled"; |
| 32 | }; |
| 33 | |
Patrice Chotard | 1d91958 | 2018-01-19 11:18:19 +0100 | [diff] [blame] | 34 | usb2_picophy1: phy2@0 { |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 35 | compatible = "st,stih407-usb2-phy"; |
Patrice Chotard | 1d91958 | 2018-01-19 11:18:19 +0100 | [diff] [blame] | 36 | reg = <0 0>; |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 37 | #phy-cells = <0>; |
| 38 | st,syscfg = <&syscfg_core 0xf8 0xf4>; |
| 39 | resets = <&softreset STIH407_PICOPHY_SOFTRESET>, |
| 40 | <&picophyreset STIH407_PICOPHY0_RESET>; |
| 41 | reset-names = "global", "port"; |
| 42 | }; |
| 43 | |
Patrice Chotard | 1d91958 | 2018-01-19 11:18:19 +0100 | [diff] [blame] | 44 | usb2_picophy2: phy3@0 { |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 45 | compatible = "st,stih407-usb2-phy"; |
Patrice Chotard | 1d91958 | 2018-01-19 11:18:19 +0100 | [diff] [blame] | 46 | reg = <0 0>; |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 47 | #phy-cells = <0>; |
| 48 | st,syscfg = <&syscfg_core 0xfc 0xf4>; |
| 49 | resets = <&softreset STIH407_PICOPHY_SOFTRESET>, |
| 50 | <&picophyreset STIH407_PICOPHY1_RESET>; |
| 51 | reset-names = "global", "port"; |
| 52 | }; |
| 53 | |
| 54 | ohci0: usb@9a03c00 { |
| 55 | compatible = "st,st-ohci-300x"; |
| 56 | reg = <0x9a03c00 0x100>; |
Alain Volmat | 248a8ff | 2020-03-22 17:16:31 +0100 | [diff] [blame] | 57 | interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>; |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 58 | clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>; |
| 59 | resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>, |
| 60 | <&softreset STIH407_USB2_PORT0_SOFTRESET>; |
| 61 | reset-names = "power", "softreset"; |
| 62 | phys = <&usb2_picophy1>; |
| 63 | phy-names = "usb"; |
| 64 | }; |
| 65 | |
| 66 | ehci0: usb@9a03e00 { |
| 67 | compatible = "st,st-ehci-300x"; |
| 68 | reg = <0x9a03e00 0x100>; |
Alain Volmat | 248a8ff | 2020-03-22 17:16:31 +0100 | [diff] [blame] | 69 | interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>; |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 70 | pinctrl-names = "default"; |
| 71 | pinctrl-0 = <&pinctrl_usb0>; |
| 72 | clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>; |
| 73 | resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>, |
| 74 | <&softreset STIH407_USB2_PORT0_SOFTRESET>; |
| 75 | reset-names = "power", "softreset"; |
| 76 | phys = <&usb2_picophy1>; |
| 77 | phy-names = "usb"; |
| 78 | }; |
| 79 | |
| 80 | ohci1: usb@9a83c00 { |
| 81 | compatible = "st,st-ohci-300x"; |
| 82 | reg = <0x9a83c00 0x100>; |
Alain Volmat | 248a8ff | 2020-03-22 17:16:31 +0100 | [diff] [blame] | 83 | interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>; |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 84 | clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>; |
| 85 | resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>, |
| 86 | <&softreset STIH407_USB2_PORT1_SOFTRESET>; |
| 87 | reset-names = "power", "softreset"; |
| 88 | phys = <&usb2_picophy2>; |
| 89 | phy-names = "usb"; |
| 90 | }; |
| 91 | |
| 92 | ehci1: usb@9a83e00 { |
| 93 | compatible = "st,st-ehci-300x"; |
| 94 | reg = <0x9a83e00 0x100>; |
Alain Volmat | 248a8ff | 2020-03-22 17:16:31 +0100 | [diff] [blame] | 95 | interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 96 | pinctrl-names = "default"; |
| 97 | pinctrl-0 = <&pinctrl_usb1>; |
| 98 | clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>; |
| 99 | resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>, |
| 100 | <&softreset STIH407_USB2_PORT1_SOFTRESET>; |
| 101 | reset-names = "power", "softreset"; |
| 102 | phys = <&usb2_picophy2>; |
| 103 | phy-names = "usb"; |
| 104 | }; |
Gabriel Fernandez | 82c0581 | 2015-08-24 16:23:00 +0200 | [diff] [blame] | 105 | |
Rob Herring | 8dccafa | 2017-10-13 12:54:51 -0500 | [diff] [blame] | 106 | mmc0: sdhci@9060000 { |
Gabriel Fernandez | 82c0581 | 2015-08-24 16:23:00 +0200 | [diff] [blame] | 107 | assigned-clocks = <&clk_s_c0_flexgen CLK_MMC_0>; |
| 108 | assigned-clock-parents = <&clk_s_c0_pll1 0>; |
| 109 | assigned-clock-rates = <200000000>; |
| 110 | }; |
Alain Volmat | 11061d6 | 2021-03-31 22:42:27 +0200 | [diff] [blame] | 111 | |
| 112 | thermal@91a0000 { |
| 113 | compatible = "st,stih407-thermal"; |
| 114 | reg = <0x91a0000 0x28>; |
| 115 | clock-names = "thermal"; |
| 116 | clocks = <&clk_sysin>; |
| 117 | interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>; |
| 118 | }; |
Maxime COQUELIN | 63f3171 | 2015-01-09 16:11:00 +0100 | [diff] [blame] | 119 | }; |
| 120 | }; |