brcm63xx: Neufbox 6: fix switch by probing through DT

Probe the switch through DT instead of a platform device. This fixes
probe, as GPIO offsets are now properly accounted for.

Fixes the following issue:

[    0.802953] 8021q: 802.1Q VLAN Support v1.8
[    0.810518] rtl8366_smi: gpio_request failed for 18, err=-517

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
This commit is contained in:
Jonas Gorski
2017-02-07 17:15:36 +01:00
parent 8b741d5cd1
commit 0127c480bb
44 changed files with 136 additions and 208 deletions

View File

@@ -40,4 +40,12 @@
linux,code = <KEY_WPS_BUTTON>;
};
};
switch {
compatible = "realtek,rtl8367";
gpio-sda = <&gpio0 18 0>;
gpio-sck = <&gpio0 20 0>;
realtek,extif0 = <1 5 1 1 1 1 1 1 2>;
};
};