Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | /include/ "zynq-7000.dtsi" |
| 3 | /include/ "zynq-7000-qspi-dummy.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "Avnet picoZed"; |
| 7 | compatible = "avnet,picozed", "xlnx,zynq-7000"; |
| 8 | |
| 9 | aliases { |
| 10 | ethernet0 = &gem0; |
| 11 | serial0 = &uart1; |
| 12 | }; |
| 13 | |
| 14 | memory { |
| 15 | device_type = "memory"; |
| 16 | reg = <0x0 0x40000000>; |
| 17 | }; |
| 18 | |
| 19 | chosen { |
| 20 | bootargs = "earlyprintk"; |
| 21 | stdout-path = "serial0:115200n8"; |
| 22 | }; |
| 23 | |
| 24 | usb_phy0: phy0 { |
| 25 | compatible = "usb-nop-xceiv"; |
| 26 | #phy-cells = <0>; |
| 27 | reset-gpios = <&gpio0 7 1>; /* MIO 7, GPIO_ACTIVE_LOW */ |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | &gem0 { |
| 32 | status = "okay"; |
| 33 | phy-mode = "rgmii-id"; |
| 34 | phy-handle = <ðernet_phy>; |
| 35 | |
| 36 | ethernet_phy: ethernet-phy@0 { |
Andrew Geissler | c60845c | 2021-01-29 15:55:05 -0600 | [diff] [blame^] | 37 | compatible = "marvell,88e1512", "marvell,88e1510"; |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 38 | device_type = "ethernet-phy"; |
| 39 | reg = <0>; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | &sdhci1 { |
| 44 | status = "okay"; |
| 45 | /* SD1 is onnected to a non-removable eMMC flash device */ |
| 46 | non-removable; |
| 47 | }; |
| 48 | |
| 49 | &uart1 { |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
| 53 | &usb0 { |
| 54 | status = "okay"; |
| 55 | dr_mode = "host"; |
| 56 | usb-phy = <&usb_phy0>; |
| 57 | }; |
| 58 | |
| 59 | &qspi { |
| 60 | status = "okay"; |
| 61 | primary_flash: ps7-qspi@0 { |
| 62 | #address-cells = <1>; |
| 63 | #size-cells = <1>; |
| 64 | compatible = "micron,m25p80", "spansion,s25fl128s", "jedec,spi-nor"; |
| 65 | reg = <0x0>; |
| 66 | spi-max-frequency = <50000000>; |
| 67 | /* Example 16M partition table using U-Boot + U-Boot SPL */ |
| 68 | partition@0x0 { |
| 69 | label = "boot"; |
| 70 | reg = <0x0 0xe0000>; |
| 71 | }; |
| 72 | partition@0xe0000 { |
| 73 | label = "ubootenv"; |
| 74 | reg = <0xe0000 0x20000>; |
| 75 | }; |
| 76 | partition@0x100000 { |
| 77 | label = "uboot"; |
| 78 | reg = <0x100000 0x100000>; |
| 79 | }; |
| 80 | partition@0x200000 { |
| 81 | label = "kernel"; |
| 82 | reg = <0x200000 0x4f0000>; |
| 83 | }; |
| 84 | partition@0x6f0000 { |
| 85 | label = "devicetree"; |
| 86 | reg = <0x6f0000 0x10000>; |
| 87 | }; |
| 88 | partition@0x700000 { |
| 89 | label = "rootfs"; |
| 90 | reg = <0x700000 0x400000>; |
| 91 | }; |
| 92 | partition@0xb00000 { |
| 93 | label = "spare"; |
| 94 | reg = <0xb00000 0x500000>; |
| 95 | }; |
| 96 | }; |
| 97 | }; |
| 98 | |