From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 16 Oct 2024 01:20:19 +0000
Subject: [PATCH] 修改GPIO导出默认初始值
---
kernel/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/kernel/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts b/kernel/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
index c7143a9d..c2a266a 100644
--- a/kernel/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
+++ b/kernel/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
@@ -15,7 +15,8 @@
bootargs = "console=ttyS0,115200 earlycon";
};
- memory {
+ memory@0 {
+ device_type = "memory";
reg = <0x00000000 0x08000000>;
};
@@ -103,6 +104,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>;
+ };
+ };
};
&usb3_phy {
--
Gitblit v1.6.2