kernel: rtl8367: use realtek,extif property
Use realtek,extif property instead of realtek,extif0 and realtek,extif1 by extending it with the cpu_port parameter. The extif number is automatically calculated based on cpu_port. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/15749 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
committed by
Hauke Mehrtens
parent
d604b2699b
commit
343f4f3c54
@@ -73,7 +73,7 @@
|
||||
compatible = "realtek,rtl8367";
|
||||
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>;
|
||||
realtek,extif = <8 1 0 1 1 1 1 1 1 2>;
|
||||
};
|
||||
|
||||
keys {
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
compatible = "realtek,rtl8367";
|
||||
gpio-sda = <&gpio0 5 GPIO_ACTIVE_HIGH>;
|
||||
gpio-sck = <&gpio0 4 GPIO_ACTIVE_HIGH>;
|
||||
realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
|
||||
realtek,extif = <9 1 0 1 1 1 1 1 1 2>;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
compatible = "realtek,rtl8367";
|
||||
gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
|
||||
gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
|
||||
realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
|
||||
realtek,extif = <9 1 0 1 1 1 1 1 1 2>;
|
||||
};
|
||||
|
||||
keys {
|
||||
|
||||
Reference in New Issue
Block a user