OSDN Git Service

ARM: dts: at91: ksz9477_evb: Add missing timer nodes
authorLukasz Majewski <lukma@denx.de>
Wed, 12 Jul 2023 15:21:11 +0000 (17:21 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Mon, 31 Jul 2023 05:17:46 +0000 (08:17 +0300)
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

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Link: https://lore.kernel.org/r/20230712152111.3756211-1-lukma@denx.de
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts

index 14af1fd..99cd6d1 100644 (file)
        };
 };
 
+&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>;