mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: imx6dl-yapp4: Fix the QCA switch register address
@ 2024-02-12 15:23 Michal Vokáč
  2024-02-12 15:23 ` [PATCH 2/2] ARM: dts: imx6dl-yapp4: Move the internal switch PHYs under the switch node Michal Vokáč
  2024-02-12 16:08 ` [PATCH 1/2] ARM: dts: imx6dl-yapp4: Fix the QCA switch register address Andrew Lunn
  0 siblings, 2 replies; 6+ messages in thread
From: Michal Vokáč @ 2024-02-12 15:23 UTC (permalink / raw)
  To: Shawn Guo, Fabio Estevam
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sascha Hauer,
	Pengutronix Kernel Team, NXP Linux Team, devicetree,
	linux-arm-kernel, linux-kernel, Andrew Lunn,
	Michal Vokáč

The switch address in the node name is in hex while the address in the reg
property is decimal which is wrong. Fix that and write the reg address
as a hexadecimal number.

Fixes: 15b43e497ffd ("ARM: dts: imx6dl-yapp4: Use correct pseudo PHY address for the switch")
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
---
 arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-common.dtsi
index cfb0fc924b42..5763f8253d51 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-common.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-common.dtsi
@@ -143,7 +143,7 @@
 
 		switch@10 {
 			compatible = "qca,qca8334";
-			reg = <10>;
+			reg = <0x10>;
 			reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
 
 			switch_ports: ports {
-- 
2.1.4


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-13 14:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-12 15:23 [PATCH 1/2] ARM: dts: imx6dl-yapp4: Fix the QCA switch register address Michal Vokáč
2024-02-12 15:23 ` [PATCH 2/2] ARM: dts: imx6dl-yapp4: Move the internal switch PHYs under the switch node Michal Vokáč
2024-02-12 16:08 ` [PATCH 1/2] ARM: dts: imx6dl-yapp4: Fix the QCA switch register address Andrew Lunn
2024-02-13 12:20   ` Michal Vokáč
2024-02-13 13:10     ` Andrew Lunn
2024-02-13 14:14       ` Michal Vokáč

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®