Skip to content

Commit d4923df

Browse files
committed
Add BPI R3 Support
1 parent fa0b760 commit d4923df

22 files changed

+2556
-43
lines changed

defconfig/mt7986-ax6000.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ CONFIG_MTK_TXBF_SUPPORT=y
111111
CONFIG_MTK_UAPSD=y
112112
CONFIG_MTK_VLAN_SUPPORT=y
113113
CONFIG_MTK_VOW_SUPPORT=y
114+
CONFIG_MTK_LED_CONTROL_SUPPORT=y
114115
CONFIG_MTK_WARP_V2=y
115116
CONFIG_MTK_WDS_SUPPORT=y
116117
CONFIG_MTK_WHNAT_SUPPORT=m
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/ {
2+
nmbm_spim_nand {
3+
compatible = "generic,nmbm";
4+
5+
#address-cells = <1>;
6+
#size-cells = <1>;
7+
8+
lower-mtd-device = <&spi_nand>;
9+
forced-create;
10+
11+
partitions {
12+
compatible = "fixed-partitions";
13+
#address-cells = <1>;
14+
#size-cells = <1>;
15+
16+
partition@0 {
17+
label = "BL2";
18+
reg = <0x00000 0x0100000>;
19+
read-only;
20+
};
21+
22+
partition@100000 {
23+
label = "u-boot-env";
24+
reg = <0x0100000 0x0080000>;
25+
};
26+
27+
factory: partition@180000 {
28+
label = "Factory";
29+
reg = <0x180000 0x0200000>;
30+
};
31+
32+
partition@380000 {
33+
label = "FIP";
34+
reg = <0x380000 0x0200000>;
35+
};
36+
37+
};
38+
};
39+
};
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/ {
2+
nmbm_spim_nand {
3+
compatible = "generic,nmbm";
4+
5+
#address-cells = <1>;
6+
#size-cells = <1>;
7+
8+
lower-mtd-device = <&spi_nand>;
9+
forced-create;
10+
11+
partitions {
12+
compatible = "fixed-partitions";
13+
#address-cells = <1>;
14+
#size-cells = <1>;
15+
16+
partition@0 {
17+
label = "BL2";
18+
reg = <0x00000 0x0100000>;
19+
read-only;
20+
};
21+
22+
partition@100000 {
23+
label = "u-boot-env";
24+
reg = <0x0100000 0x0080000>;
25+
};
26+
27+
factory: partition@180000 {
28+
label = "Factory";
29+
reg = <0x180000 0x0200000>;
30+
};
31+
32+
partition@380000 {
33+
label = "FIP";
34+
reg = <0x380000 0x0200000>;
35+
};
36+
partition@580000 {
37+
label = "ubi";
38+
reg = <0x580000 0x7280000>;
39+
};
40+
41+
};
42+
};
43+
};

0 commit comments

Comments
 (0)