summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-05-02 09:06:51 +0200
committerEric Anholt <eric@anholt.net>2016-05-31 19:32:34 +0200
commit6a93792774fc72861b7e8efaa3545a88272b4413 (patch)
treeea69277c5623fcdb7a3914dd91a881e551802947 /arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
parentLinux 4.7-rc1 (diff)
downloadlinux-6a93792774fc72861b7e8efaa3545a88272b4413.tar.xz
linux-6a93792774fc72861b7e8efaa3545a88272b4413.zip
ARM: bcm2835: dt: Add the ethernet to the device trees
The hub and the ethernet in its port 1 are hardwired on the board. Compared to the adapters that can be plugged into the USB ports, this one has no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi has the MAC address for this adapter in its ROM, accessible from its firmware. U-Boot can read out the address and set the local-mac-address property of the node with "ethernet" alias. Let's add the node so that U-Boot can do its business. Model B rev2 and Model B+ entries were verified by me, the hierarchy and pid/vid pair for the Version 2 was provided by Peter Chen. Original Model B is a blind shot, though very likely correct. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi')
-rw-r--r--arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi b/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
new file mode 100644
index 000000000000..3f0a56ebcf1f
--- /dev/null
+++ b/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
@@ -0,0 +1,19 @@
+/ {
+ aliases {
+ ethernet = &ethernet;
+ };
+};
+
+&usb {
+ usb1@1 {
+ compatible = "usb424,9514";
+ reg = <1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethernet: usbether@1 {
+ compatible = "usb424,ec00";
+ reg = <1>;
+ };
+ };
+};