aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/boards/ze7000/ze7000-zynq7.dts
blob: 89c4d451667e67198f487c855f82436cf3b8a589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
/dts-v1/;
/include/ "zynq7-base.dtsi"
/ {
	model = "ze7000";

	chosen {
		bootargs = "console=ttyPS0,115200 earlyprintk";
		linux,stdout-path = &ps7_uart_0;
	} ;

	aliases {
		serial0 = &ps7_uart_0;
	} ;

	ps7_ddr_0: memory@0 {
		device_type = "memory";
		reg = < 0x0 0x20000000 >;
	} ;

	ps7_axi_interconnect_0: amba@0 {

		ps7_smc_0: smc@0xe000e000 {
			#address-cells = <1>;
			#size-cells = <1>;
			arm,addr25 = <0x0>;
			arm,nor-chip-sel0 = <0x0>;
			arm,nor-chip-sel1 = <0x0>;
			arm,sram-chip-sel0 = <0x0>;
			arm,sram-chip-sel1 = <0x0>;
			clock-names = "memclk", "aclk";
			clocks = <&clkc 11>, <&clkc 44>;
			compatible = "arm,pl353-smc-r2p1";
			interrupt-parent = <&ps7_scugic_0>;
			interrupts = <0 18 4>;
			ranges ;
			reg = <0xe000e000 0x1000>;
			ps7_nand_0: ps7-nand@e1000000 {
				compatible = "arm,pl353-nand-r2p1";
				reg = <0xe1000000 0x1000000>;
				/* timings in smc cycles count */
				arm,nand-cycle-t0 = <3>; /* tRC */
				arm,nand-cycle-t1 = <3>; /* tWC */
				arm,nand-cycle-t2 = <1>; /* tREA */
				arm,nand-cycle-t3 = <2>; /* tWP */
				arm,nand-cycle-t4 = <2>; /* tCLR */
				arm,nand-cycle-t5 = <2>; /* tAR */
				arm,nand-cycle-t6 = <3>; /* tRR */
				#address-cells = <0x1>;
				#size-cells = <0x1>;

				partition@nand-linux {
					label = "nand-linux";
					reg = <0x0 0x500000>;
				};

				partition@nand-device-tree {
					label = "nand-device-tree";
					reg = <0x500000 0x100000>;
				};

				partition@nand-rootfs {
					label = "nand-rootfs";
					reg = <0x600000 0x000000>;
				};
			};
		} ;

		ps7_ethernet_0: ps7-ethernet@e000b000 {
			phy-handle = <&phy0>;
			phy-mode = "rgmii-id";
			mdio {
				phy0: phy@3 {
					compatible = "micrel,ksz9031";
					device_type = "ethernet-phy";
					reg = <0x3>;
				};
			} ;
		} ;

		ps7_ethernet_1: ps7-ethernet@e000c000 {
			phy-handle = <&phy1 &phy2 &phy3 &phy4>;
			phy-mode = "";

			mdio {
				#address-cells = <1>;
				#size-cells = <0>;

				phy1: phy@7 {
					compatible = "marvell,88e1118";
					device_type = "ethernet-phy";
					reg = <7>;
				};

				phy2: phy@6 {
					compatible = "marvell,88e1118";
					device_type = "ethernet-phy";
					reg = <6>;
				};

				phy3: phy@5 {
					compatible = "marvell,88e1118";
					device_type = "ethernet-phy";
					reg = <5>;
				};

				phy4: phy@4 {
					compatible = "marvell,88e1118";
					device_type = "ethernet-phy";
					reg = <4>;
				};

			} ;
		} ;

		ps7_gpio_0: ps7-gpio@e000a000 {
			gpio-mask-high = <0xc0000>;
			gpio-mask-low = <0xfe81>;
		} ;

		ps7_sd_0: ps7-sdio@e0100000 {
			clock-frequency = <125000000>;
			xlnx,sdio-clk-freq-hz = <0x3f93e10>;
		} ;

		ps7_i2c_0: ps7-i2c@e0004000 {

			board_eeprom@54 {
				compatible = "at,24c64";
				reg = <0x54>;
			} ;

			rtc@6F {
				compatible = "isl12022";
				reg = <0x6F>;
			} ;
		} ;

		/* Disabled Devices */
		ps7_uart_1: serial@e0001000 { compatible = "invalid"; };
		ps7_sd_1: ps7-sdio@e0101000 { compatible = "invalid"; };
		ps7_wdt_0: ps7-wdt@f8005000 { compatible = "invalid"; };
		ps7_can_0: ps7-can@e0008000 { compatible = "invalid"; };
		ps7_can_1: ps7-can@e0009000 { compatible = "invalid"; };
		ps7_usb_1: ps7-usb@e0003000 { compatible = "invalid"; };
		ps7_dma_ns: ps7-dma@f8004000 { compatible =" invalid"; };
		ps7_i2c_1: ps7-i2c@e0005000 { compatible = "invalid"; };
		ps7_qspi_0: ps7-qspi@e000d000 { compatible = "invalid"; };
		ps7_qspi_linear_0: ps7-qspi-linear@fc000000 { compatible = "invalid"; };
		ps7_spi_0: ps7-spi@e0006000  { compatible = "invalid"; };
		ps7_spi_1: ps7-spi@e0007000  { compatible = "invalid"; };
	} ;
} ;