Michal Simek | 71d84b4 | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 2 | /* |
Michal Simek | 1ee93fd | 2020-02-18 15:58:33 +0100 | [diff] [blame] | 3 | * Xilinx ZC770 XM011 board DTS |
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 4 | * |
Michal Simek | 71d84b4 | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 5 | * Copyright (C) 2013-2018 Xilinx, Inc. |
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 6 | */ |
7 | /dts-v1/; | ||||
8 | #include "zynq-7000.dtsi" | ||||
Michal Simek | b50744b | 2016-04-07 15:24:08 +0200 | [diff] [blame] | 9 | |
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 10 | / { |
Luis Araneda | ac89116 | 2018-07-12 00:10:20 -0400 | [diff] [blame] | 11 | model = "Xilinx ZC770 XM011 board"; |
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 12 | compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; |
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 13 | |
14 | aliases { | ||||
15 | i2c0 = &i2c1; | ||||
16 | serial0 = &uart1; | ||||
17 | spi0 = &spi0; | ||||
18 | }; | ||||
19 | |||||
20 | chosen { | ||||
Michal Simek | 8073b86 | 2016-04-07 11:15:00 +0200 | [diff] [blame] | 21 | bootargs = ""; |
Michal Simek | c9af95a | 2016-01-12 13:56:44 +0100 | [diff] [blame] | 22 | stdout-path = "serial0:115200n8"; |
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 23 | }; |
24 | |||||
Michal Simek | b3585f4 | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 25 | memory@0 { |
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 26 | device_type = "memory"; |
27 | reg = <0x0 0x40000000>; | ||||
28 | }; | ||||
29 | |||||
30 | usb_phy1: phy1 { | ||||
31 | compatible = "usb-nop-xceiv"; | ||||
32 | #phy-cells = <0>; | ||||
33 | }; | ||||
34 | }; | ||||
35 | |||||
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 36 | &can0 { |
37 | status = "okay"; | ||||
38 | }; | ||||
39 | |||||
40 | &i2c1 { | ||||
41 | status = "okay"; | ||||
42 | clock-frequency = <400000>; | ||||
43 | |||||
Michal Simek | f69db10 | 2018-03-27 13:48:51 +0200 | [diff] [blame] | 44 | eeprom: eeprom@52 { |
45 | compatible = "atmel,24c02"; | ||||
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 46 | reg = <0x52>; |
47 | }; | ||||
48 | }; | ||||
49 | |||||
Michael Walle | 42abea6 | 2022-02-23 15:10:34 +0100 | [diff] [blame] | 50 | &nfc0 { |
Michal Simek | b824805 | 2020-01-07 10:17:43 +0100 | [diff] [blame] | 51 | status = "okay"; |
Michal Simek | 181c763 | 2023-11-01 12:22:14 +0100 | [diff] [blame] | 52 | #address-cells = <1>; |
53 | #size-cells = <0>; | ||||
Michal Simek | d997445 | 2023-09-22 12:35:42 +0200 | [diff] [blame] | 54 | nand@0 { |
55 | reg = <0>; | ||||
Michal Simek | 181c763 | 2023-11-01 12:22:14 +0100 | [diff] [blame] | 56 | partitions { |
57 | compatible = "fixed-partitions"; | ||||
58 | #address-cells = <1>; | ||||
59 | #size-cells = <1>; | ||||
60 | partition@0 { | ||||
61 | label = "nand-fsbl-uboot"; | ||||
62 | reg = <0x0 0x1000000>; | ||||
63 | }; | ||||
64 | partition@1000000 { | ||||
65 | label = "nand-linux"; | ||||
66 | reg = <0x1000000 0x2000000>; | ||||
67 | }; | ||||
68 | partition@3000000 { | ||||
69 | label = "nand-rootfs"; | ||||
70 | reg = <0x3000000 0x200000>; | ||||
71 | }; | ||||
72 | }; | ||||
Michal Simek | d997445 | 2023-09-22 12:35:42 +0200 | [diff] [blame] | 73 | }; |
Michal Simek | b824805 | 2020-01-07 10:17:43 +0100 | [diff] [blame] | 74 | }; |
75 | |||||
76 | &smcc { | ||||
77 | status = "okay"; | ||||
78 | }; | ||||
79 | |||||
Michal Simek | 49f44b9 | 2016-01-14 13:09:16 +0100 | [diff] [blame] | 80 | &spi0 { |
81 | status = "okay"; | ||||
82 | num-cs = <4>; | ||||
83 | is-decoded-cs = <0>; | ||||
84 | }; | ||||
85 | |||||
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 86 | &uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 87 | bootph-all; |
Michal Simek | b40e5b6 | 2015-07-22 11:39:04 +0200 | [diff] [blame] | 88 | status = "okay"; |
89 | }; | ||||
90 | |||||
91 | &usb1 { | ||||
92 | status = "okay"; | ||||
93 | dr_mode = "host"; | ||||
94 | usb-phy = <&usb_phy1>; | ||||
95 | }; |