From: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> To: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>, Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>, Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Subject: [PATCH 3/4] ARM: dts: sun8i: Add ethernet1 alias to Orange Pi 2 dts Date: Sat, 9 Jul 2016 22:21:57 +0200 [thread overview] Message-ID: <1468095718-18515-3-git-send-email-hdegoede@redhat.com> (raw) In-Reply-To: <1468095718-18515-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> This will allow u-boot to fill in a mac-address for Orange Pi 2 variants which use an sdio wifi without an eeprom for the mac. Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts index f93f5d1..f89fe00 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts @@ -54,6 +54,8 @@ aliases { serial0 = &uart0; + /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ + ethernet1 = &rtl8189; }; chosen { @@ -131,6 +133,14 @@ bus-width = <4>; non-removable; status = "okay"; + + /* + * Explicitly define the sdio device, so that we can add an ethernet + * alias for it (which e.g. makes u-boot set a mac-address). + */ + rtl8189: sdio_wifi@1 { + reg = <1>; + }; }; &pio { -- 2.7.4 -- 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
WARNING: multiple messages have this Message-ID (diff)
From: hdegoede@redhat.com (Hans de Goede) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] ARM: dts: sun8i: Add ethernet1 alias to Orange Pi 2 dts Date: Sat, 9 Jul 2016 22:21:57 +0200 [thread overview] Message-ID: <1468095718-18515-3-git-send-email-hdegoede@redhat.com> (raw) In-Reply-To: <1468095718-18515-1-git-send-email-hdegoede@redhat.com> This will allow u-boot to fill in a mac-address for Orange Pi 2 variants which use an sdio wifi without an eeprom for the mac. Signed-off-by: Hans de Goede <hdegoede@redhat.com> --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts index f93f5d1..f89fe00 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts @@ -54,6 +54,8 @@ aliases { serial0 = &uart0; + /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ + ethernet1 = &rtl8189; }; chosen { @@ -131,6 +133,14 @@ bus-width = <4>; non-removable; status = "okay"; + + /* + * Explicitly define the sdio device, so that we can add an ethernet + * alias for it (which e.g. makes u-boot set a mac-address). + */ + rtl8189: sdio_wifi at 1 { + reg = <1>; + }; }; &pio { -- 2.7.4
next prev parent reply other threads:[~2016-07-09 20:21 UTC|newest] Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-07-09 20:21 [PATCH 1/4] ARM: dts: sun8i: Extend Orange Pi PC dt to also handle the PC Plus Hans de Goede 2016-07-09 20:21 ` Hans de Goede [not found] ` <1468095718-18515-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2016-07-09 20:21 ` [PATCH 2/4] ARM: dts: sun8i: Extend Orange Pi Plus dt to also handle the Plus 2E Hans de Goede 2016-07-09 20:21 ` Hans de Goede 2016-07-09 20:21 ` Hans de Goede [this message] 2016-07-09 20:21 ` [PATCH 3/4] ARM: dts: sun8i: Add ethernet1 alias to Orange Pi 2 dts Hans de Goede [not found] ` <1468095718-18515-3-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2016-07-28 18:20 ` Maxime Ripard 2016-07-28 18:20 ` Maxime Ripard 2016-07-09 20:21 ` [PATCH 4/4] ARM: dts: sun8i: Add dts file for the Orange Pi Lite SBC Hans de Goede 2016-07-09 20:21 ` Hans de Goede [not found] ` <1468095718-18515-4-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2016-07-28 18:21 ` Maxime Ripard 2016-07-28 18:21 ` Maxime Ripard 2016-07-13 8:45 ` [PATCH 1/4] ARM: dts: sun8i: Extend Orange Pi PC dt to also handle the PC Plus Maxime Ripard 2016-07-13 8:45 ` Maxime Ripard 2016-07-13 10:01 ` Hans de Goede 2016-07-13 10:01 ` Hans de Goede [not found] ` <bce2b340-a930-8771-4560-dc61bf5828d5-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2016-07-25 6:40 ` Maxime Ripard 2016-07-25 6:40 ` Maxime Ripard 2016-07-26 21:00 ` Hans de Goede 2016-07-26 21:00 ` Hans de Goede 2016-07-26 21:07 ` Hans de Goede 2016-07-26 21:07 ` Hans de Goede [not found] ` <74d3b5eb-601a-cc1d-a44e-fea2895fd8b2-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2016-07-28 18:17 ` Maxime Ripard 2016-07-28 18:17 ` Maxime Ripard 2016-07-28 20:36 ` Hans de Goede 2016-07-28 20:36 ` Hans de Goede [not found] ` <f71f9d2b-00d4-27b8-1535-1ddc58f04ca3-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2016-08-07 14:25 ` Hans de Goede 2016-08-07 14:25 ` Hans de Goede [not found] ` <b6636083-917e-cc3a-9107-401fbd483fb7-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2016-08-26 18:45 ` Hans de Goede 2016-08-26 18:45 ` Hans de Goede 2016-08-31 16:28 ` Maxime Ripard 2016-08-31 16:28 ` Maxime Ripard 2016-09-03 11:05 ` Hans de Goede 2016-09-03 11:05 ` Hans de Goede
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1468095718-18515-3-git-send-email-hdegoede@redhat.com \ --to=hdegoede-h+wxahxf7alqt0dzr+alfa@public.gmane.org \ --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \ --cc=wens-jdAy2FN1RRM@public.gmane.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.