aboutsummaryrefslogtreecommitdiffstats
diff options
authorRob Herring (Arm) <robh@kernel.org>2025-05-02 17:35:09 -0500
committerRob Herring (Arm) <robh@kernel.org>2025-05-05 08:11:00 -0500
commit1182fd7601afd4b89c8587fa61d08694ed9491b8 (patch)
tree1647e81135d706b05bece64f3c0b3bb01072bce0
parent59113dbf89164043aa9fc3e255837a147e9332db (diff)
downloadlinux-dt-convert.tar.gz
Revert "dt-bindings: powerpc: Convert nintendo/nintendo,wii to DT schema"dt-convert
This reverts commit cbe15af239fc8a7f26c3d50be04318c4a5b8883b.
-rw-r--r--Documentation/devicetree/bindings/powerpc/nintendo/nintendo,wii.yaml365
-rw-r--r--Documentation/devicetree/bindings/powerpc/nintendo/wii.txt166
2 files changed, 166 insertions, 365 deletions
diff --git a/Documentation/devicetree/bindings/powerpc/nintendo/nintendo,wii.yaml b/Documentation/devicetree/bindings/powerpc/nintendo/nintendo,wii.yaml
deleted file mode 100644
index c9ff097b9caacd..00000000000000
--- a/Documentation/devicetree/bindings/powerpc/nintendo/nintendo,wii.yaml
+++ /dev/null
@@ -1,365 +0,0 @@
-# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
-%YAML 1.2
----
-$id: http://devicetree.org/schemas/nintendo,wii.yaml#
-$schema: http://devicetree.org/meta-schemas/core.yaml#
-
-title: Nintendo Wii Device
-maintainers:
- - Grant Likely <grant.likely@secretlab.ca>
- - Jonathan Neuschäfer <j.neuschaefer@gmx.net>
- - Justin P. Mattock <justinmattock@gmail.com>
-
-description: |
- Nintendo Wii device tree
-
- 0) The root node
-
- This node represents the Nintendo Wii video game console.
-
- 1) The "hollywood" node
-
- This node represents the multi-function "Hollywood" chip, which packages
- many of the devices found in the Nintendo Wii.
-
- 1.a) The Video Interface (VI) node
-
- Represents the interface between the graphics processor and an external
- video encoder.
-
- 1.b) The Processor Interface (PI) node
-
- Represents the data and control interface between the main processor
- and graphics and audio processor.
-
- 1.b.i) The "Flipper" interrupt controller node
-
- Represents the "Flipper" interrupt controller within the "Hollywood" chip.
- The node for the "Flipper" interrupt controller must be placed under
- the PI node.
-
- 1.c) The Digital Signal Processor (DSP) node
-
- Represents the digital signal processor interface, designed to offload
- audio related tasks.
-
- 1.d) The Serial Interface (SI) node
-
- Represents the interface to the four single bit serial interfaces.
- The SI is a proprietary serial interface used normally to control gamepads.
- It's NOT a RS232-type interface.
-
- 1.e) The Audio Interface (AI) node
-
- Represents the interface to the external 16-bit stereo digital-to-analog
- converter.
-
- 1.f) The External Interface (EXI) node
-
- Represents the multi-channel SPI-like interface.
-
- 1.h) The Enhanced Host Controller Interface (EHCI) node
-
- Represents the USB 2.0 Enhanced Host Controller Interface.
-
- 1.i) The Secure Digital Host Controller Interface (SDHCI) nodes
-
- Represent the Secure Digital Host Controller Interfaces.
-
- 1.j) The Inter-Processor Communication (IPC) node
-
- Represent the Inter-Processor Communication interface. This interface
- enables communications between the Broadway and the Starlet processors.
-
- 1.k) The "Hollywood" interrupt controller node
-
- Represents the "Hollywood" interrupt controller within the "Hollywood"
- chip.
-
- 1.l) The General Purpose I/O (GPIO) controller node
-
- 1.m) The control node
-
- Represents the control interface used to setup several miscellaneous
- settings of the "Hollywood" chip like boot memory mappings, resets,
- disk interface mode, etc.
-
- 1.n) The Disk Interface (DI) node
-
- Represents the interface used to communicate with mass storage devices.
-
-properties:
- compatible:
- items:
- - const: nintendo,wii
- description: The device compatible string.
- model:
- const: nintendo,wii
- description: The device model string.
-
- hollywood:
- description: The "Hollywood" multi-function chip node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood
- description: Compatible string for the Hollywood chip.
- vi:
- description: Video Interface (VI) node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood-vi
- - const: nintendo,flipper-vi
- description: VI compatible strings.
- reg:
- maxItems: 1
- interrupts:
- maxItems: 1
-
- required:
- - compatible
- - reg
- - interrupts
- pi:
- description: Processor Interface (PI) node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood-pi
- - const: nintendo,flipper-pi
- description: PI compatible strings.
- reg:
- maxItems: 1
- flipper-pic:
- description: Flipper interrupt controller node under PI.
- type: object
- additionalProperties: false
- properties:
- '#interrupt-cells':
- const: 1
- description: Number of interrupt cells.
- compatible:
- items:
- - const: nintendo,flipper-pic
- description: Flipper PIC compatible string.
- interrupt-controller: true
- required:
- - '#interrupt-cells'
- - compatible
- - interrupt-controller
- required:
- - compatible
- - reg
- dsp:
- description: Digital Signal Processor (DSP) node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood-dsp
- - const: nintendo,flipper-dsp
- description: DSP compatible strings.
- reg:
- maxItems: 1
- interrupts:
- maxItems: 1
- required:
- - compatible
- - reg
- - interrupts
- si:
- description: Serial Interface (SI) node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood-si
- - const: nintendo,flipper-si
- description: SI compatible strings.
- reg:
- description: SI registers location and length.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- interrupts:
- description: SI interrupt.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- required:
- - compatible
- - reg
- - interrupts
- ai:
- description: Audio Interface (AI) node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood-ai
- - const: nintendo,flipper-ai
- description: AI compatible strings.
- reg:
- description: AI registers location and length.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- interrupts:
- description: AI interrupt.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- required:
- - compatible
- - reg
- - interrupts
- exi:
- description: External Interface (EXI) node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood-exi
- - const: nintendo,flipper-exi
- description: EXI compatible strings.
- reg:
- description: EXI registers location and length.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- interrupts:
- description: EXI interrupt.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- required:
- - compatible
- - reg
- - interrupts
- ehci:
- description: Enhanced Host Controller Interface (EHCI) node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood-usb-ehci
- - const: usb-ehci
- description: EHCI compatible strings.
- reg:
- description: EHCI registers location and length.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- interrupts:
- description: EHCI interrupt.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- required:
- - compatible
- - reg
- - interrupts
- sdhci:
- description: Secure Digital Host Controller Interface (SDHCI) node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood-sdhci
- - const: sdhci
- description: SDHCI compatible strings.
- reg:
- description: SDHCI registers location and length.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- interrupts:
- description: SDHCI interrupt.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- required:
- - compatible
- - reg
- - interrupts
- ipc:
- description: Inter-Processor Communication (IPC) node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood-ipc
- description: IPC compatible string.
- reg:
- description: IPC registers location and length.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- interrupts:
- description: IPC interrupt.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- required:
- - compatible
- - reg
- - interrupts
- hollywood-pic:
- description: Hollywood interrupt controller node.
- type: object
- additionalProperties: false
- properties:
- '#interrupt-cells':
- const: 1
- description: Number of interrupt cells for Hollywood PIC.
- compatible:
- items:
- - const: nintendo,hollywood-pic
- description: Hollywood PIC compatible string.
- reg:
- description: PIC registers location and length.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- interrupt-controller: true
- interrupts:
- description: Cascade interrupt of the flipper PIC.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- required:
- - '#interrupt-cells'
- - compatible
- - reg
- - interrupt-controller
- - interrupts
- gpio:
- description: General Purpose I/O controller node.
- $ref: /schemas/gpio/nintendo,hollywood-gpio.yaml#
- control:
- description: The control interface node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood-control
- description: Control node compatible string.
- reg:
- description: Control registers location and length.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- required:
- - compatible
- - reg
- di:
- description: Disk Interface (DI) node.
- type: object
- additionalProperties: false
- properties:
- compatible:
- items:
- - const: nintendo,hollywood-di
- description: DI compatible string.
- reg:
- description: DI registers location and length.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- interrupts:
- description: DI interrupt.
- $ref: /schemas/types.yaml#/definitions/uint32-array
- required:
- - compatible
- - reg
- - interrupts
-
-required:
- - compatible
- - model
- - hollywood
-
-additionalProperties: false
diff --git a/Documentation/devicetree/bindings/powerpc/nintendo/wii.txt b/Documentation/devicetree/bindings/powerpc/nintendo/wii.txt
new file mode 100644
index 00000000000000..6f69a9dfe198c1
--- /dev/null
+++ b/Documentation/devicetree/bindings/powerpc/nintendo/wii.txt
@@ -0,0 +1,166 @@
+
+Nintendo Wii device tree
+========================
+
+0) The root node
+
+ This node represents the Nintendo Wii video game console.
+
+ Required properties:
+
+ - model : Should be "nintendo,wii"
+ - compatible : Should be "nintendo,wii"
+
+1) The "hollywood" node
+
+ This node represents the multi-function "Hollywood" chip, which packages
+ many of the devices found in the Nintendo Wii.
+
+ Required properties:
+
+ - compatible : Should be "nintendo,hollywood"
+
+1.a) The Video Interface (VI) node
+
+ Represents the interface between the graphics processor and a external
+ video encoder.
+
+ Required properties:
+
+ - compatible : should be "nintendo,hollywood-vi","nintendo,flipper-vi"
+ - reg : should contain the VI registers location and length
+ - interrupts : should contain the VI interrupt
+
+1.b) The Processor Interface (PI) node
+
+ Represents the data and control interface between the main processor
+ and graphics and audio processor.
+
+ Required properties:
+
+ - compatible : should be "nintendo,hollywood-pi","nintendo,flipper-pi"
+ - reg : should contain the PI registers location and length
+
+1.b.i) The "Flipper" interrupt controller node
+
+ Represents the "Flipper" interrupt controller within the "Hollywood" chip.
+ The node for the "Flipper" interrupt controller must be placed under
+ the PI node.
+
+ Required properties:
+
+ - #interrupt-cells : <1>
+ - compatible : should be "nintendo,flipper-pic"
+ - interrupt-controller
+
+1.c) The Digital Signal Processor (DSP) node
+
+ Represents the digital signal processor interface, designed to offload
+ audio related tasks.
+
+ Required properties:
+
+ - compatible : should be "nintendo,hollywood-dsp","nintendo,flipper-dsp"
+ - reg : should contain the DSP registers location and length
+ - interrupts : should contain the DSP interrupt
+
+1.d) The Serial Interface (SI) node
+
+ Represents the interface to the four single bit serial interfaces.
+ The SI is a proprietary serial interface used normally to control gamepads.
+ It's NOT a RS232-type interface.
+
+ Required properties:
+
+ - compatible : should be "nintendo,hollywood-si","nintendo,flipper-si"
+ - reg : should contain the SI registers location and length
+ - interrupts : should contain the SI interrupt
+
+1.e) The Audio Interface (AI) node
+
+ Represents the interface to the external 16-bit stereo digital-to-analog
+ converter.
+
+ Required properties:
+
+ - compatible : should be "nintendo,hollywood-ai","nintendo,flipper-ai"
+ - reg : should contain the AI registers location and length
+ - interrupts : should contain the AI interrupt
+
+1.f) The External Interface (EXI) node
+
+ Represents the multi-channel SPI-like interface.
+
+ Required properties:
+
+ - compatible : should be "nintendo,hollywood-exi","nintendo,flipper-exi"
+ - reg : should contain the EXI registers location and length
+ - interrupts : should contain the EXI interrupt
+
+1.h) The Enhanced Host Controller Interface (EHCI) node
+
+ Represents the USB 2.0 Enhanced Host Controller Interface.
+
+ Required properties:
+
+ - compatible : should be "nintendo,hollywood-usb-ehci","usb-ehci"
+ - reg : should contain the EHCI registers location and length
+ - interrupts : should contain the EHCI interrupt
+
+1.i) The Secure Digital Host Controller Interface (SDHCI) nodes
+
+ Represent the Secure Digital Host Controller Interfaces.
+
+ Required properties:
+
+ - compatible : should be "nintendo,hollywood-sdhci","sdhci"
+ - reg : should contain the SDHCI registers location and length
+ - interrupts : should contain the SDHCI interrupt
+
+1.j) The Inter-Processor Communication (IPC) node
+
+ Represent the Inter-Processor Communication interface. This interface
+ enables communications between the Broadway and the Starlet processors.
+
+ - compatible : should be "nintendo,hollywood-ipc"
+ - reg : should contain the IPC registers location and length
+ - interrupts : should contain the IPC interrupt
+
+1.k) The "Hollywood" interrupt controller node
+
+ Represents the "Hollywood" interrupt controller within the
+ "Hollywood" chip.
+
+ Required properties:
+
+ - #interrupt-cells : <1>
+ - compatible : should be "nintendo,hollywood-pic"
+ - reg : should contain the controller registers location and length
+ - interrupt-controller
+ - interrupts : should contain the cascade interrupt of the "flipper" pic
+
+1.l) The General Purpose I/O (GPIO) controller node
+
+ see Documentation/devicetree/bindings/gpio/nintendo,hollywood-gpio.txt
+
+1.m) The control node
+
+ Represents the control interface used to setup several miscellaneous
+ settings of the "Hollywood" chip like boot memory mappings, resets,
+ disk interface mode, etc.
+
+ Required properties:
+
+ - compatible : should be "nintendo,hollywood-control"
+ - reg : should contain the control registers location and length
+
+1.n) The Disk Interface (DI) node
+
+ Represents the interface used to communicate with mass storage devices.
+
+ Required properties:
+
+ - compatible : should be "nintendo,hollywood-di"
+ - reg : should contain the DI registers location and length
+ - interrupts : should contain the DI interrupt
+