MIPS: ralink: dts: mt7628a.dtsi: Add WMAC DT node
Subsystems (3)
PATCH 1/3 MIPS: ralink: dts: mt7628a.dtsi: Add WMAC DT node
From: Reto Schneider <[email protected]>
This patch adds the WMAC controller description to the MT7628A dtsi file.
--- arch/mips/boot/dts/ralink/mt7628a.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/mips/boot/dts/ralink/mt7628a.dtsi +10 -0
@@ -285,4 +285,14 @@ ehci@101c0000 { interrupt-parent = <&intc>; interrupts = <18>; }; + + wmac: wmac@10300000 { + compatible = "mediatek,mt7628-wmac"; + reg = <0x10300000 0x100000>; + + interrupt-parent = <&cpuintc>; + interrupts = <6>; + + status = "disabled"; + }; };
Signature · 1 line
2.25.0
PATCH 2/3 MIPS: ralink: dts: gardena_smart_gateway_mt7688: Enable WMAC
From: Reto Schneider <[email protected]>
This patch enables the WMAC controller on the GARDENA smart Gateway and configures the board specific factory EEPROM setting for this driver.
--- arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts | 5 +++++ 1 file changed, 5 insertions(+)
arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts +5 -0
@@ -195,3 +195,8 @@ &uart2 { &watchdog { status = "okay"; }; + +&wmac { + status = "okay"; + mediatek,mtd-eeprom = <&factory 0x0000>; +};
Signature · 1 line
2.25.0
PATCH 3/3 MIPS: ralink: dts: gardena_smart_gateway_mt7688: Limit UART1
In reply to Stefan RoeseFrom: Reto Schneider <[email protected]>
The radio module asserts CTS when its RX buffer has 10 bytes left. Putting just 8 instead of 16 bytes into the UART1 TX buffer on the Linux side ensures to not overflow the RX buffer on the radio module side.
--- arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts | 3 +++ 1 file changed, 3 insertions(+)
arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts +3 -0
@@ -177,6 +177,9 @@ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinmux_i2s_gpio>; /* GPIO0..3 */ + fifo-size = <8>; + tx-threshold = <8>; + rts-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; cts-gpios = <&gpio 2 GPIO_ACTIVE_LOW>; };
Signature · 1 line
2.25.0
Hello,
Quoted 3 lines · Stefan Roese
From: Reto Schneider <[email protected]>
This patch adds the WMAC controller description to the MT7628A dtsi file.
Series applied to mips-next.
Quoted 16 lines
MIPS: ralink: dts:
mt7628a.dtsi: Add WMAC DT node
commitff68d0da5a16
https://git.kernel.org/mips/c/ff68d0da5a16Signed-off-by Reto Schneider <[email protected]>Signed-off-by Stefan Roese <[email protected]>Signed-off-by Paul Burton <[email protected]>MIPS: ralink: dts:
gardena_smart_gateway_mt7688: Enable WMAC
commita5d193cb88cf
https://git.kernel.org/mips/c/a5d193cb88cfSigned-off-by Reto Schneider <[email protected]>Signed-off-by Stefan Roese <[email protected]>Signed-off-by Paul Burton <[email protected]>
Quoted 7 lines
MIPS: ralink: dts:
gardena_smart_gateway_mt7688: Limit UART1
commite8c192011c92
https://git.kernel.org/mips/c/e8c192011c92Signed-off-by Reto Schneider <[email protected]>Signed-off-by Stefan Roese <[email protected]>Signed-off-by Paul Burton <[email protected]>
Thanks,
Paul
[ This message was auto-generated; if you believe anything is incorrect
then please email [email protected] to report it. ]