mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 18:50:55 +07:00
6a93792774
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>
24 lines
347 B
Plaintext
24 lines
347 B
Plaintext
/dts-v1/;
|
|
#include "bcm2835.dtsi"
|
|
#include "bcm2835-rpi.dtsi"
|
|
#include "bcm283x-rpi-smsc9512.dtsi"
|
|
|
|
/ {
|
|
compatible = "raspberrypi,model-b", "brcm,bcm2835";
|
|
model = "Raspberry Pi Model B";
|
|
|
|
leds {
|
|
act {
|
|
gpios = <&gpio 16 1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&gpio {
|
|
pinctrl-0 = <&gpioout &alt0 &alt3>;
|
|
};
|
|
|
|
&hdmi {
|
|
hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
|
|
};
|