From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCHv1 3/6] ARM: dts: imx6q-bx50v3: Add internal switch Date: Wed, 3 Jan 2018 17:48:42 +0300 Message-ID: <5c87f610-4927-faca-40a7-3f83e7f00ff7@cogentembedded.com> References: <20180103122609.5482-1-sebastian.reichel@collabora.co.uk> <20180103122609.5482-4-sebastian.reichel@collabora.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180103122609.5482-4-sebastian.reichel-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org> Content-Language: en-MW Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sebastian Reichel , Andrew Lunn , Vivien Didelot , Florian Fainelli , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Ian Ray , Nandor Han , Rob Herring , "David S. Miller" , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org Hello! On 01/03/2018 03:26 PM, Sebastian Reichel wrote: > B850v3, B650v3 and B450v3 all have a GPIO bit banged MDIO bus to > communicate with a Marvell switch. On all devices the switch is > connected to a PCI based network card, which needs to be referenced > by DT, so this also adds the common PCI root node. > > Signed-off-by: Sebastian Reichel > --- > arch/arm/boot/dts/imx6q-bx50v3.dtsi | 37 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6q-bx50v3.dtsi b/arch/arm/boot/dts/imx6q-bx50v3.dtsi > index b915837bbb5f..689981e90e68 100644 > --- a/arch/arm/boot/dts/imx6q-bx50v3.dtsi > +++ b/arch/arm/boot/dts/imx6q-bx50v3.dtsi > @@ -92,6 +92,31 @@ > mux-int-port = <1>; > mux-ext-port = <4>; > }; > + > + aliases { > + mdio-gpio0 = &mdio0; > + }; > + > + mdio0: mdio-gpio { > + compatible = "virtual,mdio-gpio"; > + gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>, /* mdc */ > + <&gpio2 7 GPIO_ACTIVE_HIGH>; /* mdio */ > + > + #address-cells = <1>; > + #size-cells = <0>; > + > + switch@0 { > + compatible = "marvell,mv88e6240"; Why suddenly 2 extra tabs instead of 1? > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0>; > + > + switch_ports: ports { > + #address-cells = <1>; > + #size-cells = <0>; > + }; > + }; > + }; > }; > > &ecspi5 { [...] MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html