blob: 04f9f025e5ca1babcc7c9ecda333d4b40240c158 [file] [log] [blame]
Michal Simek52cc06a2019-04-11 10:35:37 +02001// SPDX-License-Identifier: GPL-2.0
2/*
3 * dts file for Xilinx Versal a2197 RevA System Controller
4 *
5 * (C) Copyright 2019, Xilinx, Inc.
6 *
7 * Michal Simek <michal.simek@xilinx.com>
8 */
9/dts-v1/;
10
11#include "zynqmp.dtsi"
12#include "zynqmp-clk-ccf.dtsi"
13#include <dt-bindings/gpio/gpio.h>
14
15/ {
16 model = "Versal System Controller on a2197 board RevA";
17 compatible = "xlnx,zynqmp-a2197-revA", "xlnx,zynqmp-a2197", "xlnx,zynqmp";
18
19 aliases {
20 i2c0 = &i2c0;
Michal Simek53b145d2021-06-03 11:46:50 +020021 nvmem0 = &eeprom1;
22 nvmem1 = &eeprom0;
Michal Simek52cc06a2019-04-11 10:35:37 +020023 serial0 = &uart0;
24 };
25
26 chosen {
27 bootargs = "earlycon";
28 stdout-path = "serial0:115200n8";
Michal Simek52cc06a2019-04-11 10:35:37 +020029 };
30
31 memory@0 {
32 device_type = "memory";
33 reg = <0x0 0x0 0x0 0x80000000>;
34 };
35};
36
37&uart0 { /* uart0 MIO38-39 */
38 status = "okay";
Michal Simek52cc06a2019-04-11 10:35:37 +020039};
40
41&i2c0 {
42 status = "okay";
Simon Glassd3a98cb2023-02-13 08:56:33 -070043 bootph-all;
Michal Simek52cc06a2019-04-11 10:35:37 +020044 clock-frequency = <400000>;
45 i2c-mux@74 { /* this cover MGT board */
46 compatible = "nxp,pca9548";
47 #address-cells = <1>;
48 #size-cells = <0>;
49 reg = <0x74>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070050 bootph-all;
Michal Simek52cc06a2019-04-11 10:35:37 +020051 /* FIXME reset connected to SYSCTRL_IIC_MUX0_RESET */
52 i2c@0 {
53 #address-cells = <1>;
54 #size-cells = <0>;
55 reg = <0>;
56 /* Use for storing information about SC board */
57 eeprom0: eeprom@50 { /* u96 - 24LC32A - 256B */
58 compatible = "atmel,24c32";
Simon Glassd3a98cb2023-02-13 08:56:33 -070059 bootph-all;
Michal Simek52cc06a2019-04-11 10:35:37 +020060 reg = <0x50>;
61 };
62 };
63 };
64};
65
66&i2c1 {
67 status = "okay";
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-all;
Michal Simek52cc06a2019-04-11 10:35:37 +020069 clock-frequency = <400000>;
70 i2c-mux@74 { /* This cover processor board */
71 compatible = "nxp,pca9548";
72 #address-cells = <1>;
73 #size-cells = <0>;
74 reg = <0x74>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070075 bootph-all;
Michal Simek52cc06a2019-04-11 10:35:37 +020076 /* FIXME reset connected to SYSCTRL_IIC_MUX0_RESET */
77 i2c@0 {
78 #address-cells = <1>;
79 #size-cells = <0>;
80 reg = <0>;
81 /* Use for storing information about SC board */
82 eeprom1: eeprom@50 { /* u96 - 24LC32A - 256B */
83 compatible = "atmel,24c32";
Simon Glassd3a98cb2023-02-13 08:56:33 -070084 bootph-all;
Michal Simek52cc06a2019-04-11 10:35:37 +020085 reg = <0x50>;
86 };
87 };
88 };
89};