blob: 11b1544724691a92c9cfdb928e78c4a12650363b [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-02 revA (SE2)
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-02-revA", "xlnx,zynqmp-x-prc-02";
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 { /* u16 */
25 compatible = "atmel,24c02";
26 reg = <0x52>;
27 };
28
29 x_prc_tca9534: gpio@22 { /* u17 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 };
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 { /* u12 */
71 compatible = "atmel,24c02";
72 reg = <0x51>;
73 };
74 };
75 };
76};