aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/boards/microzed/microzed-zynq7-board.dtsi
blob: 4898918a801670bb72b18b36266ecb2928d60762 (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
/*
 * microZed DTS for generic boot.
 */

/ {
	model = "microZed";

	chosen {
		bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/ram rw";
		linux,stdout-path = "/axi@0/serial@e0001000";
	} ;

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

	ps7_axi_interconnect_0: amba@0 {

		ps7_ethernet_0: ps7-ethernet@e000b000 {
			interrupts = < 0 22 1 >;
			phy-handle = <&phy0>;
			phy-mode = "rgmii-id";
			xlnx,enet-clk-freq-hz = <0x7735940>;

			mdio {
				phy0: phy@0 {
					compatible = "marvell,88e1510";
					device_type = "ethernet-phy";
					reg = <0>;
					marvell,reg-init = <3 16 0xff00 0x1e 3 17 0xfff0 0x00>;
				} ;
			} ;
		} ;

		ps7_qspi_0: ps7-qspi@e000d000 {
			bus-num = <0>;
			xlnx,qspi-clk-freq-hz = <0xbebc200>;
			flash@0 {
				compatible = "n25q128";
				reg = <0x0>;
				spi-max-frequency = <50000000>;
				#address-cells = <1>;
				#size-cells = <1>;
				partition@qspi-fsbl-uboot {
					label = "qspi-fsbl-uboot";
					reg = <0x0 0x100000>;
				};
				partition@qspi-linux {
					label = "qspi-linux";
					reg = <0x100000 0x500000>;
				};
				partition@qspi-device-tree {
					label = "qspi-device-tree";
					reg = <0x600000 0x20000>;
				};
				partition@qspi-rootfs {
					label = "qspi-rootfs";
					reg = <0x620000 0x5E0000>;
				};
				partition@qspi-bitstream {
					label = "qspi-bitstream";
					reg = <0xC00000 0x400000>;
				};
			};
		} ;

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

		ps7_qspi_linear_0: ps7-qspi-linear@fc000000 {
			xlnx,qspi-clk-freq-hz = <0xe4e1c0>;
		} ;

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

		/* Disabled Devices */
		ps7_sd_1: ps7-sdio@e0101000 { compatible = "invalid"; };
		ps7_uart_0: serial@e0000000 { compatible = "invalid"; };
		ps7_ethernet_1: ps7-ethernet@e000c000 { compatible = "invalid"; };
		ps7_i2c_0: ps7-i2c@e0004000 { compatible = "invalid"; };
		ps7_i2c_1: ps7-i2c@e0005000 { 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"; };
	} ;
} ;