#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 {
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>;
};
};