xref: /freebsd/sys/contrib/device-tree/src/arm64/xilinx/zynqmp-zc1232-revA.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * dts file for Xilinx ZynqMP ZC1232
4c66ec88fSEmmanuel Vadot *
58cc087a1SEmmanuel Vadot * (C) Copyright 2017 - 2021, Xilinx, Inc.
6c66ec88fSEmmanuel Vadot *
7*f126890aSEmmanuel Vadot * Michal Simek <michal.simek@amd.com>
8c66ec88fSEmmanuel Vadot */
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel Vadot/dts-v1/;
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadot#include "zynqmp.dtsi"
13c66ec88fSEmmanuel Vadot#include "zynqmp-clk-ccf.dtsi"
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadot/ {
16c66ec88fSEmmanuel Vadot	model = "ZynqMP ZC1232 RevA";
17c66ec88fSEmmanuel Vadot	compatible = "xlnx,zynqmp-zc1232-revA", "xlnx,zynqmp-zc1232", "xlnx,zynqmp";
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot	aliases {
20c66ec88fSEmmanuel Vadot		serial0 = &uart0;
21c66ec88fSEmmanuel Vadot		serial1 = &dcc;
228cc087a1SEmmanuel Vadot		spi0 = &qspi;
23c66ec88fSEmmanuel Vadot	};
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot	chosen {
26c66ec88fSEmmanuel Vadot		bootargs = "earlycon";
27c66ec88fSEmmanuel Vadot		stdout-path = "serial0:115200n8";
28c66ec88fSEmmanuel Vadot	};
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot	memory@0 {
31c66ec88fSEmmanuel Vadot		device_type = "memory";
32c66ec88fSEmmanuel Vadot		reg = <0x0 0x0 0x0 0x80000000>;
33c66ec88fSEmmanuel Vadot	};
34c66ec88fSEmmanuel Vadot};
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel Vadot&dcc {
37c66ec88fSEmmanuel Vadot	status = "okay";
38c66ec88fSEmmanuel Vadot};
39c66ec88fSEmmanuel Vadot
408cc087a1SEmmanuel Vadot&qspi {
418cc087a1SEmmanuel Vadot	status = "okay";
428cc087a1SEmmanuel Vadot	flash@0 {
438cc087a1SEmmanuel Vadot		compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
448cc087a1SEmmanuel Vadot		#address-cells = <1>;
458cc087a1SEmmanuel Vadot		#size-cells = <1>;
468cc087a1SEmmanuel Vadot		reg = <0x0>;
47*f126890aSEmmanuel Vadot		spi-tx-bus-width = <4>;
488cc087a1SEmmanuel Vadot		spi-rx-bus-width = <4>;
498cc087a1SEmmanuel Vadot		spi-max-frequency = <108000000>; /* Based on DC1 spec */
508cc087a1SEmmanuel Vadot	};
518cc087a1SEmmanuel Vadot};
528cc087a1SEmmanuel Vadot
53c66ec88fSEmmanuel Vadot&sata {
54c66ec88fSEmmanuel Vadot	status = "okay";
55c66ec88fSEmmanuel Vadot	/* SATA OOB timing settings */
56c66ec88fSEmmanuel Vadot	ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
57c66ec88fSEmmanuel Vadot	ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
58c66ec88fSEmmanuel Vadot	ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
59c66ec88fSEmmanuel Vadot	ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
60c66ec88fSEmmanuel Vadot	ceva,p1-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>;
61c66ec88fSEmmanuel Vadot	ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>;
62c66ec88fSEmmanuel Vadot	ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>;
63c66ec88fSEmmanuel Vadot	ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
64c66ec88fSEmmanuel Vadot};
65c66ec88fSEmmanuel Vadot
66c66ec88fSEmmanuel Vadot&uart0 {
67c66ec88fSEmmanuel Vadot	status = "okay";
68c66ec88fSEmmanuel Vadot};
69