[OpenWrt-Devel] [PATCH 2/2] [RFC] lantiq: explicitly configure some pins as outputs
Oswald Buddenhagen
oswald.buddenhagen at gmx.de
Wed May 18 03:39:24 EDT 2016
They clearly are meant to be, and the bootloader (presumably) sets them
up accordingly, but it's nicer to state it explicitly in the DT.
Entirely untested.
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen at gmx.de>
---
target/linux/lantiq/dts/ARV4520PW.dts | 1 +
target/linux/lantiq/dts/BTHOMEHUBV2B.dts | 1 +
target/linux/lantiq/dts/BTHOMEHUBV3A.dts | 1 +
target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 1 +
target/linux/lantiq/dts/EASY50712.dts | 1 +
target/linux/lantiq/dts/EASY50810.dts | 1 +
6 files changed, 6 insertions(+)
diff --git a/target/linux/lantiq/dts/ARV4520PW.dts b/target/linux/lantiq/dts/ARV4520PW.dts
index 0320ce4..3672601 100644
--- a/target/linux/lantiq/dts/ARV4520PW.dts
+++ b/target/linux/lantiq/dts/ARV4520PW.dts
@@ -111,6 +111,7 @@
pci_rst {
lantiq,pins = "io21";
lantiq,open-drain = <0>;
+ lantiq,output = <1>;
lantiq,pull = <0>;
};
};
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
index 219c584..46f197c 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
@@ -148,6 +148,7 @@
nand_cs1 {
lantiq,groups = "nand cs1";
lantiq,function = "ebu";
+ lantiq,output = <1>;
lantiq,open-drain = <0>;
lantiq,pull = <0>;
};
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
index 61746af..190d949 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
@@ -111,6 +111,7 @@
nand_cs1 {
lantiq,groups = "nand cs1";
lantiq,function = "ebu";
+ lantiq,output = <1>;
lantiq,open-drain = <0>;
lantiq,pull = <0>;
};
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
index e62a18d..df0b59e 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
@@ -104,6 +104,7 @@
lantiq,function = "ebu";
lantiq,open-drain = <0>;
lantiq,pull = <0>;
+ lantiq,output = <1>;
};
};
};
diff --git a/target/linux/lantiq/dts/EASY50712.dts b/target/linux/lantiq/dts/EASY50712.dts
index 39ba1f7..9df3da0 100644
--- a/target/linux/lantiq/dts/EASY50712.dts
+++ b/target/linux/lantiq/dts/EASY50712.dts
@@ -80,6 +80,7 @@
};
conf_out {
lantiq,pins = "io4", "io5", "io6"; /* stp */
+ lantiq,output = <1>;
lantiq,open-drain;
lantiq,pull = <0>;
};
diff --git a/target/linux/lantiq/dts/EASY50810.dts b/target/linux/lantiq/dts/EASY50810.dts
index 70d2ff5..b155118 100644
--- a/target/linux/lantiq/dts/EASY50810.dts
+++ b/target/linux/lantiq/dts/EASY50810.dts
@@ -80,6 +80,7 @@
};
conf_out {
lantiq,pins = "io4", "io5", "io6"; /* stp */
+ lantiq,output = <1>;
lantiq,open-drain;
lantiq,pull = <0>;
};
--
2.7.4.1.gb6fc189
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list