-
-
Save simryang/942b07a9acb68f5ce5f7de4d2f3c2f11 to your computer and use it in GitHub Desktop.
WIZnet W5500 device tree overlay example for Raspberry Pi kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dts-v1/; | |
/plugin/; | |
/ { | |
compatible = "brcm,bcm2835"; | |
fragment@0 { | |
target = <&spi0>; | |
__overlay__ { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
status = "okay"; | |
spidev@0 { | |
status = "disabled"; | |
}; | |
spidev@1 { | |
status = "disabled"; | |
}; | |
}; | |
}; | |
fragment@1 { | |
target = <&spi0>; | |
__overlay__ { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
status = "okay"; | |
w5500@1 { | |
compatible = "wiznet,w5500"; | |
reg = <0>; | |
spi-max-frequency = <10000000>; | |
mac-address = [00 08 DC 01 02 03]; | |
interrupts = <22 0x8>; | |
interrupt-parent = <&gpio>; | |
status = "okay"; | |
}; | |
}; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment