projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53123b9
)
ramips: improve support for H3C TX180x series devices
author
Shiji Yang
<yangshiji66@qq.com>
Mon, 12 Dec 2022 11:18:41 +0000
(11:18 +0000)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sat, 17 Dec 2022 20:08:14 +0000
(21:08 +0100)
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>
target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi
b/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi
index 61f2f8cc98c01a34df4e4d95398df5497c4fe10d..54d7908e406a2ad58cc35a5851d6cb939a76c990 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi
+++ b/
target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi
@@
-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 {