Skip to contentSkip to conversation

ARM: dts: at91: ksz9477_evb: Add missing timer nodes

PATCH Applied Lukasz Majewski 3 participants 5 messages Jul 12, 2023 – Aug 2, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: at91: ksz9477_evb: Add missing timer nodes

Without this change the KSZ9477-EVB board hangs just after passing execution flow from u-boot to Linux kernel.

This code has been copied from at91-sama5d3_xplained.dts.

Test setup: Linux 6.5-rc1
Config:     arch/arm/configs/sama5_defconfig
Toolchain:  gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi
---
 .../boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts  | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +12 -0
index 14af1fd6d247..99cd6d15998b 100644
@@ -162,6 +162,18 @@
 	};
 };
 
+&tcb0 {
+	timer0: timer@0 {
+		compatible = "atmel,tcb-timer";
+		reg = <0>;
+	};
+
+	timer1: timer@1 {
+		compatible = "atmel,tcb-timer";
+		reg = <1>;
+	};
+};
+
 &usb0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usba_vbus>;
Signature · 1 line
2.20.1
#1 lore raw

Dear Community,

Quoted 27 lines

Without this change the KSZ9477-EVB board hangs just after passing execution flow from u-boot to Linux kernel.

This code has been copied from at91-sama5d3_xplained.dts.

Test setup: Linux 6.5-rc1
Config:     arch/arm/configs/sama5_defconfig
Toolchain:  gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi
---
 .../boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts  | 12

++++++++++++ 1 file changed, 12 insertions(+)

(quoted diff) +0 -0

b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts index 14af1fd6d247..99cd6d15998b 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts @@ -162,6 +162,18 @@ };
};

+&tcb0 {

arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +4 -0
+	timer0: timer@0 {
+		compatible = "atmel,tcb-timer";
+		reg = <0>;
+	};

arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts line 179

Quoted 10 lines
arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +7 -0
+
+	timer1: timer@1 {
+		compatible = "atmel,tcb-timer";
+		reg = <1>;
+	};
+};
+
 &usb0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usba_vbus>;

Gentle ping on this fix ...

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: [email protected]

#2 lore raw
Quoted 33 lines · Lukasz Majewski

Dear Community,

Quoted 31 lines

Without this change the KSZ9477-EVB board hangs just after passing execution flow from u-boot to Linux kernel.

This code has been copied from at91-sama5d3_xplained.dts.

Test setup: Linux 6.5-rc1
Config:     arch/arm/configs/sama5_defconfig
Toolchain:  gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi
---
 .../boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts  | 12

++++++++++++ 1 file changed, 12 insertions(+)

(quoted diff) +0 -0

b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts index 14af1fd6d247..99cd6d15998b 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts @@ -162,6 +162,18 @@ };
};

+&tcb0 {

arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +8 -0
+	timer0: timer@0 {
+		compatible = "atmel,tcb-timer";
+		reg = <0>;
+	};
+
+	timer1: timer@1 {
+		compatible = "atmel,tcb-timer";
+		reg = <1>;
Quoted 8 lines

arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts line 179

Quoted 6 lines
arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +3 -0
+	};
+};
+
 &usb0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_usba_vbus>;

Gentle ping on this fix ...

Claudiu has left Microchip, so things might've got a bit lost on the way. I've added his new address, Claudiu, will you take a look/pick this up please? I can also do it if that is easier for you.

Thanks,
Conor.

maintainer
#3 lore raw
Quoted 43 lines · Conor Dooley
Quoted 33 lines · Lukasz Majewski

Dear Community,

Quoted 31 lines

Without this change the KSZ9477-EVB board hangs just after passing execution flow from u-boot to Linux kernel.

This code has been copied from at91-sama5d3_xplained.dts.

Test setup: Linux 6.5-rc1
Config:     arch/arm/configs/sama5_defconfig
Toolchain:  gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi
---
  .../boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts  | 12

++++++++++++ 1 file changed, 12 insertions(+)

(quoted diff) +0 -0

b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts index 14af1fd6d247..99cd6d15998b 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts @@ -162,6 +162,18 @@ };
};

+&tcb0 {

arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +8 -0
+	timer0: timer@0 {
+		compatible = "atmel,tcb-timer";
+		reg = <0>;
+	};
+
+	timer1: timer@1 {
+		compatible = "atmel,tcb-timer";
+		reg = <1>;
Quoted 8 lines

arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts line 179

Quoted 6 lines
arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +3 -0
+	};
+};
+
  &usb0 {
  	pinctrl-names = "default";
  	pinctrl-0 = <&pinctrl_usba_vbus>;

Gentle ping on this fix ...

Quoted 3 lines

Claudiu has left Microchip, so things might've got a bit lost on the way. I've added his new address, Claudiu, will you take a look/pick this up please? I can also do it if that is easier for you.

It's on my list.

Thanks,
Claudiu

Quoted 9 lines

Thanks,
Conor.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer Applied
#4 lore raw
In reply to Lukasz Majewski
Quoted 12 lines · Lukasz Majewski

Dear Community,

Quoted 10 lines

Without this change the KSZ9477-EVB board hangs just after passing execution flow from u-boot to Linux kernel.

This code has been copied from at91-sama5d3_xplained.dts.

Test setup: Linux 6.5-rc1
Config:     arch/arm/configs/sama5_defconfig
Toolchain:  gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi

Applied to at91-dt, thanks!