blob: 197dc252353198ac8de6d55a7638e13a60960474 [file] [log] [blame]
Michal Simek96e98b02023-09-27 11:53:30 +02001// SPDX-License-Identifier: GPL-2.0
2/*
3 * dts file for Xilinx ZynqMP System Controller X-PRC-01 revA (SE1)
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-01-revA", "xlnx,zynqmp-x-prc-01";
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 "", "", "", "";
36 gtr-sel0 {
37 gpio-hog;
38 gpios = <0 0>;
39 input; /* FIXME add meaning */
40 line-name = "sw4_1";
41 };
42 gtr-sel1 {
43 gpio-hog;
44 gpios = <1 0>;
45 input; /* FIXME add meaning */
46 line-name = "sw4_2";
47 };
48 gtr-sel2 {
49 gpio-hog;
50 gpios = <2 0>;
51 input; /* FIXME add meaning */
52 line-name = "sw4_3";
53 };
54 gtr-sel3 {
55 gpio-hog;
56 gpios = <3 0>;
57 input; /* FIXME add meaning */
58 line-name = "sw4_4";
59 };
60 };
61 };
62 };
63
64 fragment@1 {
65 target = <&i2c1>; /* Must be enabled via J242 */
66 __overlay__ {
67 #address-cells = <1>;
68 #size-cells = <0>;
69
70 eeprom_versal: eeprom@51 { /* u116 */
71 compatible = "atmel,24c02";
72 reg = <0x51>;
73 };
74 };
75 };
76};