[PATCH linux] ARM: dts: aspeed: zaius: Enable NC-SI mux

Rick Altherr raltherr at google.com
Wed Mar 8 08:13:26 AEDT 2017


Why is Linux doing this instead of U-Boot?

On Fri, Mar 3, 2017 at 12:59 PM, Xo Wang <xow at google.com> wrote:
> The Zaius motherboard has muxes for the RMII lines from the BMC to:
>   - BCM5719 LAN on motherboard (LOM)
>   - OCP mezzanine connector
>   - HDMI form factor connector
>
> Assert the active-low enable line for the muxes. Due to the AST2500
> default internal pull-down resistors, the muxes selection lines will
> be low. This implicitly selects the LOM for NC-SI.
>
> The NC-SI interface will show up as network interface eth0.
>
> Signed-off-by: Xo Wang <xow at google.com>
> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> index dc0546869886..3bd70ed810af 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> @@ -325,6 +325,13 @@
>                 line-name = "iso_u164_en";
>         };
>
> +       ncsi_mux_en_n {
> +               gpio-hog;
> +               gpios = <ASPEED_GPIO(P, 0) GPIO_ACTIVE_HIGH>;
> +               output-low;
> +               line-name = "ncsi_mux_en_n";
> +       };
> +
>         line_bmc_i2c2_sw_rst_n {
>                 gpio-hog;
>                 gpios = <ASPEED_GPIO(P, 1) GPIO_ACTIVE_HIGH>;
> --
> 2.12.0.rc1.440.g5b76565f74-goog
>


More information about the openbmc mailing list