Prechádzať zdrojové kódy

ramips: correct DTS for Belkin F9K1109v1 to include switch definition

Add switch definition for the rtl8367b switch to the DTS/DTSi for
the Belkin F9K1109v1 that was mistakenly omitted from the initial
commit.

Fixes: 017ec068e3df (ramips: add support for Belkin F9K1109v1)
Signed-off-by: Kip Porterfield <[email protected]>
Kip Porterfield 6 rokov pred
rodič
commit
b812a7fa68
1 zmenil súbory, kde vykonal 11 pridanie a 0 odobranie
  1. 11 0
      target/linux/ramips/dts/F9K110x.dtsi

+ 11 - 0
target/linux/ramips/dts/F9K110x.dtsi

@@ -2,8 +2,19 @@
 
 #include "rt3883.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
 / {
 	compatible = "ralink,rt3883-soc";
+
+	rtl8367b {
+		compatible = "realtek,rtl8367b";
+		gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
+		gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
+		realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
+	};
+
 };
 
 &gpio1 {