Simon Glass | 458b66a | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 1 | gdsys Gazerbeam sysinfo driver |
Mario Six | a7dfbd0 | 2018-07-31 11:44:12 +0200 | [diff] [blame] | 2 | |
| 3 | This driver provides capabilities to access the gdsys Gazerbeam board's device |
| 4 | information. Furthermore, phandles to some internal devices are provided for |
| 5 | the board files. |
| 6 | |
| 7 | Required properties: |
Simon Glass | 458b66a | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 8 | - compatible: should be "gdsys,sysinfo-gazerbeam" |
Mario Six | a7dfbd0 | 2018-07-31 11:44:12 +0200 | [diff] [blame] | 9 | - 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 | |
| 17 | Example: |
| 18 | |
| 19 | |
Simon Glass | 458b66a | 2020-11-05 06:32:05 -0700 | [diff] [blame] | 20 | sysinfo { |
| 21 | compatible = "gdsys,sysinfo-gazerbeam"; |
Mario Six | a7dfbd0 | 2018-07-31 11:44:12 +0200 | [diff] [blame] | 22 | 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 | }; |