3 This page describes the [Nuvoton] SuperIO chip that can be found on various [HP]
6 As no datasheet is available most of the functions have been reverse engineered and
7 might be inaccurate or wrong.
12 +-------+---------------------------+
14 +=======+===========================+
16 +-------+---------------------------+
18 +-------+---------------------------+
20 +-------+---------------------------+
22 +-------+---------------------------+
23 | 4 | LED and PWR button CTRL |
24 +-------+---------------------------+
26 +-------+---------------------------+
28 +-------+---------------------------+
30 +-------+---------------------------+
32 +-------+---------------------------+
34 +-------+---------------------------+
36 +-------+---------------------------+
37 | 0x1e | SUSPEND CTL ? |
38 +-------+---------------------------+
40 +-------+---------------------------+
45 Follows [Nuvoton]'s default FDC register set. See [NCT6102D] for more details.
49 Follows [Nuvoton]'s default LPT register set. See [NCT6102D] for more details.
53 Follows [Nuvoton]'s default COM1 register set. See [NCT6102D] for more details.
57 Follows [Nuvoton]'s default COM2 register set. See [NCT6102D] for more details.
61 On most SuperIOs the use of LDN4 is forbidden. That's not the case on NPCD378.
63 It exposes 16 byte of IO config space to control the front LEDs PWM duty cycle
64 and power button behaviour on normal / during S3 resume.
68 A custom PS/2 AUX port.
72 Follows [Nuvoton]'s default KBC register set. See [NCT6102D] for more details.
80 Custom HWM space. It exposes 256 byte of IO config space.
81 See [HWM](#hwm) for more details.
87 The registers are accessible via IO space and are located at LDN8's IOBASE.
90 +---------------+-----------------------+
91 | IOBASE offset | Register |
92 +---------------+-----------------------+
93 | 0x4 | Host Write CTRL |
94 +---------------+-----------------------+
95 | 0x10 - 0xfe | HWM Page # |
96 +---------------+-----------------------+
97 | 0xff | Page index select |
98 +---------------+-----------------------+
102 Bit 0 must be cleared prior to writing any of the HWM register and it must be
103 set after writing to HWM register to signal the SuperIO that data has changed.
104 Reading register is possible at any time and doesn't need special locking.
107 The SuperIO exposes 16 different pages. Nearly all registers are unknown.
112 +---------------+-----------------------+
113 | IOBASE offset | Register |
114 +---------------+-----------------------+
115 | 0x98 | PSU fan PWM |
116 +---------------+-----------------------+
120 The 4 LSB of the page index register selects which HWM page is active.
121 A write takes effect immediately.
123 [NCT6102D]: https://www.nuvoton.com/resource-files/NCT6102D_NCT6106D_Datasheet_V1_0.pdf
124 [Nuvoton]: http://www.nuvoton.com/hq/
125 [HP]: https://www.hp.com/