redpitaya-puzzlefw/os/devicetree/redpitaya_puzzlefw_uboot.dts

93 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-01-07 01:06:45 +01:00
/dts-v1/;
#include "zynq-7000.dtsi"
/ {
model = "RedPitaya PuzzleFW";
compatible = "xlnx,zynq-7000";
aliases {
ethernet0 = &gem0;
i2c0 = &i2c0;
serial0 = &uart0;
mmc0 = &sdhci0;
nvmem0 = &eeprom;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x20000000>;
};
chosen {
bootargs = "";
stdout-path = "serial0:115200n8";
};
};
&clkc {
ps-clk-frequency = <33333333>;
};
&gem0 {
status = "okay";
xlnx,ptp-enet-clock = <0x69f6bcb>;
phy-mode = "rgmii-id";
phy-handle = <&ethernet_phy>;
ethernet_phy: ethernet-phy@1 {
reg = <1>;
device_type = "ethernet-phy";
};
};
&gpio0 {
emio-gpio-width = <24>;
gpio-mask-high = <0x0>;
gpio-mask-low = <0x5600>;
};
&i2c0 {
status = "okay";
clock-frequency = <400000>;
eeprom: eeprom@50 {
compatible = "24c64";
reg = <0x50>;
pagesize = <32>;
};
};
&qspi {
bootph-all;
status = "okay";
num-cs = <1>;
flash@0 {
compatible = "n25q128a11", "jedec,spi-nor";
reg = <0x0>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
spi-max-frequency = <50000000>;
};
};
&sdhci0 {
bootph-all;
status = "okay";
};
&uart0 {
status = "okay";
device_type = "serial";
cts-override;
};
&uart1 {
status = "okay";
device_type = "serial";
cts-override;
};