Michal Simek | 71d84b4 | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 2 | /* |
3 | * Xilinx ZC770 XM012 board DTS | ||||
4 | * | ||||
Michal Simek | 71d84b4 | 2018-03-27 13:43:05 +0200 | [diff] [blame] | 5 | * Copyright (C) 2013-2018 Xilinx, Inc. |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 6 | */ |
7 | /dts-v1/; | ||||
8 | #include "zynq-7000.dtsi" | ||||
9 | |||||
10 | / { | ||||
Luis Araneda | ac89116 | 2018-07-12 00:10:20 -0400 | [diff] [blame] | 11 | model = "Xilinx ZC770 XM012 board"; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 12 | compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000"; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 13 | |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 14 | aliases { |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 15 | i2c0 = &i2c0; |
16 | i2c1 = &i2c1; | ||||
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 17 | serial0 = &uart1; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 18 | spi0 = &spi1; |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 19 | }; |
20 | |||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 21 | chosen { |
Michal Simek | 8073b86 | 2016-04-07 11:15:00 +0200 | [diff] [blame] | 22 | bootargs = ""; |
Michal Simek | c9af95a | 2016-01-12 13:56:44 +0100 | [diff] [blame] | 23 | stdout-path = "serial0:115200n8"; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 24 | }; |
25 | |||||
Michal Simek | b3585f4 | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 26 | memory@0 { |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 27 | device_type = "memory"; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 28 | reg = <0x0 0x40000000>; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 29 | }; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 30 | }; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 31 | |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 32 | &can1 { |
33 | status = "okay"; | ||||
34 | }; | ||||
35 | |||||
36 | &i2c0 { | ||||
37 | status = "okay"; | ||||
38 | clock-frequency = <400000>; | ||||
39 | |||||
Michal Simek | f69db10 | 2018-03-27 13:48:51 +0200 | [diff] [blame] | 40 | eeprom0: eeprom@52 { |
41 | compatible = "atmel,24c02"; | ||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 42 | reg = <0x52>; |
43 | }; | ||||
44 | }; | ||||
45 | |||||
46 | &i2c1 { | ||||
47 | status = "okay"; | ||||
48 | clock-frequency = <400000>; | ||||
49 | |||||
Michal Simek | f69db10 | 2018-03-27 13:48:51 +0200 | [diff] [blame] | 50 | eeprom1: eeprom@52 { |
51 | compatible = "atmel,24c02"; | ||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 52 | reg = <0x52>; |
53 | }; | ||||
54 | }; | ||||
55 | |||||
Michal Simek | 027fafc | 2021-08-06 13:30:11 +0200 | [diff] [blame] | 56 | &nor0 { |
57 | status = "okay"; | ||||
58 | bank-width = <1>; | ||||
Michal Simek | 181c763 | 2023-11-01 12:22:14 +0100 | [diff] [blame] | 59 | partitions { |
60 | compatible = "fixed-partitions"; | ||||
61 | #address-cells = <1>; | ||||
62 | #size-cells = <1>; | ||||
63 | partition@0 { | ||||
64 | label = "nor-fsbl-uboot"; | ||||
65 | reg = <0x0 0x100000>; | ||||
66 | }; | ||||
67 | partition@100000 { | ||||
68 | label = "nor-linux"; | ||||
69 | reg = <0x100000 0x500000>; | ||||
70 | }; | ||||
71 | partition@600000 { | ||||
72 | label = "nor-device-tree"; | ||||
73 | reg = <0x600000 0x20000>; | ||||
74 | }; | ||||
75 | partition@620000 { | ||||
76 | label = "nor-rootfs"; | ||||
77 | reg = <0x620000 0x5e0000>; | ||||
78 | }; | ||||
79 | partition@c00000 { | ||||
80 | label = "nor-bitstream"; | ||||
81 | reg = <0xc00000 0x400000>; | ||||
82 | }; | ||||
83 | }; | ||||
Michal Simek | 027fafc | 2021-08-06 13:30:11 +0200 | [diff] [blame] | 84 | }; |
85 | |||||
86 | &smcc { | ||||
87 | status = "okay"; | ||||
88 | }; | ||||
89 | |||||
Michal Simek | 49f44b9 | 2016-01-14 13:09:16 +0100 | [diff] [blame] | 90 | &spi1 { |
91 | status = "okay"; | ||||
92 | num-cs = <4>; | ||||
93 | is-decoded-cs = <0>; | ||||
94 | }; | ||||
95 | |||||
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 96 | &uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 97 | bootph-all; |
Michal Simek | 1b27e66 | 2015-07-22 11:36:32 +0200 | [diff] [blame] | 98 | status = "okay"; |
99 | }; |