From 748e4f3d702def1a4bff191e0cf93b6a05340f01 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:41:34 +0000 Subject: [PATCH] add gpio led uart --- kernel/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts | 30 +++++++++++++++++++++++++++--- 1 files changed, 27 insertions(+), 3 deletions(-) diff --git a/kernel/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts b/kernel/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts index e7fdaed..810fc32 100644 --- a/kernel/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts +++ b/kernel/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts @@ -15,7 +15,8 @@ bootargs = "console=ttyS0,115200 earlycon"; }; - memory { + memory@0 { + device_type = "memory"; reg = <0x00000000 0x08000000>; }; @@ -43,8 +44,6 @@ gpio-keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; restart { label = "Reset"; @@ -61,3 +60,28 @@ &usb3_phy { status = "okay"; }; + +&srab { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + label = "poe"; + }; + + port@4 { + reg = <4>; + label = "lan"; + }; + + port@5 { + reg = <5>; + label = "cpu"; + ethernet = <&gmac0>; + }; + }; +}; -- Gitblit v1.6.2