aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/CARAMBOLA.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/CARAMBOLA.dts')
-rw-r--r--target/linux/ramips/dts/CARAMBOLA.dts7
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/CARAMBOLA.dts b/target/linux/ramips/dts/CARAMBOLA.dts
index e38c49f957..908770977d 100644
--- a/target/linux/ramips/dts/CARAMBOLA.dts
+++ b/target/linux/ramips/dts/CARAMBOLA.dts
@@ -2,8 +2,11 @@
#include "rt3050.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
/ {
- compatible = "CARAMBOLA", "ralink,rt3050-soc";
+ compatible = "8devices,carambola", "ralink,rt3050-soc";
model = "8devices Carambola";
chosen {
@@ -44,7 +47,7 @@
i2c-gpio {
compatible = "i2c-gpio";
- gpios = <&gpio0 1 0 &gpio0 2 0>;
+ gpios = <&gpio0 1 GPIO_ACTIVE_HIGH &gpio0 2 GPIO_ACTIVE_HIGH>;
i2c-gpio,delay-us = <10>;
};
};