mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
2ad6e39867
This converts the SMSC91x ethernet controller to use device tree. The existing solution from the board file, to request the GPIO triggering the ethernet IRQ from the board file is kept for the time being, but the GPIO number assignment is moved over to the device tree. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
27 lines
554 B
Plaintext
27 lines
554 B
Plaintext
/*
|
|
* Device Tree for the ST-Ericsson Nomadik S8815 board
|
|
* Produced by Calao Systems
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "ste-nomadik-stn8815.dtsi"
|
|
|
|
/ {
|
|
model = "Calao Systems USB-S8815";
|
|
compatible = "calaosystems,usb-s8815";
|
|
|
|
chosen {
|
|
bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
|
|
};
|
|
|
|
/* Custom board node with GPIO pins to active etc */
|
|
usb-s8815 {
|
|
/* The S8815 is using this very GPIO pin for the SMSC91x IRQs */
|
|
ethernet-gpio {
|
|
gpios = <&gpio3 19 0x1>;
|
|
interrupts = <19 0x1>;
|
|
interrupt-parent = <&gpio3>;
|
|
};
|
|
};
|
|
};
|