Michal Simek | 71d84b4 | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Xilinx CC108 board DTS |
| 4 | * |
Michal Simek | 71d84b4 | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 5 | * (C) Copyright 2007-2018 Xilinx, Inc. |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 6 | * (C) Copyright 2007-2013 Michal Simek |
| 7 | * (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd |
| 8 | * |
| 9 | * Michal SIMEK <monstr@monstr.eu> |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 10 | */ |
| 11 | /dts-v1/; |
| 12 | /include/ "zynq-7000.dtsi" |
| 13 | |
| 14 | / { |
Luis Araneda | ac89116 | 2018-07-12 00:10:20 -0400 | [diff] [blame] | 15 | model = "Xilinx CC108 board"; |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 16 | compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000"; |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 17 | |
| 18 | aliases { |
| 19 | ethernet0 = &gem0; |
| 20 | serial0 = &uart0; |
| 21 | spi0 = &qspi; |
| 22 | }; |
| 23 | |
| 24 | chosen { |
| 25 | bootargs = ""; |
| 26 | stdout-path = "serial0:115200n8"; |
| 27 | }; |
| 28 | |
| 29 | memory@0 { |
| 30 | device_type = "memory"; |
| 31 | reg = <0x0 0x20000000>; |
| 32 | }; |
| 33 | |
| 34 | usb_phy0: phy0 { |
| 35 | compatible = "usb-nop-xceiv"; |
| 36 | #phy-cells = <0>; |
| 37 | }; |
| 38 | |
| 39 | usb_phy1: phy1 { |
| 40 | compatible = "usb-nop-xceiv"; |
| 41 | #phy-cells = <0>; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | &gem0 { |
| 46 | status = "okay"; |
| 47 | phy-mode = "rgmii-id"; |
| 48 | phy-handle = <ðernet_phy>; |
| 49 | |
| 50 | ethernet_phy: ethernet-phy@1 { |
| 51 | reg = <1>; |
| 52 | device_type = "ethernet-phy"; |
| 53 | }; |
| 54 | }; |
| 55 | |
| 56 | &qspi { |
| 57 | status = "okay"; |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 58 | num-cs = <1>; |
| 59 | flash@0 { /* 16 MB */ |
Raju Kumar Pothuraju | 8c6fdf6 | 2021-07-01 14:15:11 +0530 | [diff] [blame] | 60 | compatible = "n25q128a11", "jedec,spi-nor"; |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 61 | reg = <0x0>; |
| 62 | spi-max-frequency = <50000000>; |
| 63 | spi-tx-bus-width = <1>; |
| 64 | spi-rx-bus-width = <4>; |
| 65 | #address-cells = <1>; |
| 66 | #size-cells = <1>; |
| 67 | partition@0 { |
| 68 | label = "qspi-fsbl-uboot-bs"; |
| 69 | reg = <0x0 0x400000>; /* 4MB */ |
| 70 | }; |
Michal Simek | 3f3a213 | 2018-03-27 14:31:42 +0200 | [diff] [blame] | 71 | partition@400000 { |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 72 | label = "qspi-linux"; |
| 73 | reg = <0x400000 0x400000>; /* 4MB */ |
| 74 | }; |
Michal Simek | 3f3a213 | 2018-03-27 14:31:42 +0200 | [diff] [blame] | 75 | partition@800000 { |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 76 | label = "qspi-rootfs"; |
| 77 | reg = <0x800000 0x400000>; /* 4MB */ |
| 78 | }; |
Michal Simek | 3f3a213 | 2018-03-27 14:31:42 +0200 | [diff] [blame] | 79 | partition@c00000 { |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 80 | label = "qspi-devicetree"; |
| 81 | reg = <0xc00000 0x100000>; /* 1MB */ |
| 82 | }; |
Michal Simek | 3f3a213 | 2018-03-27 14:31:42 +0200 | [diff] [blame] | 83 | partition@d00000 { |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 84 | label = "qspi-scratch"; |
| 85 | reg = <0xd00000 0x200000>; /* 2MB */ |
| 86 | }; |
Michal Simek | 3f3a213 | 2018-03-27 14:31:42 +0200 | [diff] [blame] | 87 | partition@f00000 { |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 88 | label = "qspi-uboot-env"; |
| 89 | reg = <0xf00000 0x100000>; /* 1MB */ |
| 90 | }; |
| 91 | }; |
| 92 | }; |
| 93 | |
| 94 | &sdhci1 { |
| 95 | status = "okay"; |
| 96 | broken-cd ; |
| 97 | wp-inverted ; |
| 98 | }; |
| 99 | |
| 100 | &uart0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 101 | bootph-all; |
Michal Simek | 9e996ec | 2017-11-02 09:18:42 +0100 | [diff] [blame] | 102 | status = "okay"; |
| 103 | }; |
| 104 | |
| 105 | &usb0 { |
| 106 | status = "okay"; |
| 107 | dr_mode = "host"; |
| 108 | usb-phy = <&usb_phy0>; |
| 109 | }; |
| 110 | |
| 111 | &usb1 { |
| 112 | status = "okay"; |
| 113 | dr_mode = "host"; |
| 114 | usb-phy = <&usb_phy1>; |
| 115 | }; |