mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
![Zubair Lutfullah Kakakhel](/assets/img/avatar_default.png)
Mostly the same as the Kernel upstream device tree file except for - alias for the serial console node - ethernet node as the ethernet stuff isn't upstream on kernel.org yet - uart clock-frequency passed directly in the node Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Reviewed-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
63 lines
1.2 KiB
Plaintext
63 lines
1.2 KiB
Plaintext
/dts-v1/;
|
|
|
|
#include "microAptiv.dtsi"
|
|
|
|
/ {
|
|
compatible = "digilent,nexys4ddr";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x0 0x08000000>;
|
|
};
|
|
|
|
cpuintc: interrupt-controller@0 {
|
|
#address-cells = <0>;
|
|
#interrupt-cells = <1>;
|
|
interrupt-controller;
|
|
compatible = "mti,cpu-interrupt-controller";
|
|
};
|
|
|
|
aliases {
|
|
console = &axi_uart16550;
|
|
};
|
|
|
|
axi_ethernetlite: ethernet@10e00000 {
|
|
compatible = "xlnx,xps-ethernetlite-1.00.a";
|
|
device_type = "network";
|
|
local-mac-address = [08 86 4C 0D F7 09];
|
|
phy-handle = <&phy0>;
|
|
reg = <0x10e00000 0x10000>;
|
|
xlnx,duplex = <0x1>;
|
|
xlnx,include-global-buffers = <0x1>;
|
|
xlnx,include-internal-loopback = <0x0>;
|
|
xlnx,include-mdio = <0x1>;
|
|
xlnx,instance = "axi_ethernetlite_inst";
|
|
xlnx,rx-ping-pong = <0x1>;
|
|
xlnx,s-axi-id-width = <0x1>;
|
|
xlnx,tx-ping-pong = <0x1>;
|
|
xlnx,use-internal = <0x0>;
|
|
mdio {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
phy0: phy@1 {
|
|
compatible = <0x0007c0f0 0xfffffff0>;
|
|
device_type = "ethernet-phy";
|
|
reg = <1>;
|
|
} ;
|
|
} ;
|
|
} ;
|
|
|
|
|
|
axi_uart16550: serial@10400000 {
|
|
compatible = "ns16550a";
|
|
reg = <0x10400000 0x10000>;
|
|
|
|
reg-shift = <2>;
|
|
reg-offset = <0x1000>;
|
|
|
|
clock-frequency = <50000000>;
|
|
|
|
};
|
|
};
|
|
|