blob: f70652d3c48b96451c310fc4f8d4244bb47becfa [file] [log] [blame]
Simon Glass458b66a2020-11-05 06:32:05 -07001gdsys Gazerbeam sysinfo driver
Mario Sixa7dfbd02018-07-31 11:44:12 +02002
3This driver provides capabilities to access the gdsys Gazerbeam board's device
4information. Furthermore, phandles to some internal devices are provided for
5the board files.
6
7Required properties:
Simon Glass458b66a2020-11-05 06:32:05 -07008- compatible: should be "gdsys,sysinfo-gazerbeam"
Mario Sixa7dfbd02018-07-31 11:44:12 +02009- csb: phandle to the board's coherent system bus (CSB) device node
10- rxaui[0-3]: phandles to the rxaui control device nodes
11- fpga[0-1]: phandles to the board's gdsys FPGA device nodes
12- ioep[0-1]: phandles to the board's IO endpoint device nodes
13- ver-gpios: GPIO list to read the hardware version from
14- var-gpios: GPIO list to read the hardware variant information from
15- reset-gpios: GPIO list for the board's reset GPIOs
16
17Example:
18
19
Simon Glass458b66a2020-11-05 06:32:05 -070020sysinfo {
21 compatible = "gdsys,sysinfo-gazerbeam";
Mario Sixa7dfbd02018-07-31 11:44:12 +020022 csb = <&board_soc>;
23 serdes = <&SERDES>;
24 rxaui0 = <&RXAUI0>;
25 rxaui1 = <&RXAUI1>;
26 rxaui2 = <&RXAUI2>;
27 rxaui3 = <&RXAUI3>;
28 fpga0 = <&FPGA0>;
29 fpga1 = <&FPGA1>;
30 ioep0 = <&IOEP0>;
31 ioep1 = <&IOEP1>;
32
33 ver-gpios = <&PPCPCA 12 0
34 &PPCPCA 13 0
35 &PPCPCA 14 0
36 &PPCPCA 15 0>;
37
38 /* MC2/SC-Board */
39 var-gpios-mc2 = <&GPIO_VB0 0 0 /* VAR-MC_SC */
40 &GPIO_VB0 11 0>; /* VAR-CON */
41 /* MC4-Board */
42 var-gpios-mc4 = <&GPIO_VB1 0 0 /* VAR-MC_SC */
43 &GPIO_VB1 11 0>; /* VAR-CON */
44
45 reset-gpios = <&gpio0 1 0 &gpio0 2 1>;
46};