mbox series

[v4,0/3] mips: realtek: Add reboot support

Message ID 20240923225719.2999821-1-chris.packham@alliedtelesis.co.nz (mailing list archive)
Headers show
Series mips: realtek: Add reboot support | expand

Message

Chris Packham Sept. 23, 2024, 10:57 p.m. UTC
The system reboot on the cameo-rtl9302c (and presumably many other boards based
on the realtek reference design) is connected via the switch reset register
(RST_GLB_CTRL_0).

Because the switch register block encompasses a number of functions that would
normally be separate perhipherals I've represented it as a syscon node. Right
now the only peripheral I've added is the reset (using syscon-reboot). The
binding and syscon node will be expanded in the future to add some additional
functions (e.g. I2C, GPIO, MDIO).

Chris Packham (3):
  dt-bindings: mfd: Add Realtek switch
  mips: dts: realtek: Add syscon-reboot node
  dt-bindings: mfd: Add more RTL9300 variants

 .../bindings/mfd/realtek,rtl9302c-switch.yaml | 53 +++++++++++++++++++
 arch/mips/boot/dts/realtek/rtl930x.dtsi       | 11 ++++
 2 files changed, 64 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/realtek,rtl9302c-switch.yaml