mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 11:47:53 +07:00
1d91958fbe
Add fake reg property for usb2_picophy nodes. This allows to fix the following warning when compiling dtb with W=1 option : arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/phy2 missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/phy3 missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/phy2 missing or empty reg/ranges property arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg): Node /soc/phy3 missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /soc/phy2 missing or empty reg/ranges property arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg): Node /soc/phy3 missing or empty reg/ranges property Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
112 lines
3.1 KiB
Plaintext
112 lines
3.1 KiB
Plaintext
/*
|
|
* Copyright (C) 2014 STMicroelectronics Limited.
|
|
* Author: Peter Griffin <peter.griffin@linaro.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* publishhed by the Free Software Foundation.
|
|
*/
|
|
#include "stih418-clock.dtsi"
|
|
#include "stih407-family.dtsi"
|
|
#include "stih410-pinctrl.dtsi"
|
|
/ {
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
cpu@2 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a9";
|
|
reg = <2>;
|
|
/* u-boot puts hpen in SBC dmem at 0xa4 offset */
|
|
cpu-release-addr = <0x94100A4>;
|
|
};
|
|
cpu@3 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a9";
|
|
reg = <3>;
|
|
/* u-boot puts hpen in SBC dmem at 0xa4 offset */
|
|
cpu-release-addr = <0x94100A4>;
|
|
};
|
|
};
|
|
|
|
soc {
|
|
usb2_picophy1: phy2@0 {
|
|
compatible = "st,stih407-usb2-phy";
|
|
reg = <0 0>;
|
|
#phy-cells = <0>;
|
|
st,syscfg = <&syscfg_core 0xf8 0xf4>;
|
|
resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
|
|
<&picophyreset STIH407_PICOPHY0_RESET>;
|
|
reset-names = "global", "port";
|
|
};
|
|
|
|
usb2_picophy2: phy3@0 {
|
|
compatible = "st,stih407-usb2-phy";
|
|
reg = <0 0>;
|
|
#phy-cells = <0>;
|
|
st,syscfg = <&syscfg_core 0xfc 0xf4>;
|
|
resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
|
|
<&picophyreset STIH407_PICOPHY1_RESET>;
|
|
reset-names = "global", "port";
|
|
};
|
|
|
|
ohci0: usb@9a03c00 {
|
|
compatible = "st,st-ohci-300x";
|
|
reg = <0x9a03c00 0x100>;
|
|
interrupts = <GIC_SPI 180 IRQ_TYPE_NONE>;
|
|
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
|
|
resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
|
|
<&softreset STIH407_USB2_PORT0_SOFTRESET>;
|
|
reset-names = "power", "softreset";
|
|
phys = <&usb2_picophy1>;
|
|
phy-names = "usb";
|
|
};
|
|
|
|
ehci0: usb@9a03e00 {
|
|
compatible = "st,st-ehci-300x";
|
|
reg = <0x9a03e00 0x100>;
|
|
interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_usb0>;
|
|
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
|
|
resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
|
|
<&softreset STIH407_USB2_PORT0_SOFTRESET>;
|
|
reset-names = "power", "softreset";
|
|
phys = <&usb2_picophy1>;
|
|
phy-names = "usb";
|
|
};
|
|
|
|
ohci1: usb@9a83c00 {
|
|
compatible = "st,st-ohci-300x";
|
|
reg = <0x9a83c00 0x100>;
|
|
interrupts = <GIC_SPI 181 IRQ_TYPE_NONE>;
|
|
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
|
|
resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
|
|
<&softreset STIH407_USB2_PORT1_SOFTRESET>;
|
|
reset-names = "power", "softreset";
|
|
phys = <&usb2_picophy2>;
|
|
phy-names = "usb";
|
|
};
|
|
|
|
ehci1: usb@9a83e00 {
|
|
compatible = "st,st-ehci-300x";
|
|
reg = <0x9a83e00 0x100>;
|
|
interrupts = <GIC_SPI 153 IRQ_TYPE_NONE>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_usb1>;
|
|
clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
|
|
resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
|
|
<&softreset STIH407_USB2_PORT1_SOFTRESET>;
|
|
reset-names = "power", "softreset";
|
|
phys = <&usb2_picophy2>;
|
|
phy-names = "usb";
|
|
};
|
|
|
|
mmc0: sdhci@9060000 {
|
|
assigned-clocks = <&clk_s_c0_flexgen CLK_MMC_0>;
|
|
assigned-clock-parents = <&clk_s_c0_pll1 0>;
|
|
assigned-clock-rates = <200000000>;
|
|
};
|
|
};
|
|
};
|