mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
3a8ee3df83
This uclass is intended to provide a way to obtain information about a U-Boot board. But the concept of a U-Boot 'board' is the whole system, not just one circuit board, meaning that 'board' is something of a misnomer for this uclass. In addition, the name 'board' is a bit overused in U-Boot and we want to use the same uclass to provide SMBIOS information. The obvious name is 'system' but that is so vague as to be meaningless. Use 'sysinfo' instead, since this uclass is aimed at providing information on the system. Rename everything accordingly. Note: Due to the patch delta caused by the symbol renames, this patch shows some renamed files as being deleted in one place and created in another. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
46 lines
1.3 KiB
Text
46 lines
1.3 KiB
Text
gdsys Gazerbeam sysinfo driver
|
|
|
|
This driver provides capabilities to access the gdsys Gazerbeam board's device
|
|
information. Furthermore, phandles to some internal devices are provided for
|
|
the board files.
|
|
|
|
Required properties:
|
|
- compatible: should be "gdsys,sysinfo-gazerbeam"
|
|
- csb: phandle to the board's coherent system bus (CSB) device node
|
|
- rxaui[0-3]: phandles to the rxaui control device nodes
|
|
- fpga[0-1]: phandles to the board's gdsys FPGA device nodes
|
|
- ioep[0-1]: phandles to the board's IO endpoint device nodes
|
|
- ver-gpios: GPIO list to read the hardware version from
|
|
- var-gpios: GPIO list to read the hardware variant information from
|
|
- reset-gpios: GPIO list for the board's reset GPIOs
|
|
|
|
Example:
|
|
|
|
|
|
sysinfo {
|
|
compatible = "gdsys,sysinfo-gazerbeam";
|
|
csb = <&board_soc>;
|
|
serdes = <&SERDES>;
|
|
rxaui0 = <&RXAUI0>;
|
|
rxaui1 = <&RXAUI1>;
|
|
rxaui2 = <&RXAUI2>;
|
|
rxaui3 = <&RXAUI3>;
|
|
fpga0 = <&FPGA0>;
|
|
fpga1 = <&FPGA1>;
|
|
ioep0 = <&IOEP0>;
|
|
ioep1 = <&IOEP1>;
|
|
|
|
ver-gpios = <&PPCPCA 12 0
|
|
&PPCPCA 13 0
|
|
&PPCPCA 14 0
|
|
&PPCPCA 15 0>;
|
|
|
|
/* MC2/SC-Board */
|
|
var-gpios-mc2 = <&GPIO_VB0 0 0 /* VAR-MC_SC */
|
|
&GPIO_VB0 11 0>; /* VAR-CON */
|
|
/* MC4-Board */
|
|
var-gpios-mc4 = <&GPIO_VB1 0 0 /* VAR-MC_SC */
|
|
&GPIO_VB1 11 0>; /* VAR-CON */
|
|
|
|
reset-gpios = <&gpio0 1 0 &gpio0 2 1>;
|
|
};
|