mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-12 09:39:32 +00:00
ramips: improve support for H3C TX180x series devices
1. Explicitly declare gpio pin groups to ensure that gpio works properly. 2. Override bootargs in device tree to avoid modifying u-boot envs during initial installation. Tested on H3C TX1801 Plus Signed-off-by: Shiji Yang <yangshiji66@qq.com>
This commit is contained in:
parent
53123b93b0
commit
a7d8b54f86
@ -16,6 +16,7 @@
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200";
|
||||
bootargs-override = "console=ttyS0,115200";
|
||||
};
|
||||
|
||||
keys {
|
||||
@ -141,6 +142,13 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&state_default {
|
||||
gpio {
|
||||
groups = "jtag";
|
||||
function = "gpio";
|
||||
};
|
||||
};
|
||||
|
||||
&switch0 {
|
||||
ports {
|
||||
port@1 {
|
||||
|
Loading…
Reference in New Issue
Block a user