ramips: fix bolt bl201 dts and update some device related value
1. add bolt_bl201 LED aliases
2. fix bolt_bl201 restart key gpio
3. make bolt_bl201 bootloader read-only
4. add bolt_bl201 partition settings
5. fix bolt_bl201 wrong gpio group
6. update bolt_bl201 LED and network switch settings
(cherry picked from commit 35751576f3)
This commit is contained in:
parent
25f66d9c49
commit
175c24ea94
@ -81,12 +81,24 @@
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio3 {
|
||||
status = "okay";
|
||||
};
|
||||
@ -107,12 +119,12 @@
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
label = "u-boot-env";
|
||||
reg = <0x30000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@40000 {
|
||||
@ -126,15 +138,38 @@
|
||||
label = "firmware";
|
||||
reg = <0x50000 0xf80000>;
|
||||
};
|
||||
|
||||
partition@fd0000 {
|
||||
label = "crash";
|
||||
reg = <0xfd0000 0x10000>;
|
||||
};
|
||||
|
||||
partition@fe0000 {
|
||||
label = "reserved";
|
||||
reg = <0xfe0000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@ff0000 {
|
||||
label = "Bdata";
|
||||
reg = <0xff0000 0x10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ehci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
@ -158,7 +193,7 @@
|
||||
|
||||
&state_default {
|
||||
gpio {
|
||||
groups = "wled", "i2c", "uartf", "wdt";
|
||||
groups = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
|
||||
function = "gpio";
|
||||
};
|
||||
};
|
||||
|
||||
@ -12,7 +12,6 @@ ramips_setup_interfaces()
|
||||
aigale,ai-br100|\
|
||||
alfa-network,ac1200rm|\
|
||||
asus,rt-n12p|\
|
||||
bolt,bl201|\
|
||||
dlink,dwr-116-a1|\
|
||||
dlink,dwr-921-c1|\
|
||||
dlink,dwr-922-e2|\
|
||||
@ -35,6 +34,7 @@ ramips_setup_interfaces()
|
||||
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
|
||||
;;
|
||||
alfa-network,r36m-e4g|\
|
||||
bolt,bl201|\
|
||||
zbtlink,zbt-we1026-h-32m)
|
||||
ucidef_add_switch "switch0" \
|
||||
"3:lan" "4:wan" "6@eth0"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user