blob: 97eda4392fbe955b7f79783197998d5366d44173 [file] [log] [blame]
Thomas Gleixner1d0ea062019-05-29 16:57:46 -07001// SPDX-License-Identifier: GPL-2.0-only
Maxime COQUELIN63f31712015-01-09 16:11:00 +01002/*
3 * Copyright (C) 2014 STMicroelectronics Limited.
4 * Author: Peter Griffin <peter.griffin@linaro.org>
Maxime COQUELIN63f31712015-01-09 16:11:00 +01005 */
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 Griffin0a8c7392015-06-09 15:33:00 +020017 /* u-boot puts hpen in SBC dmem at 0xa4 offset */
18 cpu-release-addr = <0x94100A4>;
Maxime COQUELIN63f31712015-01-09 16:11:00 +010019 };
20 cpu@3 {
21 device_type = "cpu";
22 compatible = "arm,cortex-a9";
23 reg = <3>;
Peter Griffin0a8c7392015-06-09 15:33:00 +020024 /* u-boot puts hpen in SBC dmem at 0xa4 offset */
25 cpu-release-addr = <0x94100A4>;
Maxime COQUELIN63f31712015-01-09 16:11:00 +010026 };
27 };
28
29 soc {
Alain Volmat7b22ec02021-03-31 22:42:26 +020030 rng11: rng@8a8a000 {
31 status = "disabled";
32 };
33
Patrice Chotard1d919582018-01-19 11:18:19 +010034 usb2_picophy1: phy2@0 {
Maxime COQUELIN63f31712015-01-09 16:11:00 +010035 compatible = "st,stih407-usb2-phy";
Patrice Chotard1d919582018-01-19 11:18:19 +010036 reg = <0 0>;
Maxime COQUELIN63f31712015-01-09 16:11:00 +010037 #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 Chotard1d919582018-01-19 11:18:19 +010044 usb2_picophy2: phy3@0 {
Maxime COQUELIN63f31712015-01-09 16:11:00 +010045 compatible = "st,stih407-usb2-phy";
Patrice Chotard1d919582018-01-19 11:18:19 +010046 reg = <0 0>;
Maxime COQUELIN63f31712015-01-09 16:11:00 +010047 #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 Volmat248a8ff2020-03-22 17:16:31 +010057 interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
Maxime COQUELIN63f31712015-01-09 16:11:00 +010058 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 Volmat248a8ff2020-03-22 17:16:31 +010069 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
Maxime COQUELIN63f31712015-01-09 16:11:00 +010070 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 Volmat248a8ff2020-03-22 17:16:31 +010083 interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
Maxime COQUELIN63f31712015-01-09 16:11:00 +010084 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 Volmat248a8ff2020-03-22 17:16:31 +010095 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
Maxime COQUELIN63f31712015-01-09 16:11:00 +010096 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 Fernandez82c05812015-08-24 16:23:00 +0200105
Rob Herring8dccafa2017-10-13 12:54:51 -0500106 mmc0: sdhci@9060000 {
Gabriel Fernandez82c05812015-08-24 16:23:00 +0200107 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 Volmat11061d62021-03-31 22:42:27 +0200111
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 COQUELIN63f31712015-01-09 16:11:00 +0100119 };
120};