blob: 1b1bb365080798876f875e7409a67c96592d798c [file] [log] [blame]
Michal Simek0793f382023-09-27 11:53:30 +02001// SPDX-License-Identifier: GPL-2.0
2/*
3 * dts file for Xilinx ZynqMP System Controller X-PRC-04 revA (SE4)
4 *
5 * (C) Copyright 2019 - 2022, Xilinx, Inc.
6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
7 *
8 * Michal Simek <michal.simek@amd.com>
9 */
10
11/dts-v1/;
12/plugin/;
13
14/{
15 compatible = "xlnx,zynqmp-x-prc-04-revA", "xlnx,zynqmp-x-prc-04";
16
17 fragment@0 {
18 target = <&dc_i2c>;
19
20 __overlay__ {
21 #address-cells = <1>;
22 #size-cells = <0>;
23
24 x_prc_eeprom: eeprom@52 { /* u120 */
25 compatible = "atmel,24c02";
26 reg = <0x52>;
27 };
28
29 x_prc_tca9534: gpio@22 { /* u121 tca9534 */
30 compatible = "nxp,pca9534";
31 reg = <0x22>;
32 gpio-controller; /* IRQ not connected */
33 #gpio-cells = <2>;
34 gpio-line-names = "sw4_1", "sw4_2", "sw4_3", "sw4_4",
35 "", "", "", "";
Michal Simek5368d402024-09-13 11:28:43 +020036 gtr-sel0-hog {
Michal Simek0793f382023-09-27 11:53:30 +020037 gpio-hog;
38 gpios = <0 0>;
39 input; /* FIXME add meaning */
40 line-name = "sw4_1";
41 };
Michal Simek5368d402024-09-13 11:28:43 +020042 gtr-sel1-hog {
Michal Simek0793f382023-09-27 11:53:30 +020043 gpio-hog;
44 gpios = <1 0>;
45 input; /* FIXME add meaning */
46 line-name = "sw4_2";
47 };
Michal Simek5368d402024-09-13 11:28:43 +020048 gtr-sel2-hog {
Michal Simek0793f382023-09-27 11:53:30 +020049 gpio-hog;
50 gpios = <2 0>;
51 input; /* FIXME add meaning */
52 line-name = "sw4_3";
53 };
Michal Simek5368d402024-09-13 11:28:43 +020054 gtr-sel3-hog {
Michal Simek0793f382023-09-27 11:53:30 +020055 gpio-hog;
56 gpios = <3 0>;
57 input; /* FIXME add meaning */
58 line-name = "sw4_4";
59 };
60 };
61
62 si570_gem_tsu: clock-generator@5d { /* u164 */
63 #clock-cells = <0>;
64 compatible = "silabs,si570";
65 reg = <0x5d>;
66 temperature-stability = <50>;
67 factory-fout = <300000000>; /* FIXME */
68 clock-frequency = <300000000>;
69 clock-output-names = "si570_gem_tsu_clk";
70 };
71 };
72 };
73
74 fragment@1 {
75 target = <&i2c1>;
76 __overlay__ {
77 #address-cells = <1>;
78 #size-cells = <0>;
79
80 eeprom_versal: eeprom@51 { /* u153 */
81 compatible = "atmel,24c02";
82 reg = <0x51>;
83 };
84 };
85 };
86};