[PATCH 2/4 RFCv2] net: dsa: Add bindings for Realtek SMI DSAs

2018-05-28 Thread Linus Walleij
The Realtek SMI family is a set of DSA chips that provide switching in routers. This binding just follows the pattern set by other switches but with the introduction of an embedded irqchip to demux and handle the interrupts fired by the single line from the chip. This interrupt construction is sim

Re: [PATCH 2/4 RFCv2] net: dsa: Add bindings for Realtek SMI DSAs

2018-05-28 Thread Andrew Lunn
> +Examples: > + > +switch { > + compatible = "realtek,rtl8366rb"; > + /* 22 = MDIO (has input reads), 21 = MDC (clock, output only) */ > + mdc-gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>; > + mdio-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; > + reset-gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; > +