[PATCH v2 3/3] arm64: dts: marvell: Add ethernet switch definition for the ESPRESSObin

Andrew Lunn andrew at lunn.ch
Tue Dec 20 07:42:34 PST 2016


> +&mdio {
> +	switch0: switch0 at 0 {
> +		compatible = "marvell,mv88e6085";
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		reg = <1>;

Ah, sorry, missed this last time. reg = <1>, that means switch0 at 1.
That is a general rule for all device tree bindings.

> +		mdio {
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			reg = <1>;

what is this reg value for?

     Andrew



More information about the linux-arm-kernel mailing list