11.1Sdyoung// SPDX-License-Identifier: GPL-2.0+ 21.1Sdyoung/dts-v1/; 31.1Sdyoung#include "../../../external/gpl2/dts/dist/arch/arm/boot/dts/zynq-7000.dtsi" 41.1Sdyoung 51.1Sdyoung/ { 61.1Sdyoung model = "Red Pitaya SDRlab 122-16"; 71.1Sdyoung compatible = "xlnx,zynq-7000"; 81.1Sdyoung 91.1Sdyoung aliases { 101.1Sdyoung ethernet0 = &gem0; 111.1Sdyoung serial0 = &uart0; 121.1Sdyoung }; 131.1Sdyoung 141.1Sdyoung memory@0 { 151.1Sdyoung device_type = "memory"; 161.1Sdyoung reg = <0x0 0x20000000>; 171.1Sdyoung }; 181.1Sdyoung 191.1Sdyoung /* The SDRlab 122-16 comes out of the box with a bootloader that 201.1Sdyoung * (I think) loads a bitstream to the FPGA. I reserve the same 211.1Sdyoung * memory regions as the device tree that comes with the 122-16 221.1Sdyoung * does, just in case the FPGA alters them. If we can come up 231.1Sdyoung * with a new bootloader, then I think NetBSD can use all of 241.1Sdyoung * these regions safely. 251.1Sdyoung */ 261.1Sdyoung reserved-memory { 271.1Sdyoung #address-cells = <0x1>; 281.1Sdyoung #size-cells = <0x1>; 291.1Sdyoung ranges; 301.1Sdyoung 311.1Sdyoung linux,cma { 321.1Sdyoung compatible = "shared-dma-pool"; 331.1Sdyoung reusable; 341.1Sdyoung size = <0x1000000>; 351.1Sdyoung alignment = <0x2000>; 361.1Sdyoung linux,cma-default; 371.1Sdyoung }; 381.1Sdyoung 391.1Sdyoung labuf@a000000 { 401.1Sdyoung reg = <0xa000000 0x2000000>; 411.1Sdyoung linux,phandle = <0x2f>; 421.1Sdyoung phandle = <0x2f>; 431.1Sdyoung }; 441.1Sdyoung 451.1Sdyoung buffer@1000000 { 461.1Sdyoung reg = <0x1000000 0x180000>; 471.1Sdyoung linux,phandle = <0x30>; 481.1Sdyoung phandle = <0x30>; 491.1Sdyoung }; 501.1Sdyoung }; 511.1Sdyoung 521.1Sdyoung chosen { 531.1Sdyoung bootargs = ""; 541.1Sdyoung stdout-path = "serial0:115200n8"; 551.1Sdyoung }; 561.1Sdyoung 571.1Sdyoung usb_phy0: phy0 { 581.1Sdyoung #phy-cells = <0>; 591.1Sdyoung compatible = "usb-nop-xceiv"; 601.1Sdyoung reset-gpios = <&gpio0 46 1>; 611.1Sdyoung }; 621.1Sdyoung}; 631.1Sdyoung 641.1Sdyoung&clkc { 651.1Sdyoung ps-clk-frequency = <33333333>; 661.1Sdyoung}; 671.1Sdyoung 681.1Sdyoung&gem0 { 691.1Sdyoung status = "okay"; 701.1Sdyoung phy-mode = "rgmii-id"; 711.1Sdyoung phy-handle = <ðernet_phy>; 721.1Sdyoung 731.1Sdyoung ethernet_phy: ethernet-phy@0 { 741.1Sdyoung reg = <1>; 751.1Sdyoung device_type = "ethernet-phy"; 761.1Sdyoung }; 771.1Sdyoung}; 781.1Sdyoung 791.1Sdyoung&sdhci0 { 801.1Sdyoung status = "okay"; 811.1Sdyoung}; 821.1Sdyoung 831.1Sdyoung&uart0 { 841.1Sdyoung status = "okay"; 851.1Sdyoung}; 861.1Sdyoung 871.1Sdyoung&usb0 { 881.1Sdyoung status = "okay"; 891.1Sdyoung dr_mode = "host"; 901.1Sdyoung usb-phy = <&usb_phy0>; 911.1Sdyoung}; 92