From 9999e48639b3cecb08ffb37358bcba3b48161b29 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 08:50:17 +0000 Subject: [PATCH] add ax88772_rst --- kernel/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts | 33 ++++++++++++++++++++++++++++++--- 1 files changed, 30 insertions(+), 3 deletions(-) diff --git a/kernel/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts b/kernel/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts index 5f663f8..01c390e 100644 --- a/kernel/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts +++ b/kernel/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts @@ -15,7 +15,8 @@ bootargs = "earlycon"; }; - memory { + memory@0 { + device_type = "memory"; reg = <0x00000000 0x08000000>; }; @@ -75,8 +76,6 @@ gpio-keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; rfkill { label = "WiFi"; @@ -94,6 +93,34 @@ &spi_nor { status = "okay"; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + boot@0 { + label = "boot"; + reg = <0x000000 0x040000>; + read-only; + }; + + os-image@100000 { + label = "os-image"; + reg = <0x040000 0x200000>; + compatible = "brcm,trx"; + }; + + rootfs@240000 { + label = "rootfs"; + reg = <0x240000 0xc00000>; + }; + + nvram@ff0000 { + label = "nvram"; + reg = <0xff0000 0x010000>; + }; + }; }; &usb2 { -- Gitblit v1.6.2