@@ -10,6 +10,12 @@
compatible = "gpio-export";
#size-cells = <0>;
+ gpio0 {
+ gpio-export,name = "gpio0";
+ gpio-export,direction_may_change = <1>;
+ gpios = <&gpio0 0 0>;
+ };
+
relay1 {
gpio-export,name = "relay1";
gpio-export,output = <0>;
@@ -107,3 +113,11 @@
&ohci {
status = "okay";
};
+
+&gpio1 {
+ status = "okay";
+};
+
+&i2c {
+ status = "okay";
+};
@@ -5,6 +5,17 @@
/ {
compatible = "RT5350F-OLINUXINO", "ralink,rt5350-soc";
model = "Olimex RT5350F-OLinuXino";
+
+ gpio_export {
+ compatible = "gpio-export";
+ #size-cells = <0>;
+
+ gpio0 {
+ gpio-export,name = "gpio0";
+ gpio-export,direction_may_change = <1>;
+ gpios = <&gpio0 0 0>;
+ };
+ };
};
&uart {
@@ -84,3 +95,11 @@
&ohci {
status = "okay";
};
+
+&gpio1 {
+ status = "okay";
+};
+
+&i2c {
+ status = "okay";
+};
The RT5350F's i2c port is available on the base module and on the EVB as well, so enable it in the dts. Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> --- target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts | 14 ++++++++++++++ target/linux/ramips/dts/RT5350F-OLINUXINO.dts | 19 +++++++++++++++++++ 2 files changed, 33 insertions(+)