Commit 1d91958f authored by Patrice Chotard's avatar Patrice Chotard
Browse files

ARM: dts: STi: Add fake reg property for usb2_picophyX nodes



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: default avatarPatrice Chotard <patrice.chotard@st.com>
parent a3888717
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -385,8 +385,9 @@
			status = "disabled";
		};

		usb2_picophy0: phy1 {
		usb2_picophy0: phy1@0 {
			compatible = "st,stih407-usb2-phy";
			reg = <0 0>;
			#phy-cells = <0>;
			st,syscfg = <&syscfg_core 0x100 0xf4>;
			resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
+2 −2
Original line number Diff line number Diff line
@@ -37,11 +37,11 @@
			sd-uhs-ddr50;
		};

		usb2_picophy1: phy2 {
		usb2_picophy1: phy2@0 {
			status = "okay";
		};

		usb2_picophy2: phy3 {
		usb2_picophy2: phy3@0 {
			status = "okay";
		};

+2 −2
Original line number Diff line number Diff line
@@ -127,11 +127,11 @@
			status = "okay";
		};

		usb2_picophy1: phy2 {
		usb2_picophy1: phy2@0 {
			status = "okay";
		};

		usb2_picophy2: phy3 {
		usb2_picophy2: phy3@0 {
			status = "okay";
		};

+4 −2
Original line number Diff line number Diff line
@@ -16,8 +16,9 @@
	};

	soc {
		usb2_picophy1: phy2 {
		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>,
@@ -27,8 +28,9 @@
			status = "disabled";
		};

		usb2_picophy2: phy3 {
		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>,
+4 −2
Original line number Diff line number Diff line
@@ -30,8 +30,9 @@
	};

	soc {
		usb2_picophy1: phy2 {
		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>,
@@ -39,8 +40,9 @@
			reset-names = "global", "port";
		};

		usb2_picophy2: phy3 {
		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>,