xref: /src/sys/contrib/device-tree/Bindings/arm/hisilicon/hisilicon-low-pin-count.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1c19dc8edSEmmanuel VadotHisilicon Hip06 Low Pin Count device
2c19dc8edSEmmanuel Vadot  Hisilicon Hip06 SoCs implement a Low Pin Count (LPC) controller, which
3c19dc8edSEmmanuel Vadot  provides I/O access to some legacy ISA devices.
4c19dc8edSEmmanuel Vadot  Hip06 is based on arm64 architecture where there is no I/O space. So, the
5c19dc8edSEmmanuel Vadot  I/O ports here are not CPU addresses, and there is no 'ranges' property in
6c19dc8edSEmmanuel Vadot  LPC device node.
7c19dc8edSEmmanuel Vadot
8c19dc8edSEmmanuel VadotRequired properties:
9c19dc8edSEmmanuel Vadot- compatible:  value should be as follows:
10c19dc8edSEmmanuel Vadot	(a) "hisilicon,hip06-lpc"
11c19dc8edSEmmanuel Vadot	(b) "hisilicon,hip07-lpc"
12c19dc8edSEmmanuel Vadot- #address-cells: must be 2 which stick to the ISA/EISA binding doc.
13c19dc8edSEmmanuel Vadot- #size-cells: must be 1 which stick to the ISA/EISA binding doc.
14c19dc8edSEmmanuel Vadot- reg: base memory range where the LPC register set is mapped.
15c19dc8edSEmmanuel Vadot
16c19dc8edSEmmanuel VadotNote:
17c19dc8edSEmmanuel Vadot  The node name before '@' must be "isa" to represent the binding stick to the
18c19dc8edSEmmanuel Vadot  ISA/EISA binding specification.
19c19dc8edSEmmanuel Vadot
20c19dc8edSEmmanuel VadotExample:
21c19dc8edSEmmanuel Vadot
22c19dc8edSEmmanuel Vadotisa@a01b0000 {
23c19dc8edSEmmanuel Vadot	compatible = "hisilicon,hip06-lpc";
24c19dc8edSEmmanuel Vadot	#address-cells = <2>;
25c19dc8edSEmmanuel Vadot	#size-cells = <1>;
26c19dc8edSEmmanuel Vadot	reg = <0x0 0xa01b0000 0x0 0x1000>;
27c19dc8edSEmmanuel Vadot
28c19dc8edSEmmanuel Vadot	ipmi0: bt@e4 {
29c19dc8edSEmmanuel Vadot		compatible = "ipmi-bt";
30c19dc8edSEmmanuel Vadot		device_type = "ipmi";
31c19dc8edSEmmanuel Vadot		reg = <0x01 0xe4 0x04>;
32c19dc8edSEmmanuel Vadot	};
33c19dc8edSEmmanuel Vadot};
34