mbox series

[0/2] mips: realtek: Add reboot support

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

Message

Chris Packham Sept. 9, 2024, 1:47 a.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). This adds a basic ethernet-switch node with a reboot node so
we can make uses of the syscon-reboot register.

Chris Packham (2):
  dt-bindings: mfd: Add Realtek switch
  mips: dts: realtek: Add syscon-reboot node

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