diff --git a/.github/workflows/dt-checks.yml b/.github/workflows/dt-checks.yml index 3b33a441be9d9..fd0aa7b6e55d3 100644 --- a/.github/workflows/dt-checks.yml +++ b/.github/workflows/dt-checks.yml @@ -51,11 +51,12 @@ jobs: - name: Install the tools run: | sudo apt-get update -q - sudo apt-get install -y -q flex bison bc libyaml-dev clang-$CLANG_VERSION lld-$CLANG_VERSION llvm-$CLANG_VERSION + sudo apt-get install -y -q flex bison bc libyaml-dev clang-$CLANG_VERSION lld-$CLANG_VERSION llvm-$CLANG_VERSION swig device-tree-compiler echo "/usr/lib/llvm-$CLANG_VERSION/bin" >> "$GITHUB_PATH" - pip install --quiet dtschema yamllint + pip install --quiet dtschema yamllint pylibfdt - name: CHECK_DTBS and dt_binding_check, base vs head + id: dt env: EVENT: ${{ github.event_name }} BEFORE: ${{ github.event.before }} @@ -65,8 +66,30 @@ jobs: # HEAD^1 (pull_request.base.sha can be the stale tip from when the PR was opened). if [ "$EVENT" = pull_request ]; then base=$(git rev-parse HEAD^1); else base=$BEFORE; fi if [ -z "$base" ] || ! git cat-file -e "$base^{commit}" 2>/dev/null; then base=$(git rev-parse HEAD~1); fi + echo "base=$base" >> "$GITHUB_OUTPUT" scripts/dtc/apple-dt-check.sh "$base" "$head" "$RUNNER_TEMP/dt" + - name: ADT coverage, base vs head + if: ${{ !cancelled() && steps.dt.outputs.base != '' }} + env: + BASE: ${{ steps.dt.outputs.base }} + run: | + set -o pipefail + python3 scripts/dtc/apple-adt-coverage-test.py + for board in t6040-j616s t8140-j700 t6000-j316s t8112-j413; do + test -s "arch/arm64/boot/dts/apple/adt-coverage/$board.txt" + done + manifests=arch/arm64/boot/dts/apple/adt-coverage + mkdir -p "$RUNNER_TEMP/dt/manifests-base" + if git cat-file -e "$BASE:$manifests" 2>/dev/null; then + git archive "$BASE:$manifests" | tar -x -C "$RUNNER_TEMP/dt/manifests-base" + fi + python3 scripts/dtc/apple-adt-coverage.py \ + --dtb-dir "$RUNNER_TEMP/dt/out-head/arch/arm64/boot/dts/apple" \ + --baseline-dtb-dir "$RUNNER_TEMP/dt/out-base/arch/arm64/boot/dts/apple" \ + --baseline-manifest-dir "$RUNNER_TEMP/dt/manifests-base" \ + 2>&1 | tee "$RUNNER_TEMP/dt/coverage.log" + - name: Keep the warning lists if: always() uses: actions/upload-artifact@v4 @@ -74,4 +97,5 @@ jobs: name: dt-check-warnings path: | ${{ runner.temp }}/dt/*.warn + ${{ runner.temp }}/dt/coverage.log if-no-files-found: ignore diff --git a/Documentation/devicetree/apple-adt-coverage.rst b/Documentation/devicetree/apple-adt-coverage.rst new file mode 100644 index 0000000000000..9701f200673c0 --- /dev/null +++ b/Documentation/devicetree/apple-adt-coverage.rst @@ -0,0 +1,39 @@ +.. SPDX-License-Identifier: GPL-2.0-only + +Apple device coverage manifests +============================== + +``arch/arm64/boot/dts/apple/adt-coverage/-.txt`` inventories ADT +hardware. Each line gives an ADT device path, translated physical base (or +``/bus/path@0xaddress``), and a DT node path, ``MISSING``, or ``WAIVED: reason``. +For split apertures, a mapped entry may use a secondary register base. +``-`` means no usable register address. Duplicate sibling names have a ``~N`` +suffix. Disabled DT nodes count as represented. PMGR table records appear +under ``pmgr/power-devices`` and ``pmgr/power-domains``. + +The generator and ADT inputs are private. Public manifests contain only device +names, addresses, DT paths and waiver reasons. ``waivers.txt`` supplies reviewed +exceptions as ``board-glob ADT-path-glob | reason``. Patterns match single path +components; recursive patterns are prohibited. Lack of a driver is no waiver. + +With Python 3 and pylibfdt installed, run:: + + python3 scripts/dtc/apple-adt-coverage.py \ + --dtb-dir out/arch/arm64/boot/dts/apple --report + +``--report`` lists MISSING counts per board while rejecting malformed records, +empty inventories, wrong-board DTBs and absent DT paths. Without it, MISSING +also fails. ``--board`` selects one board and may be repeated. + +``dt-checks.yml`` compares base and head DTBs and manifests using +``--baseline-manifest-dir`` and ``--baseline-dtb-dir``. It fails on a per-board +MISSING increase, a newly absent DT path, or removal of inventory devices. +Existing gaps remain visible without failing unrelated changes. When manifests +are first introduced, the head inventory is also measured against the base DTBs +to establish the baseline. A newly added inventory uses the same rule. Both +DTB sets must exist; baseline read errors fail. Newly introduced inventories +must have no broken DT paths, even when the base DTB lacks those paths. + +The checker verifies committed inventory consistency. It cannot discover ADT +devices omitted from that inventory or establish the correctness of a mapping. +Regeneration requires review against the private source and compiled board DTB. diff --git a/Documentation/devicetree/bindings/clock/apple,pmgr-clocks.yaml b/Documentation/devicetree/bindings/clock/apple,pmgr-clocks.yaml index 71e74f7d59a83..2b8450ee54230 100644 --- a/Documentation/devicetree/bindings/clock/apple,pmgr-clocks.yaml +++ b/Documentation/devicetree/bindings/clock/apple,pmgr-clocks.yaml @@ -16,53 +16,131 @@ description: | state and must not be represented as fixed clocks sampled at one boot. The provider remains disabled until a generation-specific clock driver can resolve selectors and coordinate ownership with firmware. + Selectors are scoped by the referenced PMGR; a dual-die platform has + one provider per die. -properties: - compatible: - items: - - enum: +select: + properties: + compatible: + contains: + enum: + - apple,t6000-pmgr-clocks + - apple,t6032-pmgr-clocks - apple,t6041-pmgr-clocks + - apple,t8103-pmgr-clocks + - apple,t8132-pmgr-clocks - apple,t8140-pmgr-clocks - - const: apple,pmgr-clocks - - reg: - description: PMGR control apertures in hardware-description order. - minItems: 44 - maxItems: 63 + required: + - compatible - '#clock-cells': - const: 1 +properties: + compatible: true apple,pmgr: $ref: /schemas/types.yaml#/definitions/phandle - description: Primary PMGR syscon. Additional control banks are described by reg. - -required: - - reg - - compatible - - '#clock-cells' - - apple,pmgr + description: Shared hardware resource metadata. allOf: - if: properties: compatible: contains: - const: apple,t6041-pmgr-clocks + enum: + - apple,t8132-pmgr-clocks + required: + - compatible then: - properties: - reg: - minItems: 63 - maxItems: 63 - - if: properties: compatible: - contains: - const: apple,t8140-pmgr-clocks - then: - properties: - reg: - minItems: 44 - maxItems: 44 + items: + - const: apple,t8132-pmgr-clocks + - const: apple,pmgr-clocks + + '#clock-cells': + const: 1 + + required: + - compatible + - '#clock-cells' + else: + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-pmgr-clocks + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-pmgr-clocks + - const: apple,pmgr-clocks + + '#clock-cells': + const: 1 + + required: + - compatible + - '#clock-cells' + else: + properties: + compatible: + oneOf: + - items: + - enum: + - apple,t6041-pmgr-clocks + - apple,t8140-pmgr-clocks + - const: apple,pmgr-clocks + - items: + - const: apple,t8103-pmgr-clocks + - const: apple,pmgr-clocks + - items: + - const: apple,t6000-pmgr-clocks + - const: apple,pmgr-clocks + + reg: + description: PMGR control apertures in hardware-description order. + minItems: 44 + maxItems: 63 + + '#clock-cells': + const: 1 + + apple,pmgr: + $ref: /schemas/types.yaml#/definitions/phandle + description: Primary PMGR syscon. Additional control banks are described by reg. + + required: + - reg + - compatible + - '#clock-cells' + - apple,pmgr + + allOf: + - if: + properties: + compatible: + contains: + const: apple,t6041-pmgr-clocks + then: + properties: + reg: + minItems: 63 + maxItems: 63 + - if: + properties: + compatible: + contains: + const: apple,t8140-pmgr-clocks + then: + properties: + reg: + minItems: 44 + maxItems: 44 + + additionalProperties: false -additionalProperties: false +unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/crypto/apple,aes.yaml b/Documentation/devicetree/bindings/crypto/apple,aes.yaml index 1b55625851940..57f7a93b5b284 100644 --- a/Documentation/devicetree/bindings/crypto/apple,aes.yaml +++ b/Documentation/devicetree/bindings/crypto/apple,aes.yaml @@ -13,35 +13,179 @@ description: | AES hardware attached to the SIO DART. The register banks are the engine, shared control and auxiliary control windows, in that order. +select: + properties: + compatible: + contains: + enum: + - apple,t6000-aes + - apple,t6020-aes + - apple,t6021-aes + - apple,t6022-aes + - apple,t6030-aes + - apple,t6031-aes + - apple,t6032-aes + - apple,t6041-aes + - apple,t8103-aes + - apple,t8112-aes + - apple,t8122-aes + - apple,t8132-aes + - apple,t8140-aes + required: + - compatible + properties: - compatible: - oneOf: - - items: - - const: apple,t6041-aes - - const: apple,aes - - items: - - const: apple,t8140-aes - - const: apple,aes - - reg: - minItems: 3 - maxItems: 3 - description: Register apertures in hardware-description order. - - interrupts: - maxItems: 1 - - power-domains: - maxItems: 1 - - iommus: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - power-domains - - iommus - -additionalProperties: false + compatible: true + +allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t8132-aes + required: + - compatible + then: + properties: + compatible: + items: + - enum: + - apple,t8132-aes + - const: apple,aes + + reg: + minItems: 3 + maxItems: 3 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + + iommus: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + else: + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-aes + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-aes + - const: apple,aes + + reg: + minItems: 2 + maxItems: 2 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + + iommus: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + else: + properties: + compatible: + items: + - enum: + - apple,t6000-aes + - apple,t6020-aes + - apple,t6021-aes + - apple,t6022-aes + - apple,t6030-aes + - apple,t6031-aes + - apple,t6041-aes + - apple,t8103-aes + - apple,t8112-aes + - apple,t8122-aes + - apple,t8140-aes + - const: apple,aes + + reg: + minItems: 2 + maxItems: 3 + description: Engine and control banks, with an auxiliary bank on later variants. + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + + iommus: + minItems: 1 + maxItems: 2 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6000-aes + - apple,t6020-aes + - apple,t6021-aes + - apple,t6022-aes + - apple,t6030-aes + - apple,t6031-aes + - apple,t8103-aes + - apple,t8112-aes + - apple,t8122-aes + then: + properties: + reg: + maxItems: 2 + else: + properties: + reg: + minItems: 3 + - if: + properties: + compatible: + contains: + const: apple,t6000-aes + then: + properties: + iommus: + minItems: 2 + else: + properties: + iommus: + maxItems: 1 + + additionalProperties: false + +unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/display/apple,dcp-expert.yaml b/Documentation/devicetree/bindings/display/apple,dcp-expert.yaml new file mode 100644 index 0000000000000..0d85582addd62 --- /dev/null +++ b/Documentation/devicetree/bindings/display/apple,dcp-expert.yaml @@ -0,0 +1,80 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/apple,dcp-expert.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple display expert control registers + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + Display control and timing register apertures associated with a display + coprocessor. These registers can be shared with firmware-owned display + blocks and must not be accessed without an ownership handoff. + +select: + properties: + compatible: + contains: + enum: + - apple,t6041-dcp-expert + - apple,t8132-dcp-expert + - apple,t8140-dcp-expert + required: + - compatible + +properties: + compatible: true + +allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t8132-dcp-expert + required: + - compatible + then: + properties: + compatible: + items: + - enum: + - apple,t8132-dcp-expert + - const: apple,dcp-expert + + reg: + minItems: 2 + maxItems: 2 + + required: + - compatible + - reg + + else: + properties: + compatible: + oneOf: + - items: + - const: apple,t6041-dcp-expert + - const: apple,dcp-expert + - items: + - const: apple,t8140-dcp-expert + - const: apple,dcp-expert + + reg: + minItems: 3 + maxItems: 17 + description: Register apertures in hardware-description order. + + interrupts: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/display/apple,dcp.yaml b/Documentation/devicetree/bindings/display/apple,dcp.yaml index 081f923b497e6..b0f711cba9327 100644 --- a/Documentation/devicetree/bindings/display/apple,dcp.yaml +++ b/Documentation/devicetree/bindings/display/apple,dcp.yaml @@ -49,10 +49,14 @@ properties: reserves their firmware memory, publishes the firmware identity and sets apple,t8132-dcpext-firmware-ready. const: apple,t8132-dcpext + - description: + T6031 (M3 Max) internal display controller. The display gate enables + it after the boot loader has handed the running display over. + const: apple,t6031-dcp reg: minItems: 2 - maxItems: 7 + maxItems: 8 reg-names: minItems: 2 @@ -63,8 +67,14 @@ properties: - enum: [disp-2, iop-vbar] - enum: [disp-3, iop-vbar] - enum: [disp-4, iop-vbar] + - enum: [disp-5, iop-vbar, coproc-aux] - const: iop-vbar + interrupts: + minItems: 7 + maxItems: 16 + description: Optional host display-engine interrupt sources. + mboxes: maxItems: 1 @@ -352,19 +362,6 @@ properties: apple,max-brightness: $ref: /schemas/types.yaml#/definitions/uint32 description: Maximum firmware backlight level. - apple,color-gamut: - $ref: /schemas/types.yaml#/definitions/string - enum: - - srgb - - display-p3 - description: - Standard colour space the panel is calibrated to by default, as - named in the product's published specifications. srgb has the - IEC 61966-2-1 primaries, display-p3 the SMPTE EG 432-1 primaries; - both have a D65 white and a nominal gamma of 2.2. Factory - calibration of the individual unit is applied by the display - coprocessor and is not described here. Colour data reported by - the firmware takes precedence. required: - compatible additionalProperties: false @@ -408,13 +405,14 @@ required: allOf: - if: - properties: - compatible: - contains: - enum: ['apple,t6030-dcpext', 'apple,t8132-dcpext'] - required: - - compatible - else: + not: + properties: + compatible: + contains: + enum: ['apple,t6030-dcpext', 'apple,t8132-dcpext'] + required: + - compatible + then: properties: mux-controls: maxItems: 8 @@ -423,11 +421,18 @@ allOf: items: pattern: '^(dp-xbar|typec[0-9]+)$' - if: - not: - properties: - compatible: - contains: - enum: ['apple,t8132-dcp', 'apple,t8132-dcpext'] + allOf: + - not: + properties: + compatible: + contains: + enum: ['apple,t6031-dcp', 'apple,t8132-dcp', 'apple,t8132-dcpext'] + - not: + properties: + status: + const: disabled + required: + - status then: required: - apple,bw-scratch diff --git a/Documentation/devicetree/bindings/display/apple,display-subsystem.yaml b/Documentation/devicetree/bindings/display/apple,display-subsystem.yaml index 383286892b97e..0d3e74d6a804c 100644 --- a/Documentation/devicetree/bindings/display/apple,display-subsystem.yaml +++ b/Documentation/devicetree/bindings/display/apple,display-subsystem.yaml @@ -18,6 +18,7 @@ properties: oneOf: - enum: - apple,display-subsystem + - apple,t6031-display-subsystem - apple,t8132-display-subsystem - const: apple,t8132-display-diagnostics deprecated: true diff --git a/Documentation/devicetree/bindings/display/apple,dpin.yaml b/Documentation/devicetree/bindings/display/apple,dpin.yaml index 340d078c054d1..bb4ca4c234236 100644 --- a/Documentation/devicetree/bindings/display/apple,dpin.yaml +++ b/Documentation/devicetree/bindings/display/apple,dpin.yaml @@ -12,23 +12,112 @@ maintainers: description: | DisplayPort ingress registers and interrupt for a USB4 display tunnel. +select: + properties: + compatible: + contains: + enum: + - apple,t6000-dpin + - apple,t6020-dpin + - apple,t6021-dpin + - apple,t6022-dpin + - apple,t6030-dpin + - apple,t6031-dpin + - apple,t6032-dpin + - apple,t6041-dpin + - apple,t8103-dpin + - apple,t8112-dpin + - apple,t8122-dpin + - apple,t8132-dpin + required: + - compatible + properties: - compatible: - oneOf: - - items: - - const: apple,t6041-dpin - - const: apple,dpin + compatible: true + +allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t8132-dpin + required: + - compatible + then: + properties: + compatible: + items: + - enum: + - apple,t8132-dpin + - const: apple,dpin + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + else: + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-dpin + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-dpin + - const: apple,dpin + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + else: + properties: + compatible: + items: + - enum: + - apple,t6000-dpin + - apple,t6020-dpin + - apple,t6021-dpin + - apple,t6022-dpin + - apple,t6030-dpin + - apple,t6031-dpin + - apple,t6041-dpin + - apple,t8103-dpin + - apple,t8112-dpin + - apple,t8122-dpin + - const: apple,dpin + + reg: + maxItems: 1 + description: Register apertures in hardware-description order. - reg: - maxItems: 1 - description: Register apertures in hardware-description order. + interrupts: + maxItems: 1 - interrupts: - maxItems: 1 + required: + - compatible + - reg + - interrupts -required: - - compatible - - reg - - interrupts + additionalProperties: false -additionalProperties: false +unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/dma/apple,pcie-piodma.yaml b/Documentation/devicetree/bindings/dma/apple,pcie-piodma.yaml index 530b4f7402804..99aa37f64119d 100644 --- a/Documentation/devicetree/bindings/dma/apple,pcie-piodma.yaml +++ b/Documentation/devicetree/bindings/dma/apple,pcie-piodma.yaml @@ -13,28 +13,125 @@ description: | PCIe auxiliary DMA register banks and completion interrupt. The stream is distinct from the PCIe endpoint streams in the same DART. +select: + properties: + compatible: + contains: + enum: + - apple,t6020-pcie-piodma + - apple,t6021-pcie-piodma + - apple,t6022-pcie-piodma + - apple,t6030-pcie-piodma + - apple,t6031-pcie-piodma + - apple,t6032-pcie-piodma + - apple,t6041-pcie-piodma + - apple,t8112-pcie-piodma + - apple,t8122-pcie-piodma + - apple,t8132-pcie-piodma + required: + - compatible + properties: - compatible: - oneOf: - - items: - - const: apple,t6041-pcie-piodma - - const: apple,pcie-piodma - - reg: - minItems: 3 - maxItems: 3 - description: Register apertures in hardware-description order. - - interrupts: - maxItems: 1 - - iommus: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - iommus - -additionalProperties: false + compatible: true + +allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t8132-pcie-piodma + required: + - compatible + then: + properties: + compatible: + items: + - enum: + - apple,t8132-pcie-piodma + - const: apple,pcie-piodma + + reg: + minItems: 3 + maxItems: 3 + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - iommus + else: + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-pcie-piodma + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-pcie-piodma + - const: apple,pcie-piodma + + reg: + minItems: 3 + maxItems: 3 + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + else: + properties: + compatible: + oneOf: + - items: + - const: apple,t6041-pcie-piodma + - const: apple,pcie-piodma + - items: + - enum: + - apple,t6020-pcie-piodma + - apple,t6021-pcie-piodma + - apple,t6022-pcie-piodma + - apple,t6030-pcie-piodma + - apple,t6031-pcie-piodma + - apple,t8112-pcie-piodma + - apple,t8122-pcie-piodma + - const: apple,pcie-piodma + + reg: + minItems: 3 + maxItems: 3 + description: Register apertures in hardware-description order. + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - iommus + + additionalProperties: false + +unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/dma/apple,pciec-piodma.yaml b/Documentation/devicetree/bindings/dma/apple,pciec-piodma.yaml index 7381a24bba808..1bbf5359b2b19 100644 --- a/Documentation/devicetree/bindings/dma/apple,pciec-piodma.yaml +++ b/Documentation/devicetree/bindings/dma/apple,pciec-piodma.yaml @@ -13,28 +13,126 @@ description: | PCIe tunnel auxiliary DMA register banks and completion interrupt. Its stream is distinct from the tunnel endpoint streams in the same DART. +select: + properties: + compatible: + contains: + enum: + - apple,t6000-pciec-piodma + - apple,t6020-pciec-piodma + - apple,t6021-pciec-piodma + - apple,t6022-pciec-piodma + - apple,t6030-pciec-piodma + - apple,t6031-pciec-piodma + - apple,t6032-pciec-piodma + - apple,t6041-pciec-piodma + - apple,t8103-pciec-piodma + - apple,t8112-pciec-piodma + - apple,t8122-pciec-piodma + - apple,t8132-pciec-piodma + required: + - compatible + properties: - compatible: - oneOf: - - items: - - const: apple,t6041-pciec-piodma - - const: apple,pciec-piodma - - reg: - minItems: 4 - maxItems: 4 - description: Register apertures in hardware-description order. - - interrupts: - maxItems: 1 - - iommus: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - iommus - -additionalProperties: false + compatible: true + +allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t8132-pciec-piodma + required: + - compatible + then: + properties: + compatible: + items: + - enum: + - apple,t8132-pciec-piodma + - const: apple,pciec-piodma + + reg: + minItems: 4 + maxItems: 4 + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - iommus + else: + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-pciec-piodma + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-pciec-piodma + - const: apple,pciec-piodma + + reg: + minItems: 4 + maxItems: 4 + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + else: + properties: + compatible: + items: + - enum: + - apple,t6000-pciec-piodma + - apple,t6020-pciec-piodma + - apple,t6021-pciec-piodma + - apple,t6022-pciec-piodma + - apple,t6030-pciec-piodma + - apple,t6031-pciec-piodma + - apple,t6041-pciec-piodma + - apple,t8103-pciec-piodma + - apple,t8112-pciec-piodma + - apple,t8122-pciec-piodma + - const: apple,pciec-piodma + + reg: + minItems: 4 + maxItems: 4 + description: Register apertures in hardware-description order. + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - iommus + + additionalProperties: false + +unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/dma/apple,sio.yaml b/Documentation/devicetree/bindings/dma/apple,sio.yaml index 5a6e7e84cd469..66e881608d388 100644 --- a/Documentation/devicetree/bindings/dma/apple,sio.yaml +++ b/Documentation/devicetree/bindings/dma/apple,sio.yaml @@ -22,16 +22,53 @@ allOf: properties: compatible: contains: - const: apple,t8140-sio + const: apple,t8132-sio + required: + - compatible then: properties: reg: + minItems: 2 + maxItems: 2 + clocks: minItems: 3 maxItems: 3 + status: + const: disabled + required: + - clocks + - status else: - properties: - reg: - maxItems: 1 + required: + - dma-channels + allOf: + - if: + properties: + compatible: + contains: + const: apple,t8140-sio + then: + properties: + reg: + minItems: 3 + maxItems: 3 + else: + if: + properties: + compatible: + contains: + enum: + - apple,t6031-sio + - apple,t8122-sio + then: + properties: + reg: + minItems: 2 + maxItems: 2 + else: + properties: + reg: + maxItems: 1 properties: compatible: @@ -41,8 +78,11 @@ properties: - apple,t6000-sio - apple,t6020-sio - apple,t6030-sio + - apple,t6031-sio + - apple,t8122-sio - apple,t8103-sio - apple,t8112-sio + - apple,t8132-sio - apple,t8140-sio - const: apple,sio - description: T6041 firmware requires a generation-specific backend. @@ -60,6 +100,8 @@ properties: minItems: 1 maxItems: 3 + status: true + '#dma-cells': const: 1 description: @@ -121,7 +163,6 @@ required: - compatible - reg - '#dma-cells' - - dma-channels - mboxes - iommus - power-domains diff --git a/Documentation/devicetree/bindings/edac/apple,soc-error-handler.yaml b/Documentation/devicetree/bindings/edac/apple,soc-error-handler.yaml index 157b0f836b1e3..2f8ce57bad574 100644 --- a/Documentation/devicetree/bindings/edac/apple,soc-error-handler.yaml +++ b/Documentation/devicetree/bindings/edac/apple,soc-error-handler.yaml @@ -14,93 +14,456 @@ description: | errors to dedicated platform interrupt groups. A second group reports fatal events latched by peripheral event logs. +select: + properties: + compatible: + contains: + enum: + - apple,t6000-error-handler + - apple,t6000-event-log + - apple,t6001-error-handler + - apple,t6001-event-log + - apple,t6002-error-handler + - apple,t6002-event-log + - apple,t6020-error-handler + - apple,t6020-event-log + - apple,t6021-error-handler + - apple,t6021-event-log + - apple,t6022-error-handler + - apple,t6022-event-log + - apple,t6030-error-handler + - apple,t6030-event-log + - apple,t6031-error-handler + - apple,t6031-event-log + - apple,t6041-error-handler + - apple,t6041-event-log + - apple,t8103-error-handler + - apple,t8103-event-log + - apple,t8112-error-handler + - apple,t8112-event-log + - apple,t8122-error-handler + - apple,t8122-event-log + - apple,t8132-error-handler + - apple,t8132-event-log + - apple,t8140-error-handler + - apple,t8140-event-log + required: + - compatible + properties: - compatible: - oneOf: - - items: - - const: apple,t6041-error-handler - - const: apple,soc-error-handler - - items: - - const: apple,t8140-error-handler - - const: apple,soc-error-handler - - items: - - const: apple,t6041-event-log - - const: apple,soc-event-log - - items: - - const: apple,t8140-event-log - - const: apple,soc-event-log - - interrupts: - minItems: 9 - maxItems: 89 - - reg: - minItems: 10 - maxItems: 25 - description: | - T6041 uses the qualified per-source NI status apertures in interrupt - order. T8140 publishes its native error/event register banks in - hardware-description order; their presence does not establish safe - AP access and the instances remain disabled until qualified. - -required: - - compatible - - interrupts + compatible: true allOf: - if: properties: compatible: contains: - const: apple,t6041-error-handler - then: - properties: - interrupts: - minItems: 89 - maxItems: 89 - reg: - minItems: 25 - maxItems: 25 + enum: + - apple,t8132-error-handler + - apple,t8132-event-log required: - - reg - - if: - properties: - compatible: - contains: - const: apple,t8140-error-handler + - compatible then: - properties: - interrupts: - minItems: 26 - maxItems: 26 - reg: - minItems: 17 - maxItems: 17 - - if: properties: compatible: - contains: - const: apple,t6041-event-log - then: - properties: + oneOf: + - items: + - const: apple,t8132-error-handler + - const: apple,soc-error-handler + - items: + - const: apple,t8132-event-log + - const: apple,soc-event-log + + reg: + minItems: 23 + maxItems: 55 + description: Status apertures in hardware-description order. + interrupts: - minItems: 21 - maxItems: 21 - - if: + minItems: 12 + maxItems: 34 + + required: + - compatible + - reg + - interrupts + + allOf: + - if: + properties: + compatible: + contains: + const: apple,t8132-error-handler + then: + properties: + reg: + minItems: 23 + maxItems: 23 + interrupts: + minItems: 34 + maxItems: 34 + else: + properties: + reg: + minItems: 55 + maxItems: 55 + interrupts: + minItems: 12 + maxItems: 12 + else: properties: compatible: - contains: - const: apple,t8140-event-log - then: - properties: + oneOf: + - items: + - enum: + - apple,t6000-error-handler + - apple,t6001-error-handler + - apple,t6002-error-handler + - apple,t6020-error-handler + - apple,t6021-error-handler + - apple,t6022-error-handler + - apple,t6030-error-handler + - apple,t6031-error-handler + - apple,t6041-error-handler + - apple,t8103-error-handler + - apple,t8112-error-handler + - apple,t8122-error-handler + - apple,t8140-error-handler + - const: apple,soc-error-handler + - items: + - enum: + - apple,t6000-event-log + - apple,t6001-event-log + - apple,t6002-event-log + - apple,t6020-event-log + - apple,t6021-event-log + - apple,t6022-event-log + - apple,t6030-event-log + - apple,t6031-event-log + - apple,t6041-event-log + - apple,t8103-event-log + - apple,t8112-event-log + - apple,t8122-event-log + - apple,t8140-event-log + - const: apple,soc-event-log + + power-domains: + maxItems: 1 + description: Power domain needed for the associated error-source registers. + interrupts: minItems: 9 - maxItems: 9 + maxItems: 322 + reg: minItems: 10 - maxItems: 10 + maxItems: 255 + description: | + Status apertures in hardware-description order. T6041 uses qualified + per-source NI status apertures in interrupt order. Native register + access on other variants requires separate qualification. + + required: + - compatible + - interrupts + + allOf: + - if: + properties: + compatible: + contains: + const: apple,t6041-error-handler + then: + properties: + interrupts: + minItems: 89 + maxItems: 89 + reg: + minItems: 25 + maxItems: 25 + required: + - reg + - if: + properties: + compatible: + contains: + const: apple,t8140-error-handler + then: + properties: + interrupts: + minItems: 26 + maxItems: 26 + reg: + minItems: 17 + maxItems: 17 + - if: + properties: + compatible: + contains: + const: apple,t6041-event-log + then: + properties: + interrupts: + minItems: 21 + maxItems: 21 + - if: + properties: + compatible: + contains: + const: apple,t8140-event-log + then: + properties: + interrupts: + minItems: 9 + maxItems: 9 + reg: + minItems: 10 + maxItems: 10 + - if: + properties: + compatible: + contains: + enum: + - apple,t8122-error-handler + then: + properties: + reg: + minItems: 19 + maxItems: 19 + interrupts: + minItems: 39 + maxItems: 39 + required: + - reg + - if: + properties: + compatible: + contains: + enum: + - apple,t6030-error-handler + then: + properties: + reg: + minItems: 26 + maxItems: 26 + interrupts: + minItems: 54 + maxItems: 54 + required: + - reg + - if: + properties: + compatible: + contains: + enum: + - apple,t8122-event-log + then: + properties: + reg: + minItems: 13 + maxItems: 13 + interrupts: + minItems: 13 + maxItems: 13 + required: + - reg + - if: + properties: + compatible: + contains: + enum: + - apple,t6030-event-log + then: + properties: + reg: + minItems: 26 + maxItems: 26 + interrupts: + minItems: 26 + maxItems: 26 + required: + - reg + - if: + properties: + compatible: + contains: + enum: + - apple,t6031-event-log + then: + properties: + reg: + minItems: 25 + maxItems: 25 + interrupts: + minItems: 26 + maxItems: 26 + required: + - reg + - if: + properties: + compatible: + contains: + enum: + - apple,t6031-error-handler + then: + oneOf: + - properties: + reg: + minItems: 123 + maxItems: 123 + interrupts: + minItems: 159 + maxItems: 159 + - properties: + reg: + minItems: 113 + maxItems: 113 + interrupts: + minItems: 141 + maxItems: 141 + required: + - reg + + - if: + properties: + compatible: + contains: + const: apple,t8103-error-handler + then: + properties: + interrupts: + minItems: 11 + maxItems: 11 + reg: + minItems: 18 + maxItems: 18 + required: + - reg + - if: + properties: + compatible: + contains: + const: apple,t8103-event-log + then: + properties: + interrupts: + minItems: 16 + maxItems: 16 + reg: + minItems: 16 + maxItems: 16 + required: + - reg + - if: + properties: + compatible: + contains: + const: apple,t6000-error-handler + then: + properties: + interrupts: + minItems: 76 + maxItems: 76 + reg: + minItems: 55 + maxItems: 55 + required: + - reg + - if: + properties: + compatible: + contains: + const: apple,t6000-event-log + then: + properties: + interrupts: + minItems: 28 + maxItems: 28 + reg: + minItems: 28 + maxItems: 28 + required: + - reg + - if: + properties: + compatible: + contains: + const: apple,t6001-error-handler + then: + properties: + interrupts: + minItems: 127 + maxItems: 127 + reg: + minItems: 90 + maxItems: 90 + required: + - reg + - if: + properties: + compatible: + contains: + const: apple,t6001-event-log + then: + properties: + interrupts: + minItems: 28 + maxItems: 28 + reg: + minItems: 28 + maxItems: 28 + required: + - reg + - if: + properties: + compatible: + contains: + const: apple,t6002-error-handler + then: + oneOf: + - properties: + interrupts: + minItems: 138 + maxItems: 138 + reg: + minItems: 104 + maxItems: 104 + - properties: + interrupts: + minItems: 130 + maxItems: 130 + reg: + minItems: 101 + maxItems: 101 + required: + - reg + - if: + properties: + compatible: + contains: + const: apple,t6002-event-log + then: + oneOf: + - properties: + interrupts: + minItems: 28 + maxItems: 28 + reg: + minItems: 28 + maxItems: 28 + - properties: + interrupts: + minItems: 26 + maxItems: 26 + reg: + minItems: 26 + maxItems: 26 + required: + - reg + + additionalProperties: false -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/iio/imu/apple,aop-motion.yaml b/Documentation/devicetree/bindings/iio/imu/apple,aop-motion.yaml index e358c89ab18a3..2fe2474ee0987 100644 --- a/Documentation/devicetree/bindings/iio/imu/apple,aop-motion.yaml +++ b/Documentation/devicetree/bindings/iio/imu/apple,aop-motion.yaml @@ -25,12 +25,16 @@ properties: oneOf: - items: - enum: + - apple,t6000-aop-accel - apple,t6041-aop-accel + - apple,t8112-aop-accel - apple,t8132-aop-accel - const: apple,aop-accel - items: - enum: + - apple,t6000-aop-gyro - apple,t6041-aop-gyro + - apple,t8112-aop-gyro - apple,t8132-aop-gyro - const: apple,aop-gyro diff --git a/Documentation/devicetree/bindings/iio/light/apple,aop-als.yaml b/Documentation/devicetree/bindings/iio/light/apple,aop-als.yaml new file mode 100644 index 0000000000000..1bfb009fa57ea --- /dev/null +++ b/Documentation/devicetree/bindings/iio/light/apple,aop-als.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/apple,aop-als.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple AOP ambient light sensor service + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The service is supplied by the parent Always-On Processor. Firmware and + calibration handoff determine its availability. It has no independent + application-processor register window or interrupt. + +select: + properties: + compatible: + contains: + enum: + - apple,t6020-aop-als + - apple,t8112-aop-als + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t6020-aop-als + - apple,t8112-aop-als + - const: apple,aop-als + +required: + - compatible + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/iio/position/apple,aop-las.yaml b/Documentation/devicetree/bindings/iio/position/apple,aop-las.yaml new file mode 100644 index 0000000000000..bac004f1ac9b3 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/position/apple,aop-las.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/position/apple,aop-las.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple AOP lid angle sensor service + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The service is supplied by the parent Always-On Processor. Firmware and + calibration handoff determine its availability. It has no independent + application-processor register window or interrupt. + +select: + properties: + compatible: + contains: + enum: + - apple,t6020-aop-las + - apple,t8112-aop-las + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t6020-aop-las + - apple,t8112-aop-las + - const: apple,aop-las + +required: + - compatible + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/iommu/apple,ane-dma.yaml b/Documentation/devicetree/bindings/iommu/apple,ane-dma.yaml new file mode 100644 index 0000000000000..b2d361e4017ed --- /dev/null +++ b/Documentation/devicetree/bindings/iommu/apple,ane-dma.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iommu/apple,ane-dma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple M1 Neural Engine auxiliary DMA aperture + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + An auxiliary address-translation aperture accompanies the three Neural + Engine DART register banks. It is described separately because it is + not an instance of the general-purpose DART programming model. + Its interrupt is shared with the DART banks. + +properties: + compatible: + items: + - enum: + - apple,t6000-ane-dma + - const: apple,ane-dma + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - power-domains + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/iommu/apple,ave-dma.yaml b/Documentation/devicetree/bindings/iommu/apple,ave-dma.yaml new file mode 100644 index 0000000000000..9421d6e38377a --- /dev/null +++ b/Documentation/devicetree/bindings/iommu/apple,ave-dma.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iommu/apple,ave-dma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple video encoder auxiliary DMA apertures + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + Auxiliary translation and protection apertures accompany the video + encoder DMA DARTs. They are described separately because they do not + implement the programming model of the general-purpose DART driver. + The interrupt is shared with the codec DART instances. + +properties: + compatible: + oneOf: + - items: + - enum: + - apple,t8103-ave-dma + - const: apple,ave-dma + - items: + - const: apple,t6000-ave-dma + - const: apple,ave-dma + + reg: + minItems: 2 + maxItems: 2 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - power-domains + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/iommu/apple,dapf.yaml b/Documentation/devicetree/bindings/iommu/apple,dapf.yaml new file mode 100644 index 0000000000000..2a7262c6c441e --- /dev/null +++ b/Documentation/devicetree/bindings/iommu/apple,dapf.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iommu/apple,dapf.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple DMA address protection filter + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + Hardware resources of the Apple Silicon DMA address protection filter. + The interface is described for discovery and must remain disabled until + its ownership, initialization and shutdown are supported. Register windows + are listed in hardware resource order; firmware configuration and tuning + data are supplied by the boot firmware rather than this binding. + +select: + properties: + compatible: + contains: + enum: + - apple,t6030-dapf + - apple,t6031-dapf + - apple,t6032-dapf + - apple,t8122-dapf + - apple,t8132-dapf + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t8122-dapf + - apple,t6030-dapf + - apple,t6031-dapf + - apple,t6032-dapf + - apple,t8132-dapf + - const: apple,dapf + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/iommu/apple,dart-smmu.yaml b/Documentation/devicetree/bindings/iommu/apple,dart-smmu.yaml new file mode 100644 index 0000000000000..e06b179c79cab --- /dev/null +++ b/Documentation/devicetree/bindings/iommu/apple,dart-smmu.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iommu/apple,dart-smmu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple system MMU companion interface + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + Hardware resources of the Apple Silicon system MMU companion interface. + The interface is described for discovery and must remain disabled until + its ownership, initialization and shutdown are supported. Register windows + are listed in hardware resource order; firmware configuration and tuning + data are supplied by the boot firmware rather than this binding. + +select: + properties: + compatible: + contains: + enum: + - apple,t6030-dart-smmu + - apple,t6031-dart-smmu + - apple,t6032-dart-smmu + - apple,t8122-dart-smmu + - apple,t8132-dart-smmu + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t8122-dart-smmu + - apple,t6030-dart-smmu + - apple,t6031-dart-smmu + - apple,t6032-dart-smmu + - apple,t8132-dart-smmu + - const: apple,dart-smmu + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/iommu/apple,dart.yaml b/Documentation/devicetree/bindings/iommu/apple,dart.yaml index a5455e4eac35a..514b17641bf5b 100644 --- a/Documentation/devicetree/bindings/iommu/apple,dart.yaml +++ b/Documentation/devicetree/bindings/iommu/apple,dart.yaml @@ -23,6 +23,10 @@ description: |+ properties: compatible: oneOf: + - items: + - const: apple,t6000-display-dart + - const: apple,t6000-dart + - const: apple,t8110-dart - enum: - apple,t8103-dart - apple,t8103-usb4-dart @@ -79,7 +83,7 @@ properties: minItems: 1 items: - const: dart - - const: dapf + - enum: [dapf, auxiliary] interrupts: maxItems: 1 @@ -172,6 +176,17 @@ required: - interrupts allOf: + - if: + properties: + compatible: + contains: + const: apple,t6000-display-dart + then: + properties: + reg: + minItems: 2 + required: + - reg-names - if: properties: reg: diff --git a/Documentation/devicetree/bindings/iommu/apple,gapf.yaml b/Documentation/devicetree/bindings/iommu/apple,gapf.yaml new file mode 100644 index 0000000000000..60dc0758046fe --- /dev/null +++ b/Documentation/devicetree/bindings/iommu/apple,gapf.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iommu/apple,gapf.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple M4 base SoC global address protection filter + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + Hardware resources of the M4 base SoC global address protection filter. + The interface is described for discovery and must remain disabled until + its ownership, initialization and shutdown are supported. Register windows + are listed in hardware resource order; firmware configuration and tuning + data are supplied by the boot firmware rather than this binding. + +select: + properties: + compatible: + contains: + enum: + - apple,t8132-gapf + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t8132-gapf + - const: apple,gapf + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/media/apple,avd.yaml b/Documentation/devicetree/bindings/media/apple,avd.yaml index 1187255b0f474..afbe7e00bb690 100644 --- a/Documentation/devicetree/bindings/media/apple,avd.yaml +++ b/Documentation/devicetree/bindings/media/apple,avd.yaml @@ -12,84 +12,157 @@ description: maintainers: - Sofus -properties: - compatible: - oneOf: - - items: - - enum: - - apple,t6030-avd - - apple,t6031-avd - - const: apple,t8122-avd - - items: - - const: apple,t6041-max-avd - - const: apple,t6041-avd - - const: apple,t8132-avd - - items: - - const: apple,t6041-avd - - const: apple,t8132-avd - - enum: - - apple,t8103-avd +select: + properties: + compatible: + contains: + enum: - apple,t6000-avd - - apple,t8112-avd - apple,t6020-avd + - apple,t6030-avd + - apple,t6031-avd + - apple,t6041-avd + - apple,t6041-max-avd + - apple,t8103-avd + - apple,t8112-avd - apple,t8122-avd - apple,t8132-avd - apple,t8140-avd - apple,t8142-avd + required: + - compatible - reg: - items: - - description: cm3 code - - description: cm3 sram - - description: mbox registers - - description: decode ctrl registers - - reg-names: - items: - - const: code - - const: sram - - const: mbox - - const: ctrl - - iommus: - minItems: 1 - maxItems: 3 - - power-domains: - minItems: 1 - items: - - description: decoder power state - - description: performance floor (PMC rail or PMP device level) held while decoding - - power-domain-names: - minItems: 1 - items: - - const: core - - const: perf - - resets: - maxItems: 1 - - interrupts: - minItems: 2 - items: - - description: mailbox 0 - - description: mailbox 1 - - description: mailbox 2 - - description: mailbox 3 - - description: flag 0 - - description: flag 1 - -required: - - compatible - - reg - - interrupts - - reg-names - - iommus - - power-domains - - resets - -additionalProperties: false +properties: + compatible: true + +allOf: + - if: + properties: + compatible: + contains: + const: apple,avd + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t8132-avd + - const: apple,avd + + reg: + maxItems: 1 + description: Complete decoder register aperture. + + interrupts: + minItems: 2 + maxItems: 2 + + iommus: + minItems: 3 + maxItems: 3 + description: Decoder, PIODMA and auxiliary-data streams, in that order. + + power-domains: + maxItems: 1 + + clocks: + maxItems: 1 + + status: + const: disabled + + required: + - compatible + - reg + - interrupts + - iommus + - power-domains + - clocks + - status + else: + properties: + compatible: + oneOf: + - items: + - enum: + - apple,t6030-avd + - apple,t6031-avd + - const: apple,t8122-avd + - items: + - const: apple,t6041-max-avd + - const: apple,t6041-avd + - const: apple,t8132-avd + - items: + - const: apple,t6041-avd + - const: apple,t8132-avd + - enum: + - apple,t8103-avd + - apple,t6000-avd + - apple,t8112-avd + - apple,t6020-avd + - apple,t8122-avd + - apple,t8132-avd + - apple,t8140-avd + - apple,t8142-avd + + reg: + items: + - description: cm3 code + - description: cm3 sram + - description: mbox registers + - description: decode ctrl registers + + reg-names: + items: + - const: code + - const: sram + - const: mbox + - const: ctrl + + iommus: + minItems: 1 + maxItems: 3 + + power-domains: + minItems: 1 + items: + - description: decoder power state + - description: performance floor (PMC rail or PMP device level) held while decoding + + power-domain-names: + minItems: 1 + items: + - const: core + - const: perf + + resets: + maxItems: 1 + + dma-coherent: true + + interrupts: + minItems: 2 + items: + - description: mailbox 0 + - description: mailbox 1 + - description: mailbox 2 + - description: mailbox 3 + - description: flag 0 + - description: flag 1 + + required: + - compatible + - reg + - interrupts + - reg-names + - iommus + - power-domains + - resets + + additionalProperties: false + +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/media/apple,t6041-isp.yaml b/Documentation/devicetree/bindings/media/apple,isp.yaml similarity index 70% rename from Documentation/devicetree/bindings/media/apple,t6041-isp.yaml rename to Documentation/devicetree/bindings/media/apple,isp.yaml index e66161db7c371..8b3eb242358d6 100644 --- a/Documentation/devicetree/bindings/media/apple,t6041-isp.yaml +++ b/Documentation/devicetree/bindings/media/apple,isp.yaml @@ -1,32 +1,35 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/media/apple,t6041-isp.yaml# +$id: http://devicetree.org/schemas/media/apple,isp.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Apple T604x Image Signal Processor +title: Apple Image Signal Processor maintainers: - Jonathan Goyvaerts description: - The T604x ISP controls the attached camera sensor and processes its frames - through firmware the bootloader loads. The firmware segments are described - as reserved memory mapped at the addresses the firmware runs them at. The - host exchanges commands and image buffers through three DART instances. + The ISP controls the attached camera sensor and processes its frames using + a coprocessor. The host exchanges commands and image buffers through three + DART instances. The memory handoff identifies either the allocation heap or + separate firmware text, data and heap regions. select: properties: compatible: contains: - const: apple,t6041-isp + enum: ['apple,t6020-isp', 'apple,t6041-isp', 'apple,t8112-isp'] required: - compatible properties: compatible: items: - - const: apple,t6041-isp + - enum: + - apple,t6020-isp + - apple,t6041-isp + - apple,t8112-isp - const: apple,isp reg: @@ -53,27 +56,20 @@ properties: - description: Third ISP DART stream power-domains: - items: - - description: ISP system domain - - description: ISP CPU domain - - description: ISP FE domain - - description: ISP DPRX domain - - description: ISP secure domain - - description: ISP BE domain - - description: ISP CLR domain - - description: Camera sensor domain + minItems: 7 + maxItems: 16 + description: Register-backed power domains required by the ISP. memory-region: - items: - - description: Firmware text loaded by the bootloader - - description: Firmware data loaded by the bootloader - - description: Firmware main memory window; host allocations follow it + minItems: 1 + maxItems: 3 + description: Firmware memory and the host allocation heap. memory-region-names: + minItems: 1 + maxItems: 3 items: - - const: text - - const: data - - const: heap + enum: [text, data, heap] apple,dart-vm-size: $ref: /schemas/types.yaml#/definitions/uint64 @@ -142,11 +138,58 @@ required: - interrupts - iommus - power-domains - - memory-region - - memory-region-names - apple,dart-vm-size - - apple,platform-id - - sensor-presets + +allOf: + - if: + properties: + compatible: + contains: + const: apple,t6041-isp + then: + properties: + power-domains: + items: + - description: ISP system domain + - description: ISP CPU domain + - description: ISP FE domain + - description: ISP DPRX domain + - description: ISP secure domain + - description: ISP BE domain + - description: ISP CLR domain + - description: Camera sensor domain + memory-region: + minItems: 3 + memory-region-names: + items: + - const: text + - const: data + - const: heap + required: + - memory-region + - memory-region-names + - apple,platform-id + - sensor-presets + else: + properties: + memory-region: + maxItems: 1 + memory-region-names: + items: + - const: heap + - if: + not: + properties: + status: + const: disabled + required: + - status + then: + required: + - memory-region + - memory-region-names + - apple,platform-id + - sensor-presets additionalProperties: false diff --git a/Documentation/devicetree/bindings/media/apple,jpeg.yaml b/Documentation/devicetree/bindings/media/apple,jpeg.yaml index 056e1d33c00fd..bbab1e49d9f50 100644 --- a/Documentation/devicetree/bindings/media/apple,jpeg.yaml +++ b/Documentation/devicetree/bindings/media/apple,jpeg.yaml @@ -12,68 +12,208 @@ maintainers: description: | Apple Silicon JPEG engines are directly programmed memory-to-memory codecs. Each engine has a dedicated interrupt and DART stream. Multiple engines can - share a power domain. The power controller manages the gate; no separate - clock or firmware interface is required. + share a power domain. The power controller manages the gate. Earlier + engines also identify native input-clock selectors. The codec has no + firmware interface. On T6041 the DMA window reserves one 4 GiB slice of the DART high alias for the engine's 32-bit buffer pointer registers. T8140 engines take 64-bit buffer addresses and use their DART's full window. -properties: - compatible: - enum: - - apple,t6041-jpeg - - apple,t8140-jpeg - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - iommus: - maxItems: 1 - - power-domains: - minItems: 1 - items: - - description: The engine's power domain - - description: Performance request held while the engine works +select: + properties: + compatible: + contains: + enum: + - apple,t6000-jpeg + - apple,t6020-jpeg + - apple,t6021-jpeg + - apple,t6022-jpeg + - apple,t6030-jpeg + - apple,t6031-jpeg + - apple,t6032-jpeg + - apple,t6041-jpeg + - apple,t8103-jpeg + - apple,t8112-jpeg + - apple,t8122-jpeg + - apple,t8132-jpeg + - apple,t8140-jpeg + required: + - compatible - power-domain-names: - minItems: 1 - items: - - const: core - - const: perf +properties: + compatible: true apple,dma-range: $ref: /schemas/types.yaml#/definitions/uint64-array - items: - - const: 0x10000000000 - - const: 0x100000000 - description: Device-visible DMA window, as a 64-bit base and size. - Only for engines with 32-bit buffer pointers. - -required: - - compatible - - reg - - interrupts - - iommus - - power-domains + description: Shared hardware resource metadata. allOf: - if: properties: compatible: - const: apple,t6041-jpeg - then: + contains: + enum: + - apple,t8132-jpeg required: - - apple,dma-range - else: + - compatible + then: properties: - apple,dma-range: false + compatible: + items: + - enum: + - apple,t8132-jpeg + - const: apple,jpeg + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 -additionalProperties: false + iommus: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + else: + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-jpeg + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-jpeg + - const: apple,jpeg + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + + iommus: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 2 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + - clocks + else: + properties: + compatible: + oneOf: + - enum: + - apple,t6041-jpeg + - apple,t8140-jpeg + - items: + - enum: + - apple,t6000-jpeg + - apple,t6020-jpeg + - apple,t6021-jpeg + - apple,t6022-jpeg + - apple,t6030-jpeg + - apple,t6031-jpeg + - apple,t8103-jpeg + - apple,t8112-jpeg + - apple,t8122-jpeg + - const: apple,jpeg + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + power-domains: + minItems: 1 + items: + - description: The engine's power domain + - description: Performance request held while the engine works + + power-domain-names: + minItems: 1 + items: + - const: core + - const: perf + + apple,dma-range: + $ref: /schemas/types.yaml#/definitions/uint64-array + items: + - const: 0x10000000000 + - const: 0x100000000 + description: Device-visible DMA window, as a 64-bit base and size. + Only for engines with 32-bit buffer pointers. + + required: + - compatible + - reg + - interrupts + - iommus + - power-domains + + allOf: + - if: + properties: + compatible: + const: apple,t6041-jpeg + then: + required: + - apple,dma-range + else: + properties: + apple,dma-range: false + - if: + properties: + compatible: + contains: + enum: + - apple,t6030-jpeg + - apple,t6031-jpeg + - apple,t8122-jpeg + then: + properties: + power-domains: + maxItems: 1 + + additionalProperties: false + +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/media/apple,prores.yaml b/Documentation/devicetree/bindings/media/apple,prores.yaml index 4124c331a9f8c..52213425af62b 100644 --- a/Documentation/devicetree/bindings/media/apple,prores.yaml +++ b/Documentation/devicetree/bindings/media/apple,prores.yaml @@ -14,82 +14,235 @@ description: | descriptors in a DMA ring; the engine signals completion with an interrupt. It has no firmware. Its power domain also resets it. +select: + properties: + compatible: + contains: + enum: + - apple,t6000-prores + - apple,t6020-prores + - apple,t6021-prores + - apple,t6022-prores + - apple,t6030-prores + - apple,t6031-prores + - apple,t6032-prores + - apple,t6041-prores + - apple,t8112-prores + - apple,t8122-prores + - apple,t8132-prores + - apple,t8140-prores + required: + - compatible + properties: - compatible: - oneOf: - - const: apple,t8140-prores - - items: - - const: apple,t6041-prores - - const: apple,prores - - reg: - minItems: 2 - maxItems: 3 - description: Engine, wrapper and (on T6041) auxiliary register windows. - - reg-names: - minItems: 2 - items: - - const: core - - const: wrapper - - const: aux - - interrupts: - minItems: 1 - maxItems: 2 - - iommus: - maxItems: 1 - - power-domains: - minItems: 1 - items: - - description: The engine's power domain - - description: Performance request held while the engine works - - power-domain-names: - minItems: 1 - items: - - const: core - - const: perf - - resets: - maxItems: 1 - -required: - - compatible - - reg - - reg-names - - interrupts - - iommus - - power-domains + compatible: true allOf: - if: properties: compatible: contains: - const: apple,t6041-prores + enum: + - apple,t8132-prores + required: + - compatible then: properties: + compatible: + items: + - enum: + - apple,t8132-prores + - const: apple,prores + reg: minItems: 3 maxItems: 3 - reg-names: - minItems: 3 - maxItems: 3 + interrupts: + minItems: 2 + maxItems: 2 + + power-domains: + maxItems: 1 + + iommus: maxItems: 1 + required: - - resets + - compatible + - reg + - interrupts + - power-domains + - iommus else: - properties: - reg: - maxItems: 2 - reg-names: - maxItems: 2 + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-prores + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-prores + - const: apple,prores + + reg: + minItems: 2 + maxItems: 3 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + + iommus: + minItems: 1 + maxItems: 2 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + else: + properties: + compatible: + oneOf: + - const: apple,t8140-prores + - items: + - enum: + - apple,t6000-prores + - apple,t6020-prores + - apple,t6021-prores + - apple,t6022-prores + - apple,t6030-prores + - apple,t6031-prores + - apple,t6041-prores + - apple,t8112-prores + - apple,t8122-prores + - const: apple,prores + + reg: + minItems: 2 + maxItems: 3 + description: Engine, wrapper and generation-specific auxiliary register windows. + + reg-names: + minItems: 2 + items: + - const: core + - const: wrapper + - const: aux + + interrupts: + minItems: 1 + maxItems: 2 + + iommus: + minItems: 1 + maxItems: 2 + + power-domains: + minItems: 1 + items: + - description: The engine's power domain + - description: Performance request held while the engine works + + power-domain-names: + minItems: 1 + items: + - const: core + - const: perf + + resets: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - iommus + - power-domains + + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6030-prores + - apple,t6031-prores + - apple,t8122-prores + then: + properties: + reg: + minItems: 2 + maxItems: 3 + power-domains: + maxItems: 1 + - if: + properties: + compatible: + contains: + enum: + - apple,t6020-prores + - apple,t6021-prores + - apple,t6022-prores + - apple,t8112-prores + then: + properties: + reg: + maxItems: 2 + reg-names: + maxItems: 2 + - if: + properties: + compatible: + contains: + enum: + - apple,t6041-prores + then: + properties: + reg: + minItems: 3 + maxItems: 3 + reg-names: + minItems: 3 + maxItems: 3 + interrupts: + maxItems: 1 + iommus: + maxItems: 1 + required: + - resets + - reg-names + - if: + properties: + compatible: + contains: + enum: + - apple,t8140-prores + then: + properties: + reg: + maxItems: 2 + reg-names: + maxItems: 2 + iommus: + maxItems: 1 + required: + - reg-names + + additionalProperties: false -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/media/apple,scaler.yaml b/Documentation/devicetree/bindings/media/apple,scaler.yaml index b5f2f5b0e50eb..e7e041337193b 100644 --- a/Documentation/devicetree/bindings/media/apple,scaler.yaml +++ b/Documentation/devicetree/bindings/media/apple,scaler.yaml @@ -14,46 +14,255 @@ description: | carry image data and PIODMA transfers. Firmware performance votes are not fixed clock rates and are not encoded as clock-frequency values. +select: + properties: + compatible: + contains: + enum: + - apple,t6000-scaler + - apple,t6020-scaler + - apple,t6021-scaler + - apple,t6022-scaler + - apple,t6030-scaler + - apple,t6031-scaler + - apple,t6032-scaler + - apple,t6041-scaler + - apple,t8103-scaler + - apple,t8112-scaler + - apple,t8122-scaler + - apple,t8132-scaler + - apple,t8140-scaler + required: + - compatible + properties: - compatible: - oneOf: - - items: - - const: apple,t6041-scaler - - const: apple,scaler - - items: - - const: apple,t8140-scaler - - const: apple,scaler - - reg: - minItems: 4 - maxItems: 4 - description: Register apertures in hardware-description order. - - interrupts: - minItems: 2 - maxItems: 2 - - power-domains: - minItems: 2 - maxItems: 2 - - iommus: - minItems: 2 - maxItems: 2 - - clocks: - maxItems: 1 - - resets: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - power-domains - - resets - - iommus - - clocks - -additionalProperties: false + compatible: true + +allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t8132-scaler + required: + - compatible + then: + properties: + compatible: + items: + - enum: + - apple,t8132-scaler + - const: apple,scaler + + reg: + minItems: 4 + maxItems: 4 + + interrupts: + minItems: 2 + maxItems: 2 + + power-domains: + minItems: 1 + maxItems: 2 + + iommus: + minItems: 1 + maxItems: 2 + + clocks: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + else: + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-scaler + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-scaler + - const: apple,scaler + + reg: + minItems: 4 + maxItems: 4 + + interrupts: + minItems: 2 + maxItems: 2 + + power-domains: + minItems: 2 + maxItems: 2 + + iommus: + minItems: 2 + maxItems: 2 + + clocks: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + - clocks + else: + properties: + compatible: + items: + - enum: + - apple,t6000-scaler + - apple,t6020-scaler + - apple,t6021-scaler + - apple,t6022-scaler + - apple,t6030-scaler + - apple,t6031-scaler + - apple,t6041-scaler + - apple,t8103-scaler + - apple,t8112-scaler + - apple,t8122-scaler + - apple,t8140-scaler + - const: apple,scaler + + reg: + minItems: 2 + maxItems: 4 + + interrupts: + minItems: 2 + maxItems: 2 + + power-domains: + minItems: 1 + maxItems: 3 + + iommus: + minItems: 1 + maxItems: 2 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6041-scaler + - apple,t8140-scaler + then: + properties: + reg: + minItems: 4 + maxItems: 4 + power-domains: + minItems: 2 + maxItems: 2 + iommus: + minItems: 2 + maxItems: 2 + required: + - resets + - clocks + - if: + properties: + compatible: + contains: + enum: + - apple,t6020-scaler + - apple,t6021-scaler + - apple,t6022-scaler + - apple,t8112-scaler + then: + properties: + power-domains: + minItems: 2 + maxItems: 3 + iommus: + minItems: 2 + maxItems: 2 + - if: + properties: + compatible: + contains: + enum: + - apple,t6030-scaler + - apple,t6031-scaler + - apple,t8122-scaler + then: + properties: + power-domains: + minItems: 1 + maxItems: 2 + - if: + properties: + compatible: + contains: + const: apple,t8103-scaler + then: + properties: + reg: + maxItems: 2 + else: + properties: + reg: + minItems: 3 + - if: + properties: + compatible: + contains: + const: apple,t6000-scaler + then: + properties: + reg: + minItems: 3 + maxItems: 3 + - if: + properties: + compatible: + contains: + enum: + - apple,t6000-scaler + - apple,t8103-scaler + then: + properties: + power-domains: + minItems: 2 + maxItems: 2 + iommus: + minItems: 2 + required: + - resets + - clocks + + additionalProperties: false + +unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/media/apple,scdc.yaml b/Documentation/devicetree/bindings/media/apple,scdc.yaml new file mode 100644 index 0000000000000..4eee874f12c67 --- /dev/null +++ b/Documentation/devicetree/bindings/media/apple,scdc.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/apple,scdc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple SCDC coprocessor + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + SCDC coprocessor resources on M2 generation SoCs. The register apertures + follow hardware resource order. Firmware configuration and tuning are + supplied by the bootloader and are not part of this binding. Unqualified + instances must remain disabled. + +select: + properties: + compatible: + contains: + enum: + - apple,t6020-scdc + - apple,t6021-scdc + - apple,t6022-scdc + - apple,t8112-scdc + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t6020-scdc + - apple,t6021-scdc + - apple,t6022-scdc + - apple,t8112-scdc + - const: apple,scdc + + reg: + maxItems: 8 + + interrupts: + minItems: 5 + maxItems: 6 + + iommus: + maxItems: 3 + + power-domains: + minItems: 1 + maxItems: 2 + +required: + - compatible + - reg + - interrupts + - iommus + - power-domains + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/media/apple,t8140-ave.yaml b/Documentation/devicetree/bindings/media/apple,t8140-ave.yaml index dadb98b19f822..f02744fd0ce6b 100644 --- a/Documentation/devicetree/bindings/media/apple,t8140-ave.yaml +++ b/Documentation/devicetree/bindings/media/apple,t8140-ave.yaml @@ -10,71 +10,232 @@ maintainers: - Miguel Cruz <7362641+Acelogic@users.noreply.github.com> description: | - The T6000, T6041, T8112 and T8140 AVE coprocessors encode video using firmware - preloaded by the bootloader. Its two DART instances translate the same stream. The - bootloader supplies two reserved firmware regions and their IOVA mappings. + The AVE coprocessor encodes video using firmware preloaded by the bootloader. + DART instances translate its DMA streams. The bootloader supplies the firmware + memory handoff and IOVA mappings. + +select: + properties: + compatible: + contains: + enum: + - apple,t6000-ave + - apple,t6020-ave + - apple,t6021-ave + - apple,t6022-ave + - apple,t6030-ave + - apple,t6031-ave + - apple,t6032-ave + - apple,t6041-ave + - apple,t8103-ave + - apple,t8112-ave + - apple,t8122-ave + - apple,t8132-ave + - apple,t8140-ave + required: + - compatible properties: - compatible: - enum: - - apple,t6000-ave - - apple,t6041-ave - - apple,t8112-ave - - apple,t8140-ave - - reg: - items: - - description: Codec registers - - description: Mailbox registers - - description: Coprocessor registers - - reg-names: - items: - - const: codec - - const: mailbox - - const: coproc - - interrupts: - items: - - description: Mailbox, raised when the firmware posts to a host ring - - description: Codec interrupt handled by the firmware - - description: Codec interrupt handled by the firmware - - description: Codec interrupt handled by the firmware - - description: Codec interrupt handled by the firmware - - power-domains: - minItems: 5 - maxItems: 6 - - power-domain-names: - minItems: 5 - items: - - const: dma - - const: pipe4 - - const: pipe5 - - const: me0 - - const: me1 - - const: perf - description: | - A performance floor the encoder needs to run at full speed, held - while the encoder is powered (for example the SoC rail floor of a - PMC). - - iommus: - maxItems: 2 - - memory-region: - items: - - description: Preloaded firmware text - - description: Preloaded firmware data - -required: - - compatible - - reg - - reg-names - - interrupts - - power-domains - - power-domain-names - - iommus - -additionalProperties: false + compatible: true + +allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t8132-ave + required: + - compatible + then: + properties: + compatible: + items: + - enum: + - apple,t8132-ave + - const: apple,ave + + reg: + minItems: 5 + maxItems: 5 + + interrupts: + minItems: 5 + maxItems: 5 + + power-domains: + minItems: 1 + maxItems: 6 + + iommus: + minItems: 1 + maxItems: 2 + + clocks: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + else: + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-ave + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-ave + - const: apple,ave + + reg: + minItems: 5 + maxItems: 5 + + interrupts: + minItems: 5 + maxItems: 5 + + power-domains: + minItems: 5 + maxItems: 6 + + iommus: + minItems: 2 + maxItems: 2 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + else: + properties: + compatible: + oneOf: + - enum: + - apple,t6000-ave + - apple,t6041-ave + - apple,t8112-ave + - apple,t8140-ave + - items: + - enum: + - apple,t6020-ave + - apple,t6021-ave + - apple,t6022-ave + - apple,t6030-ave + - apple,t6031-ave + - apple,t8103-ave + - apple,t8122-ave + - const: apple,ave + + reg: + minItems: 3 + maxItems: 5 + description: Codec, mailbox, coprocessor and generation-specific auxiliary banks. + + reg-names: + minItems: 3 + items: + - const: codec + - const: mailbox + - const: coproc + - enum: [pmgr, power-control] + - enum: [fabric, pio] + + clocks: + maxItems: 1 + + interrupts: + items: + - description: Mailbox, raised when the firmware posts to a host ring + - description: Codec interrupt handled by the firmware + - description: Codec interrupt handled by the firmware + - description: Codec interrupt handled by the firmware + - description: Codec interrupt handled by the firmware + + power-domains: + minItems: 1 + maxItems: 6 + + power-domain-names: + minItems: 5 + items: + - const: dma + - const: pipe4 + - const: pipe5 + - const: me0 + - const: me1 + - const: perf + description: | + A performance floor the encoder needs to run at full speed, held + while the encoder is powered (for example the SoC rail floor of a + PMC). + + iommus: + minItems: 2 + maxItems: 4 + + memory-region: + items: + - description: Preloaded firmware text + - description: Preloaded firmware data + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6020-ave + - apple,t6021-ave + - apple,t6022-ave + - apple,t6030-ave + - apple,t6031-ave + - apple,t8122-ave + then: + properties: + reg: + minItems: 5 + else: + properties: + power-domains: + minItems: 5 + required: + - reg-names + - power-domain-names + - if: + properties: + compatible: + contains: + enum: + - apple,t6041-ave + - apple,t8112-ave + - apple,t8140-ave + then: + properties: + reg: + maxItems: 3 + reg-names: + maxItems: 3 + + additionalProperties: false + +unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/misc/apple,avellino.yaml b/Documentation/devicetree/bindings/misc/apple,avellino.yaml new file mode 100644 index 0000000000000..6d91cfb521c67 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/apple,avellino.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/apple,avellino.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple Avellino control interface + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + Addressed Avellino control interfaces on an I2C bus. Describing their + bus addresses does not specify a register protocol or transfer firmware + ownership to the host. + +properties: + compatible: + items: + - const: apple,t8112-avellino + - const: apple,avellino + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/misc/apple,display-pcon.yaml b/Documentation/devicetree/bindings/misc/apple,display-pcon.yaml index 095b4bfd67ee8..ea095a1832c88 100644 --- a/Documentation/devicetree/bindings/misc/apple,display-pcon.yaml +++ b/Documentation/devicetree/bindings/misc/apple,display-pcon.yaml @@ -16,7 +16,11 @@ description: | properties: compatible: items: - - const: apple,t6041-display-pcon + - enum: + - apple,t6041-display-pcon + - apple,t8122-display-pcon + - apple,t6030-display-pcon + - apple,t6031-display-pcon - const: apple,display-pcon reg: diff --git a/Documentation/devicetree/bindings/misc/apple,hcpm.yaml b/Documentation/devicetree/bindings/misc/apple,hcpm.yaml new file mode 100644 index 0000000000000..926127a6cc588 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/apple,hcpm.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/apple,hcpm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple HCPM USB power control interface + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + I2C power control endpoint on the desktop port-management bus. + Firmware personality, update data and power policy are runtime data. + +properties: + compatible: + items: + - enum: + - apple,t8103-hcpm + - const: apple,hcpm + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/misc/apple,radio-pmu.yaml b/Documentation/devicetree/bindings/misc/apple,radio-pmu.yaml index 934fd143ec834..b4f53a082bb8d 100644 --- a/Documentation/devicetree/bindings/misc/apple,radio-pmu.yaml +++ b/Documentation/devicetree/bindings/misc/apple,radio-pmu.yaml @@ -18,6 +18,9 @@ properties: items: - enum: - apple,t6041-radio-pmu + - apple,t6000-wifibt-pmu + - apple,t6000-uwb-pmu + - apple,t8112-wifibt-pmu - const: apple,radio-pmu reg: diff --git a/Documentation/devicetree/bindings/misc/apple,sd-card-control.yaml b/Documentation/devicetree/bindings/misc/apple,sd-card-control.yaml index 7671d72d9b306..114c1f5fdaf46 100644 --- a/Documentation/devicetree/bindings/misc/apple,sd-card-control.yaml +++ b/Documentation/devicetree/bindings/misc/apple,sd-card-control.yaml @@ -16,7 +16,11 @@ description: | properties: compatible: items: - - const: apple,t6041-sd-card-control + - enum: + - apple,t6000-sd-card-control + - apple,t6030-sd-card-control + - apple,t6031-sd-card-control + - apple,t6041-sd-card-control - const: apple,sd-card-control reg: diff --git a/Documentation/devicetree/bindings/misc/apple,touchbar-calibration.yaml b/Documentation/devicetree/bindings/misc/apple,touchbar-calibration.yaml new file mode 100644 index 0000000000000..fc0e5ce313dd2 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/apple,touchbar-calibration.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/apple,touchbar-calibration.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple Touch Bar calibration storage + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + I2C calibration storage associated with the Touch Bar. Contents and + per-unit data are not part of the static hardware description. + +properties: + compatible: + items: + - enum: + - apple,t8103-touchbar-calibration + - const: apple,touchbar-calibration + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/misc/apple,touchbar-driver.yaml b/Documentation/devicetree/bindings/misc/apple,touchbar-driver.yaml new file mode 100644 index 0000000000000..2c9a4a2da11df --- /dev/null +++ b/Documentation/devicetree/bindings/misc/apple,touchbar-driver.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/apple,touchbar-driver.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple Touch Bar I2C control interface + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + I2C control interface associated with the Touch Bar. Its register + protocol and ownership handoff remain unqualified. + +properties: + compatible: + items: + - enum: + - apple,t8103-touchbar-driver + - const: apple,touchbar-driver + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/mux/apple,display-crossbar.yaml b/Documentation/devicetree/bindings/mux/apple,display-crossbar.yaml index fabdcd74fb2cf..7d3713754e7a6 100644 --- a/Documentation/devicetree/bindings/mux/apple,display-crossbar.yaml +++ b/Documentation/devicetree/bindings/mux/apple,display-crossbar.yaml @@ -33,6 +33,7 @@ properties: - items: - enum: - apple,t6030-display-crossbar + - apple,t6031-display-crossbar - apple,t8122-display-crossbar - const: apple,t6020-display-crossbar diff --git a/Documentation/devicetree/bindings/net/apple,aqc107-i2c.yaml b/Documentation/devicetree/bindings/net/apple,aqc107-i2c.yaml new file mode 100644 index 0000000000000..735b88c3cf354 --- /dev/null +++ b/Documentation/devicetree/bindings/net/apple,aqc107-i2c.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/apple,aqc107-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple Aquantia Ethernet I2C sideband + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The Ethernet controller exposes an I2C control interface in addition to + its PCIe host interface. This node identifies the addressed sideband, + not a second PCIe Ethernet controller. + +properties: + compatible: + items: + - enum: + - apple,t8103-aqc107-i2c + - apple,t6000-aqc107-i2c + - const: apple,aqc107-i2c + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/net/nfc/apple,spmi-nfc.yaml b/Documentation/devicetree/bindings/net/nfc/apple,spmi-nfc.yaml new file mode 100644 index 0000000000000..7ce5c5c7caebf --- /dev/null +++ b/Documentation/devicetree/bindings/net/nfc/apple,spmi-nfc.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/nfc/apple,spmi-nfc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple SPMI NFC peripheral + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + SPMI NFC peripheral resources. The address is a unique slave identifier on + its parent bus. Register access and protocol support are separate from + describing the peripheral and its interrupt resources. + +select: + properties: + compatible: + contains: + enum: + - apple,t6020-spmi-nfc + - apple,t6021-spmi-nfc + - apple,t6022-spmi-nfc + - apple,t8112-spmi-nfc + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t6020-spmi-nfc + - apple,t6021-spmi-nfc + - apple,t6022-spmi-nfc + - apple,t8112-spmi-nfc + - const: apple,spmi-nfc + + reg: + maxItems: 1 + + interrupts: + maxItems: 7 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/net/nfc/apple,stockholm-spmi.yaml b/Documentation/devicetree/bindings/net/nfc/apple,stockholm-spmi.yaml new file mode 100644 index 0000000000000..8a60fd5c95946 --- /dev/null +++ b/Documentation/devicetree/bindings/net/nfc/apple,stockholm-spmi.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/nfc/apple,stockholm-spmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple first-generation Stockholm SPMI endpoint + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The endpoint occupies an SPMI follower address and exports seven event + interrupts. Event roles and the firmware-controlled enable sequence are + unqualified. This description does not select the later NCI transport. + +properties: + compatible: + items: + - enum: + - apple,t8103-stockholm-spmi + - apple,t6000-stockholm-spmi + - apple,t8112-stockholm-spmi + - const: apple,stockholm-spmi + + reg: + maxItems: 1 + + interrupts: + minItems: 7 + maxItems: 7 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/npu/apple,ane.yaml b/Documentation/devicetree/bindings/npu/apple,ane.yaml index 68215f2bf074b..6e50f9f11b233 100644 --- a/Documentation/devicetree/bindings/npu/apple,ane.yaml +++ b/Documentation/devicetree/bindings/npu/apple,ane.yaml @@ -23,15 +23,19 @@ description: properties: compatible: - enum: - - apple,t8103-ane - - apple,t6000-ane - - apple,t6020-ane - - apple,t6021-ane - - apple,t6022-ane - - apple,t6041-ane - - apple,t8112-ane - - apple,t8140-ane + oneOf: + - enum: + - apple,t8103-ane + - apple,t6000-ane + - apple,t6020-ane + - apple,t6021-ane + - apple,t6022-ane + - apple,t6041-ane + - apple,t8112-ane + - apple,t8140-ane + - items: + - const: apple,t6001-ane + - const: apple,ane reg: minItems: 1 @@ -45,6 +49,11 @@ properties: - description: Fourth auxiliary window - description: Fifth auxiliary window + clocks: + minItems: 4 + maxItems: 4 + description: Native secondary-engine clock selectors in hardware-description order. + reg-names: minItems: 1 maxItems: 7 @@ -313,8 +322,6 @@ allOf: properties: interrupts: maxItems: 1 - power-domains: - minItems: 5 reg: maxItems: 4 reg-names: @@ -396,6 +403,37 @@ allOf: required: - mboxes + - if: + properties: + compatible: + contains: + enum: + - apple,t8140-ane + - apple,t6041-ane + - apple,t6001-ane + else: + properties: + power-domains: + minItems: 5 + - if: + properties: + compatible: + contains: + const: apple,t6001-ane + then: + properties: + reg: + maxItems: 1 + reg-names: + maxItems: 1 + power-domains: + maxItems: 1 + required: + - clocks + else: + properties: + clocks: false + additionalProperties: false examples: diff --git a/Documentation/devicetree/bindings/nvmem/apple,spmi-nvmem.yaml b/Documentation/devicetree/bindings/nvmem/apple,spmi-nvmem.yaml index bd28dc14068e1..fe8b2001f4fa5 100644 --- a/Documentation/devicetree/bindings/nvmem/apple,spmi-nvmem.yaml +++ b/Documentation/devicetree/bindings/nvmem/apple,spmi-nvmem.yaml @@ -22,13 +22,21 @@ properties: - apple,baku-pmic - apple,chapel-pmic - apple,maverick-pmic + - apple,mirabeau-pmic + - apple,monaco-pmic - apple,sera-pmic + - apple,simetra-pmic - apple,stowe-pmic + - apple,vale-pmic - const: apple,spmi-nvmem reg: maxItems: 1 + interrupts: + maxItems: 1 + description: Native event in the SPMI interrupt domain. + battery-monitor: $ref: /schemas/power/supply/apple,battery-monitor.yaml# diff --git a/Documentation/devicetree/bindings/pci/apple,pcie.yaml b/Documentation/devicetree/bindings/pci/apple,pcie.yaml index fcd5d9f7d08ae..6a1f35b618a57 100644 --- a/Documentation/devicetree/bindings/pci/apple,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/apple,pcie.yaml @@ -78,6 +78,7 @@ properties: - const: apple,t8132-pciec - const: apple,t8122-pciec - const: apple,t8103-pciec + - const: apple,t6040-pciec apple,managed-sids: $ref: /schemas/types.yaml#/definitions/uint32-array @@ -110,7 +111,11 @@ properties: description: Interrupt specifiers, one for each root port. minItems: 1 - maxItems: 4 + maxItems: 6 + + interrupt-names: + minItems: 1 + maxItems: 6 msi-parent: true @@ -211,7 +216,9 @@ allOf: properties: compatible: contains: - const: apple,t8132-pciec + enum: + - apple,t8132-pciec + - apple,t6040-pciec then: required: - apple,msi-vector-base @@ -255,6 +262,7 @@ allOf: enum: - apple,t8103-pciec - apple,t6000-pciec + - apple,t6040-pciec then: properties: reg: @@ -286,11 +294,49 @@ allOf: - const: ltssm - const: intr2axi - const: oe-fabric + - items: + - const: config + - const: rc + - const: port0 + - const: fabric + - const: debug + - const: ioa + - const: ltssm + - const: intr2axi interrupts: - maxItems: 1 + maxItems: 6 ranges: minItems: 3 maxItems: 3 + allOf: + - if: + properties: + compatible: + contains: + const: apple,t6040-pciec + then: + properties: + reg: + minItems: 8 + maxItems: 8 + interrupts: + minItems: 6 + maxItems: 6 + interrupt-names: + items: + - const: port + - const: intx-a + - const: intx-b + - const: intx-c + - const: intx-d + - const: parity + required: + - interrupt-names + else: + properties: + interrupts: + maxItems: 1 + interrupt-names: false else: properties: resets: false diff --git a/Documentation/devicetree/bindings/phy/apple,atcphy.yaml b/Documentation/devicetree/bindings/phy/apple,atcphy.yaml index dc52ed4398ab3..5364f6dd8871b 100644 --- a/Documentation/devicetree/bindings/phy/apple,atcphy.yaml +++ b/Documentation/devicetree/bindings/phy/apple,atcphy.yaml @@ -42,60 +42,100 @@ allOf: properties: compatible: contains: - const: apple,t8132-atcphy + enum: + - apple,t8122-atcphy + - apple,t6030-atcphy + - apple,t6031-atcphy then: - oneOf: - - properties: - reg: - minItems: 2 - maxItems: 2 - reg-names: - items: - - const: usb2phy - - const: pipehandler - - properties: - reg: - items: - - description: USB2 PHY specific controls - - description: USB3 PIPE interface controls - - description: SuperSpeed PHY core, excluding the display crossbar - - description: AXI to Apple Fabric interface controls - - description: Local IO address translation controls - - description: ATC fabric controls - - description: ATC common configuration controls - reg-names: - items: - - const: usb2phy - - const: pipehandler - - const: core - - const: axi2af - - const: lioa - - const: fabric - - const: common-config - required: - - power-domains - else: properties: reg: - minItems: 5 + minItems: 1 items: - - description: Common controls for all PHYs (USB2/3/4, DisplayPort, TBT) - - description: DisplayPort Alternate Mode PHY specific controls - - description: Type-C PHY AXI to Apple Fabric interconnect controls - - description: USB2 PHY specific controls - - description: USB3 PIPE interface controls - - description: Secondary eUSB2 PHY register bank (T8140) + - description: Common controls for USB and DisplayPort + - description: DisplayPort alternate mode PHY + - description: AXI to Apple Fabric interface + - description: USB2 PHY + - description: USB3 PIPE interface reg-names: - minItems: 5 + minItems: 1 items: - const: core - const: lpdptx - const: axi2af - const: usb2phy - const: pipehandler - - const: usb2phy-reg + oneOf: + - properties: + reg: + maxItems: 1 + reg-names: + maxItems: 1 + - properties: + reg: + minItems: 5 + reg-names: + minItems: 5 required: - power-domains + else: + if: + properties: + compatible: + contains: + const: apple,t8132-atcphy + then: + oneOf: + - properties: + reg: + minItems: 2 + maxItems: 2 + reg-names: + items: + - const: usb2phy + - const: pipehandler + - properties: + reg: + items: + - description: USB2 PHY specific controls + - description: USB3 PIPE interface controls + - description: SuperSpeed PHY core, excluding the display crossbar + - description: AXI to Apple Fabric interface controls + - description: Local IO address translation controls + - description: ATC fabric controls + - description: ATC common configuration controls + reg-names: + items: + - const: usb2phy + - const: pipehandler + - const: core + - const: axi2af + - const: lioa + - const: fabric + - const: common-config + required: + - power-domains + else: + properties: + reg: + minItems: 5 + items: + - description: Common controls for all PHYs (USB2/3/4, DisplayPort, TBT) + - description: DisplayPort Alternate Mode PHY specific controls + - description: Type-C PHY AXI to Apple Fabric interconnect controls + - description: USB2 PHY specific controls + - description: USB3 PIPE interface controls + - description: Secondary eUSB2 PHY register bank (T8140) + reg-names: + minItems: 5 + items: + - const: core + - const: lpdptx + - const: axi2af + - const: usb2phy + - const: pipehandler + - const: usb2phy-reg + required: + - power-domains - if: properties: compatible: @@ -154,6 +194,20 @@ allOf: apple,tunable-cio-lane1: false apple,tunable-cio-lane1-eq: false apple,tunable-cio-post: false + - if: + properties: + compatible: + not: + contains: + enum: + - apple,t8122-atcphy + - apple,t6030-atcphy + - apple,t6031-atcphy + then: + required: + - orientation-switch + - mode-switch + - ports $defs: apple,tunable: @@ -181,16 +235,22 @@ properties: - apple,t8112-atcphy - const: apple,t8103-atcphy - const: apple,t8103-atcphy + - const: apple,t8122-atcphy + - items: + - enum: + - apple,t6030-atcphy + - apple,t6031-atcphy + - const: apple,t8122-atcphy - const: apple,t8132-atcphy - const: apple,t8140-atcphy - const: apple,t8142-atcphy reg: - minItems: 2 + minItems: 1 maxItems: 7 reg-names: - minItems: 2 + minItems: 1 maxItems: 7 "#phy-cells": @@ -399,9 +459,6 @@ required: - reg-names - "#phy-cells" - "#reset-cells" - - orientation-switch - - mode-switch - - ports additionalProperties: false diff --git a/Documentation/devicetree/bindings/phy/apple,atcrt.yaml b/Documentation/devicetree/bindings/phy/apple,atcrt.yaml new file mode 100644 index 0000000000000..6850dcbb97cb7 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/apple,atcrt.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/apple,atcrt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple ATC retimer control interface + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + An addressed retimer control interface on an I2C bus. This does not + transfer PHY, reset or firmware ownership to the host. + +properties: + compatible: + items: + - enum: + - apple,t8103-atcrt + - apple,t6000-atcrt + - apple,t8112-atcrt + - apple,t6041-atcrt + - const: apple,atcrt + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/phy/apple,ausb-phy.yaml b/Documentation/devicetree/bindings/phy/apple,ausb-phy.yaml new file mode 100644 index 0000000000000..3e260aa404dc2 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/apple,ausb-phy.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/apple,ausb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple T6000 AUSB port PHY + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + An AUSB port PHY has its own register aperture and control gate. + Its shared USB3 PHY is described by the phys reference. + +properties: + compatible: + items: + - enum: + - apple,t6000-ausb-phy + - const: apple,ausb-phy + + reg: + maxItems: 1 + + power-domains: + maxItems: 1 + + phys: + maxItems: 1 + + '#phy-cells': + const: 0 + +required: + - compatible + - reg + - power-domains + - phys + - '#phy-cells' + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/phy/apple,ausb-usb3-phy.yaml b/Documentation/devicetree/bindings/phy/apple,ausb-usb3-phy.yaml new file mode 100644 index 0000000000000..45524041b5f09 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/apple,ausb-usb3-phy.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/apple,ausb-usb3-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple T6000 shared AUSB USB3 PHY + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The shared AUSB USB3 PHY exposes control and analogue apertures. + It supplies the two AUSB port PHYs and has separate USB and always-on gates. + +properties: + compatible: + items: + - enum: + - apple,t6000-ausb-usb3-phy + - const: apple,ausb-usb3-phy + + reg: + minItems: 21 + maxItems: 21 + + power-domains: + minItems: 2 + maxItems: 2 + + '#phy-cells': + const: 0 + +required: + - compatible + - reg + - power-domains + - '#phy-cells' + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/phy/apple,dptx-phy.yaml b/Documentation/devicetree/bindings/phy/apple,dptx-phy.yaml new file mode 100644 index 0000000000000..bfbdcae204038 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/apple,dptx-phy.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/apple,dptx-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple DisplayPort transmitter PHY + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + Hardware resources of the Apple Silicon DisplayPort transmitter PHY. + The interface is described for discovery and must remain disabled until + its ownership, initialization and shutdown are supported. Register windows + are listed in hardware resource order; firmware configuration and tuning + data are supplied by the boot firmware rather than this binding. + +select: + properties: + compatible: + contains: + enum: + - apple,t8122-dptx-phy + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t8122-dptx-phy + - const: apple,dptx-phy + + reg: + minItems: 2 + maxItems: 2 + + power-domains: + maxItems: 1 + + '#phy-cells': + const: 0 + +required: + - compatible + - reg + - power-domains + - '#phy-cells' + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/phy/apple,t6040-atcphy.yaml b/Documentation/devicetree/bindings/phy/apple,t6040-atcphy.yaml index f62c71901541f..3178de1a8b7e4 100644 --- a/Documentation/devicetree/bindings/phy/apple,t6040-atcphy.yaml +++ b/Documentation/devicetree/bindings/phy/apple,t6040-atcphy.yaml @@ -111,7 +111,22 @@ properties: ports: $ref: /schemas/graph.yaml#/properties/ports - description: USB and DisplayPort lane connections to the Type-C connector. + description: > + USB and DisplayPort lane connections to the Type-C connector, and the + link to the USB3 controller, in place of port. Absent on a fixed + DisplayPort PHY. + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: The SuperSpeed lanes of the Type-C connector. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: The SuperSpeed (PIPE) link to the USB controller. + + required: + - port@0 apple,tunable-axi2af: $ref: "#/$defs/apple,tunable" @@ -165,6 +180,10 @@ required: - power-domains allOf: + - not: + required: + - port + - ports - if: properties: reg-names: @@ -179,6 +198,7 @@ allOf: orientation-switch: false mode-switch: false port: false + ports: false additionalProperties: false diff --git a/Documentation/devicetree/bindings/power/supply/apple,battery-monitor.yaml b/Documentation/devicetree/bindings/power/supply/apple,battery-monitor.yaml index 32385b877710b..3542f86cf069b 100644 --- a/Documentation/devicetree/bindings/power/supply/apple,battery-monitor.yaml +++ b/Documentation/devicetree/bindings/power/supply/apple,battery-monitor.yaml @@ -19,6 +19,8 @@ properties: compatible: items: - enum: + - apple,t8103-battery-monitor + - apple,t6000-battery-monitor - apple,t6041-battery-monitor - apple,t8140-battery-monitor - const: apple,battery-monitor diff --git a/Documentation/devicetree/bindings/pwm/apple,pwm.yaml b/Documentation/devicetree/bindings/pwm/apple,pwm.yaml new file mode 100644 index 0000000000000..113fd95ddf5a5 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/apple,pwm.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/apple,pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple timer PWM controller + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The timer PWM controller is distinct from the FPWM keyboard-backlight + controller. It has one register aperture, one interrupt and a PMGR gate. + No firmware PWM program or board-specific output state is implied. + On T6000 the plain-PWM view shares its register bank with FPWM0, + but has a distinct gate and interrupt. Ownership must be coordinated + before either interface is used alongside the other. + +select: + properties: + compatible: + contains: + enum: + - apple,t6000-pwm + - apple,t8103-pwm + - apple,t8112-pwm + - apple,t8122-pwm + - apple,t8132-pwm + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t6000-pwm + - apple,t8103-pwm + - apple,t8112-pwm + - apple,t8122-pwm + - apple,t8132-pwm + - const: apple,pwm + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - power-domains + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/rtc/apple,j700-pmu-rtc.yaml b/Documentation/devicetree/bindings/rtc/apple,j700-pmu-rtc.yaml index 558d8313779ab..82fec739c742e 100644 --- a/Documentation/devicetree/bindings/rtc/apple,j700-pmu-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/apple,j700-pmu-rtc.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/rtc/apple,j700-pmu-rtc.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Apple Baku and Abbey PMU real-time clocks +title: Apple PMU real-time clocks maintainers: - Ryan Murray @@ -12,8 +12,8 @@ maintainers: description: | The PMU exposes a 65536 Hz counter and an alarm comparator over SPMI. The clock's offset is shared with the SMC RTC through a little-endian - NVMEM cell: eight bytes of whole seconds on Baku, or six bytes of signed - 33.15 fixed-point seconds on Abbey. This function is a child of the + NVMEM cell: eight bytes of whole seconds on Baku (j700), or six bytes of + signed 33.15 fixed-point seconds on the other PMUs. This function is a child of the PMIC NVMEM provider and uses that provider's SPMI register map. allOf: @@ -23,7 +23,9 @@ properties: compatible: enum: - apple,j700-pmu-rtc + - apple,t6000-pmu-rtc - apple,t6041-pmu-rtc + - apple,t8112-pmu-rtc interrupts: maxItems: 1 diff --git a/Documentation/devicetree/bindings/serial/apple,dockchannel-uart.yaml b/Documentation/devicetree/bindings/serial/apple,dockchannel-uart.yaml index 07a7f1fc8c71b..dcf49761f719a 100644 --- a/Documentation/devicetree/bindings/serial/apple,dockchannel-uart.yaml +++ b/Documentation/devicetree/bindings/serial/apple,dockchannel-uart.yaml @@ -19,7 +19,15 @@ allOf: properties: compatible: - const: apple,dockchannel-uart + oneOf: + - const: apple,dockchannel-uart + - items: + - enum: + - apple,t8112-dockchannel-uart + - apple,t6020-dockchannel-uart + - apple,t6021-dockchannel-uart + - apple,t6022-dockchannel-uart + - const: apple,dockchannel-uart reg: items: diff --git a/Documentation/devicetree/bindings/soc/apple/apple,aft.yaml b/Documentation/devicetree/bindings/soc/apple/apple,aft.yaml new file mode 100644 index 0000000000000..eaa11136152be --- /dev/null +++ b/Documentation/devicetree/bindings/soc/apple/apple,aft.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/apple/apple,aft.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple fabric trace controller + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The fabric trace controller exposes a register aperture used by the + processor debug infrastructure. Trace programs and debug sequences are + firmware policy and are not part of this hardware description. + +select: + properties: + compatible: + contains: + enum: ['apple,t8103-aft', 'apple,t8112-aft'] + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t8103-aft + - apple,t8112-aft + - const: apple,aft + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/soc/apple/apple,aon-ptd.yaml b/Documentation/devicetree/bindings/soc/apple/apple,aon-ptd.yaml index 13dec59b733fc..b4f96a4d46135 100644 --- a/Documentation/devicetree/bindings/soc/apple/apple,aon-ptd.yaml +++ b/Documentation/devicetree/bindings/soc/apple/apple,aon-ptd.yaml @@ -13,39 +13,139 @@ description: | Always-on power telemetry register banks and upstream interrupts. The firmware owns the telemetry data and interrupt routing at boot. +select: + properties: + compatible: + contains: + enum: + - apple,t6031-aon-ptd + - apple,t6032-aon-ptd + - apple,t6041-aon-ptd + - apple,t8132-aon-ptd + - apple,t8140-aon-ptd + required: + - compatible + properties: - compatible: - oneOf: - - items: - - const: apple,t6041-aon-ptd - - const: apple,aon-ptd - - items: - - const: apple,t8140-aon-ptd - - const: apple,aon-ptd - - reg: - minItems: 4 - maxItems: 4 - description: Register apertures in hardware-description order. - - interrupts: - minItems: 32 - maxItems: 32 - - interrupt-controller: true - - '#interrupt-cells': - description: Firmware telemetry source identifier, plus flags on T8140. - enum: [1, 2] - - '#address-cells': - const: 0 - -required: - - compatible - - reg - - interrupts - - interrupt-controller - - '#interrupt-cells' - -additionalProperties: false + compatible: true + +allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t8132-aon-ptd + required: + - compatible + then: + properties: + compatible: + items: + - enum: + - apple,t8132-aon-ptd + - const: apple,aon-ptd + + reg: + minItems: 4 + maxItems: 4 + + interrupts: + minItems: 32 + maxItems: 32 + + '#address-cells': + const: 0 + '#interrupt-cells': + const: 1 + interrupt-controller: true + + required: + - compatible + - reg + - interrupts + - interrupt-controller + - '#interrupt-cells' + - '#address-cells' + else: + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-aon-ptd + required: + - compatible + then: + properties: + compatible: + items: + - enum: + - apple,t6032-aon-ptd + - const: apple,aon-ptd + + reg: + minItems: 4 + maxItems: 4 + + interrupts: + minItems: 32 + maxItems: 32 + + '#address-cells': + const: 0 + '#interrupt-cells': + const: 1 + interrupt-controller: true + + required: + - compatible + - reg + - interrupts + - interrupt-controller + - '#interrupt-cells' + - '#address-cells' + else: + properties: + compatible: + oneOf: + - items: + - const: apple,t6041-aon-ptd + - const: apple,aon-ptd + - items: + - const: apple,t8140-aon-ptd + - const: apple,aon-ptd + - items: + - enum: + - apple,t6031-aon-ptd + - const: apple,aon-ptd + + reg: + minItems: 4 + maxItems: 4 + description: Register apertures in hardware-description order. + + interrupts: + minItems: 32 + maxItems: 32 + + interrupt-controller: true + + '#interrupt-cells': + description: Firmware telemetry source identifier, plus flags on T8140. + enum: [1, 2] + + '#address-cells': + const: 0 + + required: + - compatible + - reg + - interrupts + - interrupt-controller + - '#interrupt-cells' + + additionalProperties: false + +unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/soc/apple/apple,aop.yaml b/Documentation/devicetree/bindings/soc/apple/apple,aop.yaml new file mode 100644 index 0000000000000..ea96d7b290384 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/apple/apple,aop.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/apple/apple,aop.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple Always-On Processor + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The Always-On Processor runs firmware that owns audio and sensor services. + The host uses an RTKit mailbox and a DART stream to exchange messages and + buffers. Service nodes do not have independent host MMIO or interrupts. + +select: + properties: + compatible: + items: + - enum: + - apple,t6020-aop + - apple,t8112-aop + required: + - compatible + +properties: + compatible: + enum: + - apple,t6020-aop + - apple,t8112-aop + + reg: + items: + - description: Shared SRAM + - description: Coprocessor registers + + mboxes: + maxItems: 1 + + mbox-names: + const: mbox + + iommus: + maxItems: 1 + + audio: + $ref: /schemas/sound/apple,aop-audio.yaml# + + als: + $ref: /schemas/iio/light/apple,aop-als.yaml# + + las: + $ref: /schemas/iio/position/apple,aop-las.yaml# + + accel: + $ref: /schemas/iio/imu/apple,aop-motion.yaml# + + gyro: + $ref: /schemas/iio/imu/apple,aop-motion.yaml# + +required: + - compatible + - reg + - mboxes + - mbox-names + - iommus + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/soc/apple/apple,dockchannel.yaml b/Documentation/devicetree/bindings/soc/apple/apple,dockchannel.yaml index ad3619b64fb0c..9ee4a45c910d9 100644 --- a/Documentation/devicetree/bindings/soc/apple/apple,dockchannel.yaml +++ b/Documentation/devicetree/bindings/soc/apple/apple,dockchannel.yaml @@ -20,18 +20,25 @@ description: properties: compatible: - items: - - enum: - - apple,t6020-dockchannel - - apple,t6030-dockchannel - - apple,t6031-dockchannel - - apple,t6041-dockchannel - - apple,t8112-dockchannel - - apple,t8122-dockchannel - - apple,t8132-dockchannel - - apple,t8140-dockchannel - - apple,t8142-dockchannel - - const: apple,dockchannel + oneOf: + - items: + - enum: + - apple,t6020-dockchannel + - apple,t6030-dockchannel + - apple,t6031-dockchannel + - apple,t6041-dockchannel + - apple,t8112-dockchannel + - apple,t8122-dockchannel + - apple,t8132-dockchannel + - apple,t8140-dockchannel + - apple,t8142-dockchannel + - const: apple,dockchannel + - items: + - const: apple,t8103-dockchannel + - const: apple,dockchannel + - items: + - const: apple,t6000-dockchannel + - const: apple,dockchannel reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/soc/apple/apple,dwi.yaml b/Documentation/devicetree/bindings/soc/apple/apple,dwi.yaml index e067b3f3665b9..a8c707ce8cafa 100644 --- a/Documentation/devicetree/bindings/soc/apple/apple,dwi.yaml +++ b/Documentation/devicetree/bindings/soc/apple/apple,dwi.yaml @@ -13,30 +13,126 @@ description: | DWI hardware register window and interrupt. Register programming and firmware ownership must be qualified before enabling the controller. +select: + properties: + compatible: + contains: + enum: + - apple,t6000-dwi + - apple,t6020-dwi + - apple,t6021-dwi + - apple,t6022-dwi + - apple,t6030-dwi + - apple,t6031-dwi + - apple,t6032-dwi + - apple,t6041-dwi + - apple,t8103-dwi + - apple,t8112-dwi + - apple,t8122-dwi + - apple,t8132-dwi + - apple,t8140-dwi + required: + - compatible + properties: - compatible: - oneOf: - - items: - - const: apple,t6041-dwi - - const: apple,dwi - - items: - - const: apple,t8140-dwi - - const: apple,dwi - - reg: - maxItems: 1 - description: Register apertures in hardware-description order. - - interrupts: - maxItems: 1 - - power-domains: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - power-domains - -additionalProperties: false + compatible: true + +allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t8132-dwi + required: + - compatible + then: + properties: + compatible: + items: + - enum: + - apple,t8132-dwi + - const: apple,dwi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - power-domains + else: + allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-dwi + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-dwi + - const: apple,dwi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - power-domains + else: + properties: + compatible: + items: + - enum: + - apple,t6000-dwi + - apple,t6020-dwi + - apple,t6021-dwi + - apple,t6022-dwi + - apple,t6030-dwi + - apple,t6031-dwi + - apple,t6041-dwi + - apple,t8103-dwi + - apple,t8112-dwi + - apple,t8122-dwi + - apple,t8140-dwi + - const: apple,dwi + + reg: + maxItems: 1 + description: Register apertures in hardware-description order. + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - power-domains + + additionalProperties: false + +unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/soc/apple/apple,pmp.yaml b/Documentation/devicetree/bindings/soc/apple/apple,pmp.yaml index 4337488e5392b..6b7874ffa1f46 100644 --- a/Documentation/devicetree/bindings/soc/apple/apple,pmp.yaml +++ b/Documentation/devicetree/bindings/soc/apple/apple,pmp.yaml @@ -31,11 +31,17 @@ properties: - apple,t8132-pmp-v2 - apple,t8140-pmp-v2 - const: apple,t6000-pmp-v2 + - items: + - const: apple,t8103-pmp + - const: apple,pmp reg: - items: - - description: Firmware SRAM - - description: ASC control registers + minItems: 2 + maxItems: 37 + description: + Coprocessor and peripheral register views. First-generation firmware + views include shared apertures; a driver must coordinate ownership + rather than claim every view as an exclusive resource. reg-names: items: @@ -52,7 +58,8 @@ properties: maxItems: 1 power-domains: - maxItems: 1 + minItems: 1 + maxItems: 2 apple,pmp-report: $ref: /schemas/types.yaml#/definitions/phandle @@ -105,10 +112,34 @@ patternProperties: required: - compatible - reg - - reg-names + - iommus - mboxes - mbox-names - - iommus + +allOf: + - if: + properties: + compatible: + contains: + const: apple,t8103-pmp + then: + properties: + reg: + minItems: 37 + power-domains: + minItems: 2 + required: + - power-domains + else: + properties: + reg: + maxItems: 2 + power-domains: + maxItems: 1 + required: + - reg-names + - mboxes + - mbox-names additionalProperties: false diff --git a/Documentation/devicetree/bindings/soc/apple/apple,rsm.yaml b/Documentation/devicetree/bindings/soc/apple/apple,rsm.yaml index 15e3e504b06ba..04a42e9a08070 100644 --- a/Documentation/devicetree/bindings/soc/apple/apple,rsm.yaml +++ b/Documentation/devicetree/bindings/soc/apple/apple,rsm.yaml @@ -12,28 +12,91 @@ maintainers: description: | Remote service manager register banks, interrupt and DART stream. +select: + properties: + compatible: + contains: + enum: + - apple,t6030-rsm + - apple,t6031-rsm + - apple,t6032-rsm + - apple,t8122-rsm + - apple,t8140-rsm + required: + - compatible + properties: - compatible: - oneOf: - - items: - - const: apple,t8140-rsm - - const: apple,rsm - - reg: - minItems: 2 - maxItems: 2 - description: Register apertures in hardware-description order. - - interrupts: - maxItems: 1 - - iommus: - maxItems: 1 - -required: - - compatible - - reg - - interrupts - - iommus - -additionalProperties: false + compatible: true + +allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-rsm + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-rsm + - const: apple,rsm + + reg: + minItems: 2 + maxItems: 2 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + + iommus: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - power-domains + - iommus + else: + properties: + compatible: + oneOf: + - items: + - const: apple,t8140-rsm + - const: apple,rsm + - items: + - enum: + - apple,t8122-rsm + - apple,t6030-rsm + - apple,t6031-rsm + - const: apple,rsm + + reg: + minItems: 2 + maxItems: 2 + description: Register apertures in hardware-description order. + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + + power-domains: + maxItems: 1 + + required: + - compatible + - reg + - interrupts + - iommus + + additionalProperties: false + +unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/soc/apple/apple,sep.yaml b/Documentation/devicetree/bindings/soc/apple/apple,sep.yaml index 83ad3aa31a4b7..06a404265ab56 100644 --- a/Documentation/devicetree/bindings/soc/apple/apple,sep.yaml +++ b/Documentation/devicetree/bindings/soc/apple/apple,sep.yaml @@ -18,10 +18,19 @@ description: properties: compatible: - const: apple,sep + oneOf: + - const: apple,sep + - items: + - enum: + - apple,t6030-sep + - apple,t6031-sep + - const: apple,sep reg: - maxItems: 1 + minItems: 1 + items: + - description: Coprocessor control registers + - description: Coprocessor boot interface mboxes: maxItems: 1 diff --git a/Documentation/devicetree/bindings/soc/apple/apple,t8140-mcc.yaml b/Documentation/devicetree/bindings/soc/apple/apple,t8140-mcc.yaml index 63767db0cea1a..c8f1c9d6af72e 100644 --- a/Documentation/devicetree/bindings/soc/apple/apple,t8140-mcc.yaml +++ b/Documentation/devicetree/bindings/soc/apple/apple,t8140-mcc.yaml @@ -15,36 +15,105 @@ description: two apertures with two planes each and a multicast cache-enable register; its enabled cache is retained until a dirty-data drain is qualified. -properties: - compatible: - oneOf: - - enum: +select: + properties: + compatible: + contains: + enum: + - apple,t6000-mcc + - apple,t6020-mcc + - apple,t6021-mcc + - apple,t6022-mcc + - apple,t6030-mcc + - apple,t6031-mcc + - apple,t6032-mcc + - apple,t6041-mcc + - apple,t8103-mcc + - apple,t8112-mcc + - apple,t8122-mcc - apple,t8132-mcc - apple,t8140-mcc - - items: - - const: apple,t6041-mcc - - const: apple,t8140-mcc - - reg: - description: Per-plane blocks on T8140, or the two multicast apertures on T8132. - minItems: 1 - maxItems: 32 + required: + - compatible - nonposted-mmio: true +properties: + compatible: true apple,boot-dma-devices: $ref: /schemas/types.yaml#/definitions/phandle-array + description: Shared hardware resource metadata. items: maxItems: 1 - description: - Devices that take over DMA the bootloader left running. Cache allocation - is enabled only once each of them is bound to its driver. -required: - - compatible - - reg +allOf: + - if: + properties: + compatible: + contains: + enum: + - apple,t6032-mcc + required: + - compatible + then: + properties: + compatible: + items: + - const: apple,t6032-mcc + - const: apple,mcc + + reg: + minItems: 20 + maxItems: 20 + + required: + - compatible + - reg + else: + properties: + compatible: + oneOf: + - enum: + - apple,t8132-mcc + - apple,t8140-mcc + - items: + - enum: + - apple,t6000-mcc + - apple,t6020-mcc + - apple,t6021-mcc + - apple,t6022-mcc + - apple,t6030-mcc + - apple,t6031-mcc + - apple,t8103-mcc + - apple,t8112-mcc + - apple,t8122-mcc + - const: apple,mcc + - items: + - enum: + - apple,t6041-mcc + - const: apple,t8140-mcc + + reg: + description: Per-plane blocks or multicast memory-controller apertures. + minItems: 1 + maxItems: 32 + + nonposted-mmio: true + + apple,boot-dma-devices: + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + maxItems: 1 + description: + Devices that take over DMA the bootloader left running. Cache allocation + is enabled only once each of them is bound to its driver. + + required: + - compatible + - reg + + additionalProperties: false -additionalProperties: false +unevaluatedProperties: false examples: - | diff --git a/Documentation/devicetree/bindings/sound/apple,aop-audio.yaml b/Documentation/devicetree/bindings/sound/apple,aop-audio.yaml new file mode 100644 index 0000000000000..5a501c66df767 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/apple,aop-audio.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/apple,aop-audio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple AOP audio service + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The service is supplied by the parent Always-On Processor. Firmware and + calibration handoff determine its availability. It has no independent + application-processor register window or interrupt. + +select: + properties: + compatible: + contains: + enum: + - apple,t6020-aop-audio + - apple,t8112-aop-audio + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t6020-aop-audio + - apple,t8112-aop-audio + - const: apple,aop-audio + + dmas: + maxItems: 1 + + dma-names: + const: dma + + apple,chassis-name: + $ref: /schemas/types.yaml#/definitions/string + description: Board family used to identify the audio configuration. + + apple,machine-kind: + $ref: /schemas/types.yaml#/definitions/string + description: Machine family used for the sound card identity. + +required: + - compatible + - dmas + - dma-names + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/sound/apple,dpaudio.yaml b/Documentation/devicetree/bindings/sound/apple,dpaudio.yaml new file mode 100644 index 0000000000000..a531eb2606128 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/apple,dpaudio.yaml @@ -0,0 +1,93 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/apple,dpaudio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple DisplayPort audio interface + +maintainers: + - Ryan Murray + +description: | + The display processor provides a firmware audio service. Samples arrive + through an SIO DMA channel, and the graph connects the audio interface to + the display processor's audio service. The interface has a PMGR power gate. + + Existing device trees also identify a register window. The firmware audio + transport does not program that window directly. + +select: + properties: + compatible: + contains: + enum: + - apple,t8112-dpaudio + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t8112-dpaudio + - const: apple,dpaudio + + reg: + maxItems: 1 + + dmas: + maxItems: 1 + + dma-names: + const: tx + + power-domains: + maxItems: 1 + + reset-domains: + $ref: /schemas/types.yaml#/definitions/phandle-array + maxItems: 1 + items: + maxItems: 1 + description: PMGR provider used to reset the display audio interface. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Connection to the display processor's audio service. + required: + - port@0 + +required: + - compatible + - dmas + - dma-names + - power-domains + - ports + +additionalProperties: false + +examples: + - | + audio-controller { + compatible = "apple,t8112-dpaudio", "apple,dpaudio"; + dmas = <&sio 0x66>; + dma-names = "tx"; + power-domains = <&ps_dpa1>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + endpoint { + remote-endpoint = <&dcpext_audio>; + }; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/sound/apple,macaudio.yaml b/Documentation/devicetree/bindings/sound/apple,macaudio.yaml index 95e560146eae7..8a1a9b0c7fa49 100644 --- a/Documentation/devicetree/bindings/sound/apple,macaudio.yaml +++ b/Documentation/devicetree/bindings/sound/apple,macaudio.yaml @@ -33,10 +33,16 @@ properties: - apple,j457-macaudio - apple,j473-macaudio - apple,j493-macaudio + - apple,j575c-macaudio + - apple,j575c-macaudio-jack + - apple,j604-macaudio + - apple,j604-macaudio-jack - apple,j614-macaudio - apple,j614-macaudio-jack - apple,j616-macaudio - apple,j616-macaudio-jack + - apple,j623-macaudio-jack + - apple,j624-macaudio-jack - apple,j700-macaudio - apple,j713-macaudio - apple,j713-macaudio-jack @@ -44,6 +50,8 @@ properties: - apple,j873-macaudio - apple,j715-macaudio - apple,j715-macaudio-jack + - apple,j773-macaudio + - apple,j773-macaudio-jack - const: apple,macaudio - description: Machines that share the speaker and jack layout of an earlier diff --git a/Documentation/devicetree/bindings/sound/apple,t6000-dpaudio.yaml b/Documentation/devicetree/bindings/sound/apple,t6000-dpaudio.yaml index 7c409d4ea2c72..09d72dc6412fd 100644 --- a/Documentation/devicetree/bindings/sound/apple,t6000-dpaudio.yaml +++ b/Documentation/devicetree/bindings/sound/apple,t6000-dpaudio.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/sound/apple,t6000-dpaudio.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Apple T6000 and T6020 DisplayPort audio +title: Apple T6000, T6020 and T8112 DisplayPort audio maintainers: - Ryan Murray @@ -22,6 +22,7 @@ select: enum: - apple,t6000-dpaudio - apple,t6020-dpaudio + - apple,t8112-dpaudio required: - compatible @@ -31,6 +32,7 @@ properties: - enum: - apple,t6000-dpaudio - apple,t6020-dpaudio + - apple,t8112-dpaudio - const: apple,dpaudio reg: diff --git a/Documentation/devicetree/bindings/sound/apple,t6041-aop-audio.yaml b/Documentation/devicetree/bindings/sound/apple,t6041-aop-audio.yaml index 85e9aca39bf7f..1a3799b4f18f3 100644 --- a/Documentation/devicetree/bindings/sound/apple,t6041-aop-audio.yaml +++ b/Documentation/devicetree/bindings/sound/apple,t6041-aop-audio.yaml @@ -18,7 +18,8 @@ description: | its serializer. The parent AOP binding describes the firmware transport. The speaker and headset jack channels are optional: a node without them has - no speaker or jack streams. + no speaker or jack streams. A Mac without microphones (Mac mini, Mac Studio) + lists no microphone channel, only its headset jack streams. # Only select T6041 nodes: other AOP audio nodes carry the # apple,t6030-aop-audio fallback too and have a different set of streams. @@ -55,6 +56,10 @@ properties: dma-names: oneOf: + - description: The headset jack only, on a Mac without microphones + items: + - const: cout + - const: cin - description: The microphones only items: - const: dma @@ -119,3 +124,14 @@ examples: #sound-dai-cells = <1>; }; }; + - | + aop { + audio { + compatible = "apple,t6041-aop-audio", "apple,t6030-aop-audio"; + apple,chassis-name = "J773"; + apple,machine-kind = "Mac mini"; + dmas = <&admac1 4>, <&admac1 5>; + dma-names = "cout", "cin"; + #sound-dai-cells = <1>; + }; + }; diff --git a/Documentation/devicetree/bindings/spi/apple,qspi.yaml b/Documentation/devicetree/bindings/spi/apple,qspi.yaml index 40d08a8273712..bd883e32ec7e7 100644 --- a/Documentation/devicetree/bindings/spi/apple,qspi.yaml +++ b/Documentation/devicetree/bindings/spi/apple,qspi.yaml @@ -25,6 +25,12 @@ properties: - apple,t8132-qspi - apple,t6041-qspi - apple,t8140-qspi + - items: + - enum: + - apple,t6030-qspi + - apple,t6031-qspi + - apple,t8122-qspi + - const: apple,qspi - items: - const: apple,t8152-qspi - const: apple,t8140-qspi diff --git a/Documentation/devicetree/bindings/spi/apple,spi.yaml b/Documentation/devicetree/bindings/spi/apple,spi.yaml index 515d3dab78b65..46f9330f5ea55 100644 --- a/Documentation/devicetree/bindings/spi/apple,spi.yaml +++ b/Documentation/devicetree/bindings/spi/apple,spi.yaml @@ -17,10 +17,12 @@ properties: oneOf: - items: - enum: + - apple,t6000-spi - apple,t6020-spi - apple,t6030-spi - apple,t6031-spi - apple,t6041-spi + - apple,t8112-spi - apple,t8122-spi - apple,t8132-spi - apple,t8140-spi diff --git a/Documentation/devicetree/bindings/spmi/apple,spmi-monitor.yaml b/Documentation/devicetree/bindings/spmi/apple,spmi-monitor.yaml new file mode 100644 index 0000000000000..de6dcf5c30405 --- /dev/null +++ b/Documentation/devicetree/bindings/spmi/apple,spmi-monitor.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spmi/apple,spmi-monitor.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple first-generation SPMI secondary and event resources + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The primary PMIC bus is serviced by the polled SPMI driver. Its secondary + controller and interrupt-status apertures, and its external AIC interrupt, + remain firmware-owned. Describing them separately preserves the active + polled register window without enabling an unqualified interrupt path. + +properties: + compatible: + items: + - enum: + - apple,t8103-spmi-monitor + - apple,t6000-spmi-monitor + - const: apple,spmi-monitor + + reg: + items: + - description: Secondary controller registers + - description: Interrupt-status registers + + interrupts: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + "#address-cells": + const: 0 + + apple,controller: + $ref: /schemas/types.yaml#/definitions/phandle + description: Primary polled SPMI controller sharing these resources. + +required: + - compatible + - reg + - interrupts + - apple,controller + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/spmi/apple,spmi-peripheral.yaml b/Documentation/devicetree/bindings/spmi/apple,spmi-peripheral.yaml new file mode 100644 index 0000000000000..b2e67009a92bb --- /dev/null +++ b/Documentation/devicetree/bindings/spmi/apple,spmi-peripheral.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spmi/apple,spmi-peripheral.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple SPMI peripheral + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + SPMI peripheral resources. The address is a unique slave identifier on + its parent bus. Register access and protocol support are separate from + describing the peripheral and its interrupt resources. + +select: + properties: + compatible: + contains: + enum: + - apple,t6020-spmi-peripheral + - apple,t6021-spmi-peripheral + - apple,t6022-spmi-peripheral + - apple,t8112-spmi-peripheral + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t6020-spmi-peripheral + - apple,t6021-spmi-peripheral + - apple,t6022-spmi-peripheral + - apple,t8112-spmi-peripheral + - const: apple,spmi-peripheral + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/spmi/apple,spmi-sideband.yaml b/Documentation/devicetree/bindings/spmi/apple,spmi-sideband.yaml new file mode 100644 index 0000000000000..44771f03efce6 --- /dev/null +++ b/Documentation/devicetree/bindings/spmi/apple,spmi-sideband.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spmi/apple,spmi-sideband.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple SPMI sideband + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + SPMI sideband resources on M2 generation SoCs. The register apertures + follow hardware resource order. Firmware configuration and tuning are + supplied by the bootloader and are not part of this binding. Unqualified + instances must remain disabled. + +select: + properties: + compatible: + contains: + enum: + - apple,t6020-spmi-sideband + - apple,t6021-spmi-sideband + - apple,t6022-spmi-sideband + - apple,t8112-spmi-sideband + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t6020-spmi-sideband + - apple,t6021-spmi-sideband + - apple,t6022-spmi-sideband + - apple,t8112-spmi-sideband + - const: apple,spmi-sideband + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/spmi/apple,spmi.yaml b/Documentation/devicetree/bindings/spmi/apple,spmi.yaml index 0b35a017bb808..ac2e7407ef780 100644 --- a/Documentation/devicetree/bindings/spmi/apple,spmi.yaml +++ b/Documentation/devicetree/bindings/spmi/apple,spmi.yaml @@ -17,29 +17,34 @@ allOf: properties: compatible: oneOf: + - const: apple,t8142-spmi - items: - enum: + - apple,t6000-spmi + - apple,t8103-spmi + - apple,t8112-spmi + - const: apple,spmi + - items: + - enum: + - apple,t6000-spmi - apple,t6020-spmi - apple,t6030-spmi - apple,t6031-spmi - apple,t6041-spmi - apple,t8012-spmi - apple,t8015-spmi + - apple,t8112-spmi - apple,t8122-spmi - apple,t8132-spmi - apple,t8140-spmi - const: apple,t8103-spmi - - items: - - enum: - # Do not add additional SoC to this list. - - apple,t8103-spmi - - apple,t6000-spmi - - apple,t8112-spmi - - const: apple,spmi - - const: apple,t8142-spmi reg: - maxItems: 1 + minItems: 1 + items: + - description: SPMI command interface + - description: SPMI interrupt interface + - description: SPMI auxiliary interface interrupts: maxItems: 1 diff --git a/Documentation/devicetree/bindings/spmi/apple,viper-spmi.yaml b/Documentation/devicetree/bindings/spmi/apple,viper-spmi.yaml new file mode 100644 index 0000000000000..cee7e76833d47 --- /dev/null +++ b/Documentation/devicetree/bindings/spmi/apple,viper-spmi.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spmi/apple,viper-spmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple Viper SPMI endpoint + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + A Viper endpoint on an auxiliary SPMI bus. Its register protocol and + firmware ownership are separate from those of the primary PMIC. + +properties: + compatible: + oneOf: + - items: + - const: apple,t6000-viper-spmi + - const: apple,viper-spmi + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/thermal/apple,die-temperature-sensor.yaml b/Documentation/devicetree/bindings/thermal/apple,die-temperature-sensor.yaml new file mode 100644 index 0000000000000..861f6d486b9c0 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/apple,die-temperature-sensor.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/apple,die-temperature-sensor.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple T8103 die temperature sensor registers + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + Each channel has a readback register and, where present, independent + control, accumulator and alarm registers. Channels share larger PMGR or + CPU apertures, so only their individual registers are described here. + Register addresses do not describe sensor calibration, alarm thresholds + or firmware control sequences. A driver needs a separate calibration + handoff before reporting temperatures. + +properties: + compatible: + items: + - const: apple,t8103-die-temperature-sensor + - const: apple,die-temperature-sensor + + reg: + minItems: 2 + maxItems: 17 + + reg-names: + minItems: 2 + maxItems: 17 + items: + enum: + - readbk + - readbk1 + - readcnt + - readsum + - ctl0-clr + - ctl0-set + - ctl1 + - ctl1-clr + - ctl1-set + - ctl2 + - ctl2-clr + - ctl2-set + - ctl3-clr + - ctl3-set + - ctl4-clr + - ctl4-set + - alarm0 + - alarm1 + - alarm2 + - alarm3 + - status + +required: + - compatible + - reg + - reg-names + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/thunderbolt/apple,t8103-usb4-acio.yaml b/Documentation/devicetree/bindings/thunderbolt/apple,t8103-usb4-acio.yaml index 434a833cd31a2..b201200223bdb 100644 --- a/Documentation/devicetree/bindings/thunderbolt/apple,t8103-usb4-acio.yaml +++ b/Documentation/devicetree/bindings/thunderbolt/apple,t8103-usb4-acio.yaml @@ -17,8 +17,8 @@ description: | The co-processor exposes the Native Host Interface (NHI) and its DART IOMMU to the main SoC bus once it is running. They are therefore represented as - child nodes. All child registers are located in a single 16 MiB MMIO window - and use addresses relative to this window. + child nodes. All child registers use addresses relative to the router's MMIO + window. Type 7 expands that window and shifts its child offsets by 16 MiB. ACIO can only be powered on after the Type-C PHY has been switched to USB4/Thunderbolt mode. Before the connection to the remote device can be @@ -30,6 +30,7 @@ properties: oneOf: - const: apple,t8103-usb4-acio - const: apple,t8142-usb4-acio + - const: apple,t6040-usb4-acio - items: - enum: - apple,t6000-usb4-acio @@ -50,7 +51,7 @@ properties: PCIe adapter configuration space of the USB4 router. Present where the root complex exposes the adapter separately, so that the tunnel can be configured before a PCIe-C link is brought up. - - description: MxWrap co-processor control registers, on T8132 + - description: MxWrap co-processor control registers reg-names: minItems: 2 @@ -60,6 +61,14 @@ properties: - const: pcie-adapter - const: cpu + interrupts: + maxItems: 1 + description: Type 7 SRAM parity interrupt + + interrupt-names: + items: + - const: sram-parity + mboxes: maxItems: 1 description: Mailbox used for RTKit communication with the co-processor @@ -161,11 +170,12 @@ properties: required: - port@1 - iommu@a80000: +patternProperties: + "^iommu@(a80000|1a80000)$": $ref: /schemas/iommu/apple,dart.yaml# description: DART IOMMU exposed by ACIO and used for DMA from the NHI - nhi@f00000: + "^nhi@(f00000|1f00000)$": $ref: /schemas/thunderbolt/apple,t8103-usb4-nhi.yaml# description: Native Host Interface exposed by ACIO @@ -182,8 +192,6 @@ required: - ranges - nonposted-mmio - ports - - iommu@a80000 - - nhi@f00000 allOf: - $ref: /schemas/usb/usb-switch.yaml# @@ -204,6 +212,21 @@ allOf: else: properties: lstx-gpios: false + - if: + properties: + compatible: + contains: + const: apple,t6040-usb4-acio + then: + required: + - iommu@1a80000 + - nhi@1f00000 + - interrupts + - interrupt-names + else: + required: + - iommu@a80000 + - nhi@f00000 additionalProperties: false diff --git a/Documentation/devicetree/bindings/thunderbolt/apple,t8103-usb4-nhi.yaml b/Documentation/devicetree/bindings/thunderbolt/apple,t8103-usb4-nhi.yaml index d6dffe3ec8caf..ef291724b5a67 100644 --- a/Documentation/devicetree/bindings/thunderbolt/apple,t8103-usb4-nhi.yaml +++ b/Documentation/devicetree/bindings/thunderbolt/apple,t8103-usb4-nhi.yaml @@ -22,6 +22,7 @@ properties: oneOf: - const: apple,t8103-usb4-nhi - const: apple,t8142-usb4-nhi + - const: apple,t6040-usb4-nhi - items: - enum: - apple,t6000-usb4-nhi @@ -124,7 +125,9 @@ allOf: properties: compatible: contains: - const: apple,t8142-usb4-nhi + enum: + - apple,t8142-usb4-nhi + - apple,t6040-usb4-nhi then: properties: reg: @@ -147,6 +150,7 @@ allOf: - apple,t8122-usb4-nhi - apple,t8132-usb4-nhi - apple,t8142-usb4-nhi + - apple,t6040-usb4-nhi then: properties: iommus: diff --git a/Documentation/devicetree/bindings/timer/apple,aic-timebase.yaml b/Documentation/devicetree/bindings/timer/apple,aic-timebase.yaml index 19a606988c907..f79b538a6bce6 100644 --- a/Documentation/devicetree/bindings/timer/apple,aic-timebase.yaml +++ b/Documentation/devicetree/bindings/timer/apple,aic-timebase.yaml @@ -14,10 +14,16 @@ description: | properties: compatible: - oneOf: - - items: - - const: apple,t6041-aic-timebase - - const: apple,aic-timebase + items: + - enum: + - apple,t6000-aic-timebase + - apple,t6020-aic-timebase + - apple,t6021-aic-timebase + - apple,t6022-aic-timebase + - apple,t6041-aic-timebase + - apple,t8103-aic-timebase + - apple,t8112-aic-timebase + - const: apple,aic-timebase reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/usb/apple,ausb-drd.yaml b/Documentation/devicetree/bindings/usb/apple,ausb-drd.yaml new file mode 100644 index 0000000000000..3c627b6383793 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/apple,ausb-drd.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/apple,ausb-drd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple T6000 AUSB dual-role controller + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The AUSB controller has four register apertures and four interrupt + sources. Both DMA translation banks use stream 3. Its PHY is separate. + +properties: + compatible: + items: + - enum: + - apple,t6000-ausb-drd + - const: apple,ausb-drd + + reg: + minItems: 4 + maxItems: 4 + + interrupts: + minItems: 4 + maxItems: 4 + + power-domains: + maxItems: 1 + + phys: + maxItems: 1 + + iommus: + minItems: 2 + maxItems: 2 + +required: + - compatible + - reg + - interrupts + - power-domains + - phys + - iommus + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/usb/apple,usb2-otg.yaml b/Documentation/devicetree/bindings/usb/apple,usb2-otg.yaml new file mode 100644 index 0000000000000..bb4b9f1bb5ab9 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/apple,usb2-otg.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/apple,usb2-otg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple USB2 OTG interface + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + Hardware resources of the Apple Silicon USB2 OTG interface. + The interface is described for discovery and must remain disabled until + its ownership, initialization and shutdown are supported. Register windows + are listed in hardware resource order; firmware configuration and tuning + data are supplied by the boot firmware rather than this binding. + +select: + properties: + compatible: + contains: + enum: + - apple,t8122-usb2-otg + - apple,t6030-usb2-otg + - apple,t6031-usb2-otg + required: + - compatible + +properties: + compatible: + items: + - enum: + - apple,t8122-usb2-otg + - apple,t6030-usb2-otg + - apple,t6031-usb2-otg + - const: apple,usb2-otg + + reg: + minItems: 2 + maxItems: 2 + + interrupts: + maxItems: 1 + + iommus: + minItems: 2 + maxItems: 2 + + power-domains: + maxItems: 1 + + phys: + maxItems: 1 + phy-names: + const: usb2-phy + +required: + - compatible + - reg + - interrupts + - iommus + - power-domains + - phys + - phy-names + +additionalProperties: false diff --git a/Documentation/devicetree/index.rst b/Documentation/devicetree/index.rst index 1a2fc80149966..b5b16c0d3fc80 100644 --- a/Documentation/devicetree/index.rst +++ b/Documentation/devicetree/index.rst @@ -12,6 +12,7 @@ Kernel Devicetree Usage usage-model of_unittest kernel-api + apple-adt-coverage Devicetree Overlays =================== diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index 52b15f4bdb8cb..fd5a4e19f0c46 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -97,6 +97,9 @@ dtb-$(CONFIG_ARCH_APPLE) += t6034-j516m.dtb dtb-$(CONFIG_ARCH_APPLE) += t6040-j614s.dtb dtb-$(CONFIG_ARCH_APPLE) += t6040-j616s.dtb dtb-$(CONFIG_ARCH_APPLE) += t6040-j616s-tether.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6040-j773s.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6041-j575c.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6041-j614c.dtb dtb-$(CONFIG_ARCH_APPLE) += t6041-j616c.dtb dtb-$(CONFIG_ARCH_APPLE) += t8112-j413.dtb dtb-$(CONFIG_ARCH_APPLE) += t8112-j415.dtb diff --git a/arch/arm64/boot/dts/apple/adt-coverage/t6000-j316s.txt b/arch/arm64/boot/dts/apple/adt-coverage/t6000-j316s.txt new file mode 100644 index 0000000000000..43aa7b24bb729 --- /dev/null +++ b/arch/arm64/boot/dts/apple/adt-coverage/t6000-j316s.txt @@ -0,0 +1,714 @@ +# SPDX-License-Identifier: GPL-2.0-only +# Device name, address and DT path only; - means no usable reg address. +/cpus - -> /cpus +/cpus/cpu0 /cpus@0x0 -> /cpus/cpu@0 +/cpus/cpu1 /cpus@0x1 -> /cpus/cpu@1 +/cpus/cpu2 /cpus@0x100 -> /cpus/cpu@10100 +/cpus/cpu3 /cpus@0x101 -> /cpus/cpu@10101 +/cpus/cpu4 /cpus@0x102 -> /cpus/cpu@10102 +/cpus/cpu5 /cpus@0x103 -> /cpus/cpu@10103 +/cpus/cpu6 /cpus@0x200 -> /cpus/cpu@10200 +/cpus/cpu7 /cpus@0x201 -> /cpus/cpu@10201 +/cpus/cpu8 /cpus@0x202 -> /cpus/cpu@10202 +/cpus/cpu9 /cpus@0x203 -> /cpus/cpu@10203 +/pcie-sdreader-helper - -> WAIVED: Firmware SD-card policy helper; PCIe reader hardware is inventoried separately. +/arm-io - -> WAIVED: ADT SoC bus container; child hardware is inventoried separately. +/arm-io/i2c3 0x39b04c000 -> /soc/i2c@39b04c000 +/arm-io/i2c3/audio-speaker-right-woofer-1 /arm-io/i2c3@0x3b -> /soc/i2c@39b04c000/codec@3b +/arm-io/i2c3/audio-speaker-right-woofer-2 /arm-io/i2c3@0x3c -> /soc/i2c@39b04c000/codec@3c +/arm-io/i2c3/audio-speaker-right-tweeter /arm-io/i2c3@0x3d -> /soc/i2c@39b04c000/codec@3d +/arm-io/spi2 0x39b108000 -> /soc/spi@39b108000 +/arm-io/spi2/mesa /arm-io/spi2@0x0 -> /soc/spi@39b108000/fingerprint@0 +/arm-io/spi3 0x39b10c000 -> /soc/spi@39b10c000 +/arm-io/spi3/ipd /arm-io/spi3@0x0 -> /soc/spi@39b10c000/hid-transport@0 +/arm-io/spi4 0x39b110000 -> /soc/spi@39b110000 +/arm-io/spi4/dp855 /arm-io/spi4@0x0 -> /soc/spi@39b110000/panel-timing-controller@0 +/arm-io/spi4/dp855/lcd-pmicwp /arm-io/spi4/dp855@0x4f -> WAIVED: Firmware write-protection view of the panel power-management interface mediated by DP855; not an independent host bus device. +/arm-io/spi4/dp855/lcd-pmic /arm-io/spi4/dp855@0x74 -> WAIVED: Firmware panel power-management register-access view mediated by DP855; its address is internal to the TCON transport. +/arm-io/spi4/dp855/lcd-sswp /arm-io/spi4/dp855@0x71 -> WAIVED: Firmware write-protection view of the panel source-driver interface mediated by DP855; not an independent host bus device. +/arm-io/spi4/dp855/lcd-ss /arm-io/spi4/dp855@0x40 -> WAIVED: Firmware panel source-driver register-access view mediated by DP855; its address is internal to the TCON transport. +/arm-io/spi4/dp855/tcon-registers /arm-io/spi4/dp855@0x0 -> WAIVED: Firmware register-access view of the DP855 itself; the panel timing controller represents this hardware. +/arm-io/spi4/dp855/lcd-eeprom /arm-io/spi4/dp855@0x0 -> WAIVED: Firmware view of panel nonvolatile storage mediated by DP855; no independently addressed host bus endpoint. +/arm-io/spi4/display-temp-sens1 /arm-io/spi4@0x70 -> /soc/spi@39b110000/panel-timing-controller@0/i2c/temperature-sensor@70 +/arm-io/spi4/display-temp-sens2 /arm-io/spi4@0x71 -> /soc/spi@39b110000/panel-timing-controller@0/i2c/temperature-sensor@71 +/arm-io/spi4/display-temp-sens3 /arm-io/spi4@0x72 -> /soc/spi@39b110000/panel-timing-controller@0/i2c/temperature-sensor@72 +/arm-io/isp0 0x384000000 -> /soc/isp@384000000 +/arm-io/dart-isp0 0x3860e8000 -> /soc/iommu@3860e8000 +/arm-io/dart-isp0/mapper-isp0 - -> /soc/iommu@3860e8000 +/arm-io/alc0 - -> /soc/aop@293c00000 +/arm-io/alc0/audio-leap-mic - -> /soc/aop@293c00000 +/arm-io/admac-aop-audio 0x293980000 -> /soc/dma-controller@293980000 +/arm-io/pwm0 0x39b030000 -> /soc/pwm@39b030000 +/arm-io/pwm0/kbd-backlight - -> /led-controller +/arm-io/wlan - -> /soc/pcie@590000000/pci@0,0/wifi@0,0 +/arm-io/bluetooth - -> /soc/pcie@590000000/pci@0,0/bluetooth@0,1 +/arm-io/apcie 0x590000000 -> /soc/pcie@590000000 +/arm-io/apcie/pci-bridge0 - -> /soc/pcie@590000000/pci@0,0 +/arm-io/apcie/pci-bridge0/wlan - -> /soc/pcie@590000000/pci@0,0/wifi@0,0 +/arm-io/apcie/pci-bridge0/bluetooth-pcie - -> /soc/pcie@590000000/pci@0,0/bluetooth@0,1 +/arm-io/apcie/pci-bridge1 - -> /soc/pcie@590000000/pci@1,0 +/arm-io/apcie/pci-bridge1/pcie-sdreader - -> /soc/pcie@590000000/pci@1,0 +/arm-io/dart-apcie0 0x581008000 -> /soc/iommu@581008000 +/arm-io/dart-apcie0/mapper-apcie0-wlan - -> /soc/iommu@581008000 +/arm-io/dart-apcie0/mapper-apcie0-bt - -> /soc/iommu@581008000 +/arm-io/dart-apcie1 0x582008000 -> /soc/iommu@582008000 +/arm-io/dart-apcie1/mapper-apcie1 - -> /soc/iommu@582008000 +/arm-io/apciec0 0x730000000 -> /soc/usb4-pcie-tunnel-0/pcie@730000000 +/arm-io/apciec0/pcic0-bridge - -> /soc/usb4-pcie-tunnel-0/pcie@730000000/pci@0,0 +/arm-io/dart-apciec0 0x721008000 -> /soc/usb4-pcie-tunnel-0/iommu@721008000 +/arm-io/dart-apciec0/mapper-apciec0-piodma - -> /soc/usb4-pcie-tunnel-0/iommu@721008000 +/arm-io/apciec0-piodma 0x722000000 -> /soc/dma-controller@722000000 +/arm-io/acio0 0x701f00000 -> /soc/cio@701ac0000/nhi@f00000 +/arm-io/dart-acio0 0x701a80000 -> /soc/cio@701ac0000/iommu@a80000 +/arm-io/dart-acio0/mapper-acio0 - -> /soc/cio@701ac0000/iommu@a80000 +/arm-io/acio-cpu0 0x701100000 -> /soc/mailbox@701100000 +/arm-io/acio-cpu0/iop-acio0-nub - -> /soc/mailbox@701100000 +/arm-io/apciec1 0xb30000000 -> /soc/usb4-pcie-tunnel-1/pcie@b30000000 +/arm-io/apciec1/pcic1-bridge - -> /soc/usb4-pcie-tunnel-1/pcie@b30000000/pci@0,0 +/arm-io/dart-apciec1 0xb21008000 -> /soc/usb4-pcie-tunnel-1/iommu@b21008000 +/arm-io/dart-apciec1/mapper-apciec1-piodma - -> /soc/usb4-pcie-tunnel-1/iommu@b21008000 +/arm-io/apciec1-piodma 0xb22000000 -> /soc/dma-controller@b22000000 +/arm-io/acio1 0xb01f00000 -> /soc/cio@b01ac0000/nhi@f00000 +/arm-io/dart-acio1 0xb01a80000 -> /soc/cio@b01ac0000/iommu@a80000 +/arm-io/dart-acio1/mapper-acio1 - -> /soc/cio@b01ac0000/iommu@a80000 +/arm-io/acio-cpu1 0xb01100000 -> /soc/mailbox@b01100000 +/arm-io/acio-cpu1/iop-acio1-nub - -> /soc/mailbox@b01100000 +/arm-io/apciec2 0xf30000000 -> /soc/usb4-pcie-tunnel-2/pcie@f30000000 +/arm-io/apciec2/pcic2-bridge - -> /soc/usb4-pcie-tunnel-2/pcie@f30000000/pci@0,0 +/arm-io/dart-apciec2 0xf21008000 -> /soc/usb4-pcie-tunnel-2/iommu@f21008000 +/arm-io/dart-apciec2/mapper-apciec2-piodma - -> /soc/usb4-pcie-tunnel-2/iommu@f21008000 +/arm-io/apciec2-piodma 0xf22000000 -> /soc/dma-controller@f22000000 +/arm-io/acio2 0xf01f00000 -> /soc/cio@f01ac0000/nhi@f00000 +/arm-io/dart-acio2 0xf01a80000 -> /soc/cio@f01ac0000/iommu@a80000 +/arm-io/dart-acio2/mapper-acio2 - -> /soc/cio@f01ac0000/iommu@a80000 +/arm-io/acio-cpu2 0xf01100000 -> /soc/mailbox@f01100000 +/arm-io/acio-cpu2/iop-acio2-nub - -> /soc/mailbox@f01100000 +/arm-io/display-crossbar0 - -> /soc/dcp@38bc00000 +/arm-io/atc0-dpxbar 0x70304c000 -> /soc/mux@70304c000 +/arm-io/atc0-dpphy - -> /soc/phy@703000000 +/arm-io/atc0-dpin0 0x701e50000 -> /soc/displayport@701e50000 +/arm-io/atc0-dpin1 0x701e58000 -> /soc/displayport@701e58000 +/arm-io/atc1-dpxbar 0xb0304c000 -> /soc/mux@b0304c000 +/arm-io/atc1-dpphy - -> /soc/phy@b03000000 +/arm-io/atc1-dpin0 0xb01e50000 -> /soc/displayport@b01e50000 +/arm-io/atc1-dpin1 0xb01e58000 -> /soc/displayport@b01e58000 +/arm-io/atc2-dpxbar 0xf0304c000 -> /soc/mux@f0304c000 +/arm-io/atc2-dpphy - -> /soc/phy@f03000000 +/arm-io/atc2-dpin0 0xf01e50000 -> /soc/displayport@f01e50000 +/arm-io/atc2-dpin1 0xf01e58000 -> /soc/displayport@f01e58000 +/arm-io/atc3-dpxbar 0x130304c000 -> /soc/mux@130304c000 +/arm-io/atc3-dpphy - -> /soc/phy@1303000000 +/arm-io/mcc 0x200000000 -> /soc/memory-controller@200000000 +/arm-io/aic 0x28e100000 -> /soc/interrupt-controller@28e100000 +/arm-io/aic-timebase 0x28e148000 -> /soc/timer@28e148000 +/arm-io/wdt 0x2922b0000 -> /soc/watchdog@2922b0000 +/arm-io/error-handler 0x395440000 -> /soc/error-handler@395440000 +/arm-io/dwi 0x28e208000 -> /soc/bus-controller@28e208000 +/arm-io/aes 0x39b060000 -> /soc/crypto@39b060000 +/arm-io/gpio0 0x39b028000 -> /soc/pinctrl@39b028000 +/arm-io/aop-gpio0 0x293820000 -> /soc/pinctrl@293820000 +/arm-io/nub-gpio0 0x2921f0000 -> /soc/pinctrl@2921f0000 +/arm-io/smc-gpio 0x290820000 -> /soc/pinctrl@290820000 +/arm-io/aop 0x293400000 -> /soc/aop@293c00000 +/arm-io/aop/iop-aop-nub - -> /soc/aop@293c00000 +/arm-io/aop/iop-aop-nub/accel - -> /soc/aop@293c00000/accel +/arm-io/aop/iop-aop-nub/gyro - -> /soc/aop@293c00000/gyro +/arm-io/aop/iop-aop-nub/aop-audio - -> /soc/aop@293c00000 +/arm-io/aop/iop-aop-nub/aop-audio/audio-pdm2 - -> /soc/aop@293c00000 +/arm-io/aop/iop-aop-nub/aop-audio/dc-800000 - -> /soc/aop@293c00000 +/arm-io/aop/iop-aop-nub/aop-audio/dc-2400000 - -> /soc/aop@293c00000 +/arm-io/aop/iop-aop-nub/aop-audio/audio-hp - -> /soc/aop@293c00000 +/arm-io/aop/iop-aop-nub/aop-audio/audio-lp-mic-in - -> /soc/aop@293c00000 +/arm-io/dart-aop 0x293808000 -> /soc/iommu@293808000 +/arm-io/dart-aop/mapper-aop - -> /soc/iommu@293808000 +/arm-io/dart-aop/mapper-aop-admac - -> /soc/iommu@293808000 +/arm-io/pmgr 0x28e080000 -> /soc/power-management@28e080000 +/arm-io/pmgr/clpc - -> WAIVED: Firmware performance policy; PMGR and PMP hardware are inventoried separately. +/arm-io/pmgr/soc-tuner - -> WAIVED: Firmware tuning policy; not an independent hardware block. +/arm-io/pmgr/ppm - -> WAIVED: Firmware power policy; PMGR and PMP hardware are inventoried separately. +/arm-io/pmgr/power-devices - -> WAIVED: ADT power-device collection container; individual power-state records are checked separately. +/arm-io/pmgr/power-devices/ECPU0_0 0x28e080000 -> /soc/power-management@28e080000/power-controller@0 +/arm-io/pmgr/power-devices/ECPU0_1 0x28e080008 -> /soc/power-management@28e080000/power-controller@8 +/arm-io/pmgr/power-devices/PCPU0_0 0x28e080020 -> /soc/power-management@28e080000/power-controller@20 +/arm-io/pmgr/power-devices/PCPU0_1 0x28e080028 -> /soc/power-management@28e080000/power-controller@28 +/arm-io/pmgr/power-devices/PCPU0_2 0x28e080030 -> /soc/power-management@28e080000/power-controller@30 +/arm-io/pmgr/power-devices/PCPU0_3 0x28e080038 -> /soc/power-management@28e080000/power-controller@38 +/arm-io/pmgr/power-devices/PCPU1_0 0x28e080040 -> /soc/power-management@28e080000/power-controller@40 +/arm-io/pmgr/power-devices/PCPU1_1 0x28e080048 -> /soc/power-management@28e080000/power-controller@48 +/arm-io/pmgr/power-devices/PCPU1_2 0x28e080050 -> /soc/power-management@28e080000/power-controller@50 +/arm-io/pmgr/power-devices/PCPU1_3 0x28e080058 -> /soc/power-management@28e080000/power-controller@58 +/arm-io/pmgr/power-devices/ECPM 0x28e080060 -> /soc/power-management@28e080000/power-controller@60 +/arm-io/pmgr/power-devices/PCPM0 0x28e080068 -> /soc/power-management@28e080000/power-controller@68 +/arm-io/pmgr/power-devices/PCPM1 0x28e080070 -> /soc/power-management@28e080000/power-controller@70 +/arm-io/pmgr/power-devices/PMS_BRIDGE 0x28e080100 -> /soc/power-management@28e080000/power-controller@100 +/arm-io/pmgr/power-devices/AIC 0x28e080108 -> /soc/power-management@28e080000/power-controller@108 +/arm-io/pmgr/power-devices/DWI 0x28e080110 -> /soc/power-management@28e080000/power-controller@110 +/arm-io/pmgr/power-devices/PMS 0x28e080118 -> /soc/power-management@28e080000/power-controller@118 +/arm-io/pmgr/power-devices/GPIO 0x28e080120 -> /soc/power-management@28e080000/power-controller@120 +/arm-io/pmgr/power-devices/SOC_DPE 0x28e080128 -> /soc/power-management@28e080000/power-controller@128 +/arm-io/pmgr/power-devices/PMGR_SOC_OCLA 0x28e080130 -> /soc/power-management@28e080000/power-controller@130 +/arm-io/pmgr/power-devices/PCIE0_REF 0x28e080138 -> /soc/power-management@28e080000/power-controller@138 +/arm-io/pmgr/power-devices/PCIE1_REF 0x28e080140 -> /soc/power-management@28e080000/power-controller@140 +/arm-io/pmgr/power-devices/APCIE_ST 0x28e080148 -> /soc/power-management@28e080000/power-controller@148 +/arm-io/pmgr/power-devices/APCIE_GP 0x28e080150 -> /soc/power-management@28e080000/power-controller@150 +/arm-io/pmgr/power-devices/PMS_FPWM0 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/PMS_FPWM1 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/PMS_FPWM2 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/PMS_FPWM3 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/PMS_FPWM4 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DEVC0_IVDMC 0x28e080180 -> /soc/power-management@28e080000/power-controller@180 +/arm-io/pmgr/power-devices/AMCC0 0x28e080188 -> /soc/power-management@28e080000/power-controller@188 +/arm-io/pmgr/power-devices/AMCC2 0x28e080190 -> /soc/power-management@28e080000/power-controller@190 +/arm-io/pmgr/power-devices/DCS_00 0x28e080198 -> /soc/power-management@28e080000/power-controller@198 +/arm-io/pmgr/power-devices/DCS_01 0x28e0801a0 -> /soc/power-management@28e080000/power-controller@1a0 +/arm-io/pmgr/power-devices/DCS_02 0x28e0801a8 -> /soc/power-management@28e080000/power-controller@1a8 +/arm-io/pmgr/power-devices/DCS_03 0x28e0801b0 -> /soc/power-management@28e080000/power-controller@1b0 +/arm-io/pmgr/power-devices/DCS_08 0x28e0801b8 -> /soc/power-management@28e080000/power-controller@1b8 +/arm-io/pmgr/power-devices/DCS_09 0x28e0801c0 -> /soc/power-management@28e080000/power-controller@1c0 +/arm-io/pmgr/power-devices/DCS_10 0x28e0801c8 -> /soc/power-management@28e080000/power-controller@1c8 +/arm-io/pmgr/power-devices/DCS_11 0x28e0801d0 -> /soc/power-management@28e080000/power-controller@1d0 +/arm-io/pmgr/power-devices/AFI 0x28e0801d8 -> /soc/power-management@28e080000/power-controller@1d8 +/arm-io/pmgr/power-devices/AFC 0x28e0801e0 -> /soc/power-management@28e080000/power-controller@1e0 +/arm-io/pmgr/power-devices/AFR 0x28e0801e8 -> /soc/power-management@28e080000/power-controller@1e8 +/arm-io/pmgr/power-devices/AFNC1_IOA 0x28e0801f0 -> /soc/power-management@28e080000/power-controller@1f0 +/arm-io/pmgr/power-devices/AFNC0_IOA 0x28e0801f8 -> /soc/power-management@28e080000/power-controller@1f8 +/arm-io/pmgr/power-devices/AFNC1_LS 0x28e080200 -> /soc/power-management@28e080000/power-controller@200 +/arm-io/pmgr/power-devices/AFNC0_LS 0x28e080208 -> /soc/power-management@28e080000/power-controller@208 +/arm-io/pmgr/power-devices/AFNC1_LW0 0x28e080210 -> /soc/power-management@28e080000/power-controller@210 +/arm-io/pmgr/power-devices/AFNC1_LW1 0x28e080218 -> /soc/power-management@28e080000/power-controller@218 +/arm-io/pmgr/power-devices/AFNC1_LW2 0x28e080220 -> /soc/power-management@28e080000/power-controller@220 +/arm-io/pmgr/power-devices/AFNC0_LW0 0x28e080228 -> /soc/power-management@28e080000/power-controller@228 +/arm-io/pmgr/power-devices/SCODEC 0x28e080230 -> /soc/power-management@28e080000/power-controller@230 +/arm-io/pmgr/power-devices/ATC0_COMMON 0x28e080238 -> /soc/power-management@28e080000/power-controller@238 +/arm-io/pmgr/power-devices/ATC1_COMMON 0x28e080240 -> /soc/power-management@28e080000/power-controller@240 +/arm-io/pmgr/power-devices/C0_USB31DRD 0x28e080248 -> /soc/power-management@28e080000/power-controller@248 +/arm-io/pmgr/power-devices/C1_USB31DRD 0x28e080250 -> /soc/power-management@28e080000/power-controller@250 +/arm-io/pmgr/power-devices/DISPEXT0_FE 0x28e080258 -> /soc/power-management@28e080000/power-controller@258 +/arm-io/pmgr/power-devices/DISPEXT1_FE 0x28e080260 -> /soc/power-management@28e080000/power-controller@260 +/arm-io/pmgr/power-devices/ANE_SYS 0x28e080268 -> /soc/power-management@28e080000/power-controller@268 +/arm-io/pmgr/power-devices/AVD_SYS 0x28e080270 -> /soc/power-management@28e080000/power-controller@270 +/arm-io/pmgr/power-devices/DISPEXT0_BE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT0_CPU0 0x28e080280 -> /soc/power-management@28e080000/power-controller@280 +/arm-io/pmgr/power-devices/DISPEXT0_GP0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT0_GP1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT0_PPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1_BE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1_CPU0 0x28e0802a8 -> /soc/power-management@28e080000/power-controller@2a8 +/arm-io/pmgr/power-devices/DISPEXT1_GP0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1_GP1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1_PPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE_SYS_CPU 0x28e0802c8 -> /soc/power-management@28e080000/power-controller@2c8 +/arm-io/pmgr/power-devices/DISPEXT0_DP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PMP 0x28e0802d8 -> /soc/power-management@28e080000/power-controller@2d8 +/arm-io/pmgr/power-devices/PMS_SRAM 0x28e0802e0 -> /soc/power-management@28e080000/power-controller@2e0 +/arm-io/pmgr/power-devices/APCIE_ST_SYS 0x28e0802e8 -> /soc/power-management@28e080000/power-controller@2e8 +/arm-io/pmgr/power-devices/APCIE_ST1_SYS 0x28e0802f0 -> /soc/power-management@28e080000/power-controller@2f0 +/arm-io/pmgr/power-devices/ATC2_COMMON 0x28e0802f8 -> /soc/power-management@28e080000/power-controller@2f8 +/arm-io/pmgr/power-devices/ATC3_COMMON 0x28e080300 -> /soc/power-management@28e080000/power-controller@300 +/arm-io/pmgr/power-devices/DISPEXT0_DSC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1_DP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/USB 0x28e080318 -> /soc/power-management@28e080000/power-controller@318 +/arm-io/pmgr/power-devices/APCIE_GP_SYS 0x28e080320 -> /soc/power-management@28e080000/power-controller@320 +/arm-io/pmgr/power-devices/ATC0_CIO 0x28e080328 -> /soc/power-management@28e080000/power-controller@328 +/arm-io/pmgr/power-devices/ATC0_PCIE 0x28e080330 -> /soc/power-management@28e080000/power-controller@330 +/arm-io/pmgr/power-devices/ATC1_CIO 0x28e080338 -> /soc/power-management@28e080000/power-controller@338 +/arm-io/pmgr/power-devices/ATC1_PCIE 0x28e080340 -> /soc/power-management@28e080000/power-controller@340 +/arm-io/pmgr/power-devices/ATC2_CIO 0x28e080348 -> /soc/power-management@28e080000/power-controller@348 +/arm-io/pmgr/power-devices/ATC2_PCIE 0x28e080350 -> /soc/power-management@28e080000/power-controller@350 +/arm-io/pmgr/power-devices/ATC3_CIO 0x28e080358 -> /soc/power-management@28e080000/power-controller@358 +/arm-io/pmgr/power-devices/ATC3_PCIE 0x28e080360 -> /soc/power-management@28e080000/power-controller@360 +/arm-io/pmgr/power-devices/C0_USBCTL 0x28e080368 -> /soc/power-management@28e080000/power-controller@368 +/arm-io/pmgr/power-devices/C1_USBCTL 0x28e080370 -> /soc/power-management@28e080000/power-controller@370 +/arm-io/pmgr/power-devices/ATC0_CIO_PCIE 0x28e080378 -> /soc/power-management@28e080000/power-controller@378 +/arm-io/pmgr/power-devices/ATC0_CIO_USB 0x28e080380 -> /soc/power-management@28e080000/power-controller@380 +/arm-io/pmgr/power-devices/ATC1_CIO_PCIE 0x28e080388 -> /soc/power-management@28e080000/power-controller@388 +/arm-io/pmgr/power-devices/ATC1_CIO_USB 0x28e080390 -> /soc/power-management@28e080000/power-controller@390 +/arm-io/pmgr/power-devices/ATC2_CIO_PCIE 0x28e080398 -> /soc/power-management@28e080000/power-controller@398 +/arm-io/pmgr/power-devices/ATC2_CIO_USB 0x28e0803a0 -> /soc/power-management@28e080000/power-controller@3a0 +/arm-io/pmgr/power-devices/ATC3_CIO_PCIE 0x28e0803a8 -> /soc/power-management@28e080000/power-controller@3a8 +/arm-io/pmgr/power-devices/ATC3_CIO_USB 0x28e0803b0 -> /soc/power-management@28e080000/power-controller@3b0 +/arm-io/pmgr/power-devices/TRACE_FAB 0x28e0803b8 -> /soc/power-management@28e080000/power-controller@3b8 +/arm-io/pmgr/power-devices/DISPEXT1_DSC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CLVR_SPMI0 0x28e580100 -> /soc/power-management@28e580000/power-controller@100 +/arm-io/pmgr/power-devices/CLVR_SPMI1 0x28e580108 -> /soc/power-management@28e580000/power-controller@108 +/arm-io/pmgr/power-devices/CLVR_SPMI2 0x28e580110 -> /soc/power-management@28e580000/power-controller@110 +/arm-io/pmgr/power-devices/CLVR_SPMI3 0x28e580118 -> /soc/power-management@28e580000/power-controller@118 +/arm-io/pmgr/power-devices/CLVR_SPMI4 0x28e580120 -> /soc/power-management@28e580000/power-controller@120 +/arm-io/pmgr/power-devices/ISPSENS0 0x28e580128 -> /soc/power-management@28e580000/power-controller@128 +/arm-io/pmgr/power-devices/ISPSENS1 0x28e580130 -> /soc/power-management@28e580000/power-controller@130 +/arm-io/pmgr/power-devices/ISPSENS2 0x28e580138 -> /soc/power-management@28e580000/power-controller@138 +/arm-io/pmgr/power-devices/ISPSENS3 0x28e580140 -> /soc/power-management@28e580000/power-controller@140 +/arm-io/pmgr/power-devices/AFNC2_IOA 0x28e580148 -> /soc/power-management@28e580000/power-controller@148 +/arm-io/pmgr/power-devices/AFNC2_LS 0x28e580150 -> /soc/power-management@28e580000/power-controller@150 +/arm-io/pmgr/power-devices/AFNC2_LW0 0x28e580158 -> /soc/power-management@28e580000/power-controller@158 +/arm-io/pmgr/power-devices/AFNC2_LW1 0x28e580160 -> /soc/power-management@28e580000/power-controller@160 +/arm-io/pmgr/power-devices/AFNC3_IOA - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AFNC3_LS - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AFNC3_LW0 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/SIO 0x28e580180 -> /soc/power-management@28e580000/power-controller@180 +/arm-io/pmgr/power-devices/SIO_CPU 0x28e580188 -> /soc/power-management@28e580000/power-controller@188 +/arm-io/pmgr/power-devices/FPWM0 0x28e580190 -> /soc/power-management@28e580000/power-controller@190 +/arm-io/pmgr/power-devices/FPWM1 0x28e580198 -> /soc/power-management@28e580000/power-controller@198 +/arm-io/pmgr/power-devices/FPWM2 0x28e5801a0 -> /soc/power-management@28e580000/power-controller@1a0 +/arm-io/pmgr/power-devices/I2C0 0x28e5801a8 -> /soc/power-management@28e580000/power-controller@1a8 +/arm-io/pmgr/power-devices/I2C1 0x28e5801b0 -> /soc/power-management@28e580000/power-controller@1b0 +/arm-io/pmgr/power-devices/I2C2 0x28e5801b8 -> /soc/power-management@28e580000/power-controller@1b8 +/arm-io/pmgr/power-devices/I2C3 0x28e5801c0 -> /soc/power-management@28e580000/power-controller@1c0 +/arm-io/pmgr/power-devices/I2C4 0x28e5801c8 -> /soc/power-management@28e580000/power-controller@1c8 +/arm-io/pmgr/power-devices/I2C5 0x28e5801d0 -> /soc/power-management@28e580000/power-controller@1d0 +/arm-io/pmgr/power-devices/I2C6 0x28e5801d8 -> /soc/power-management@28e580000/power-controller@1d8 +/arm-io/pmgr/power-devices/I2C7 0x28e5801e0 -> /soc/power-management@28e580000/power-controller@1e0 +/arm-io/pmgr/power-devices/SPI_P 0x28e5801e8 -> /soc/power-management@28e580000/power-controller@1e8 +/arm-io/pmgr/power-devices/SPI0 0x28e5801f0 -> /soc/power-management@28e580000/power-controller@1f0 +/arm-io/pmgr/power-devices/SPI1 0x28e5801f8 -> /soc/power-management@28e580000/power-controller@1f8 +/arm-io/pmgr/power-devices/SPI2 0x28e580200 -> /soc/power-management@28e580000/power-controller@200 +/arm-io/pmgr/power-devices/SPI3 0x28e580208 -> /soc/power-management@28e580000/power-controller@208 +/arm-io/pmgr/power-devices/SPI4 0x28e580210 -> /soc/power-management@28e580000/power-controller@210 +/arm-io/pmgr/power-devices/SIO_SPMI0 0x28e580218 -> /soc/power-management@28e580000/power-controller@218 +/arm-io/pmgr/power-devices/SIO_SPMI1 0x28e580220 -> /soc/power-management@28e580000/power-controller@220 +/arm-io/pmgr/power-devices/SIO_SPMI2 0x28e580228 -> /soc/power-management@28e580000/power-controller@228 +/arm-io/pmgr/power-devices/UART_P 0x28e580230 -> /soc/power-management@28e580000/power-controller@230 +/arm-io/pmgr/power-devices/UART_N 0x28e580238 -> /soc/power-management@28e580000/power-controller@238 +/arm-io/pmgr/power-devices/UART0 0x28e580240 -> /soc/power-management@28e580000/power-controller@240 +/arm-io/pmgr/power-devices/UART1 0x28e580248 -> /soc/power-management@28e580000/power-controller@248 +/arm-io/pmgr/power-devices/UART2 0x28e580250 -> /soc/power-management@28e580000/power-controller@250 +/arm-io/pmgr/power-devices/UART3 0x28e580258 -> /soc/power-management@28e580000/power-controller@258 +/arm-io/pmgr/power-devices/UART4 0x28e580260 -> /soc/power-management@28e580000/power-controller@260 +/arm-io/pmgr/power-devices/UART6 0x28e580268 -> /soc/power-management@28e580000/power-controller@268 +/arm-io/pmgr/power-devices/UART7 0x28e580270 -> /soc/power-management@28e580000/power-controller@270 +/arm-io/pmgr/power-devices/AUDIO_P 0x28e580278 -> /soc/power-management@28e580000/power-controller@278 +/arm-io/pmgr/power-devices/SIO_ADMA 0x28e580280 -> /soc/power-management@28e580000/power-controller@280 +/arm-io/pmgr/power-devices/MCA0 0x28e580288 -> /soc/power-management@28e580000/power-controller@288 +/arm-io/pmgr/power-devices/MCA1 0x28e580290 -> /soc/power-management@28e580000/power-controller@290 +/arm-io/pmgr/power-devices/MCA2 0x28e580298 -> /soc/power-management@28e580000/power-controller@298 +/arm-io/pmgr/power-devices/MCA3 0x28e5802a0 -> /soc/power-management@28e580000/power-controller@2a0 +/arm-io/pmgr/power-devices/DPA0 0x28e5802a8 -> /soc/power-management@28e580000/power-controller@2a8 +/arm-io/pmgr/power-devices/DPA1 0x28e5802b0 -> /soc/power-management@28e580000/power-controller@2b0 +/arm-io/pmgr/power-devices/DPA2 0x28e5802b8 -> /soc/power-management@28e580000/power-controller@2b8 +/arm-io/pmgr/power-devices/DPA3 0x28e5802c0 -> /soc/power-management@28e580000/power-controller@2c0 +/arm-io/pmgr/power-devices/DPA4 0x28e5802c8 -> /soc/power-management@28e580000/power-controller@2c8 +/arm-io/pmgr/power-devices/AES 0x28e5802d0 -> /soc/power-management@28e580000/power-controller@2d0 +/arm-io/pmgr/power-devices/AMCC1 0x28e5802d8 -> /soc/power-management@28e580000/power-controller@2d8 +/arm-io/pmgr/power-devices/AMCC3 0x28e5802e0 -> /soc/power-management@28e580000/power-controller@2e0 +/arm-io/pmgr/power-devices/DCS_04 0x28e5802e8 -> /soc/power-management@28e580000/power-controller@2e8 +/arm-io/pmgr/power-devices/DCS_05 0x28e5802f0 -> /soc/power-management@28e580000/power-controller@2f0 +/arm-io/pmgr/power-devices/DCS_06 0x28e5802f8 -> /soc/power-management@28e580000/power-controller@2f8 +/arm-io/pmgr/power-devices/DCS_07 0x28e580300 -> /soc/power-management@28e580000/power-controller@300 +/arm-io/pmgr/power-devices/DCS_12 0x28e580308 -> /soc/power-management@28e580000/power-controller@308 +/arm-io/pmgr/power-devices/DCS_13 0x28e580310 -> /soc/power-management@28e580000/power-controller@310 +/arm-io/pmgr/power-devices/DCS_14 0x28e580318 -> /soc/power-management@28e580000/power-controller@318 +/arm-io/pmgr/power-devices/DCS_15 0x28e580320 -> /soc/power-management@28e580000/power-controller@320 +/arm-io/pmgr/power-devices/DISP0_FE 0x28e580328 -> /soc/power-management@28e580000/power-controller@328 +/arm-io/pmgr/power-devices/DISP0_BE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_SPI - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_SPMI - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_DP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_CPU0 0x28e580350 -> /soc/power-management@28e580000/power-controller@350 +/arm-io/pmgr/power-devices/DISP0_GP0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_GP1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_PPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_BLC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPDFR_FE 0x28e580378 -> /soc/power-management@28e580000/power-controller@378 +/arm-io/pmgr/power-devices/DISPDFR_BE 0x28e580380 -> /soc/power-management@28e580000/power-controller@380 +/arm-io/pmgr/power-devices/MIPI_DSI 0x28e580388 -> /soc/power-management@28e580000/power-controller@388 +/arm-io/pmgr/power-devices/JPG 0x28e580390 -> /soc/power-management@28e580000/power-controller@390 +/arm-io/pmgr/power-devices/MSR0 0x28e580398 -> /soc/power-management@28e580000/power-controller@398 +/arm-io/pmgr/power-devices/MSR0_ASE_CORE 0x28e5803a0 -> /soc/power-management@28e580000/power-controller@3a0 +/arm-io/pmgr/power-devices/ISP_SYS 0x28e5803a8 -> /soc/power-management@28e580000/power-controller@3a8 +/arm-io/pmgr/power-devices/VENC_SYS 0x28e5803b0 -> /soc/power-management@28e580000/power-controller@3b0 +/arm-io/pmgr/power-devices/ANS2 0x28e5803b8 -> /soc/power-management@28e580000/power-controller@3b8 +/arm-io/pmgr/power-devices/GFX 0x28e5803c0 -> /soc/power-management@28e580000/power-controller@3c0 +/arm-io/pmgr/power-devices/DISP0_BRC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SEP 0x28e580c00 -> /soc/power-management@28e580000/power-controller@c00 +/arm-io/pmgr/power-devices/SEP_EISP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC_DMA 0x28e588000 -> /soc/power-management@28e580000/power-controller@8000 +/arm-io/pmgr/power-devices/VENC_PIPE4 0x28e588008 -> /soc/power-management@28e580000/power-controller@8008 +/arm-io/pmgr/power-devices/VENC_PIPE5 0x28e588010 -> /soc/power-management@28e580000/power-controller@8010 +/arm-io/pmgr/power-devices/VENC_ME0 0x28e588018 -> /soc/power-management@28e580000/power-controller@8018 +/arm-io/pmgr/power-devices/VENC_ME1 0x28e588020 -> /soc/power-management@28e580000/power-controller@8020 +/arm-io/pmgr/power-devices/DEBUG 0x292280058 -> /soc/power-management@292280000/power-controller@58 +/arm-io/pmgr/power-devices/NUB_SPMI0 0x292280060 -> /soc/power-management@292280000/power-controller@60 +/arm-io/pmgr/power-devices/NUB_SPMI1 0x292280068 -> /soc/power-management@292280000/power-controller@68 +/arm-io/pmgr/power-devices/NUB_AON 0x292280070 -> /soc/power-management@292280000/power-controller@70 +/arm-io/pmgr/power-devices/MSG 0x292280078 -> /soc/power-management@292280000/power-controller@78 +/arm-io/pmgr/power-devices/NUB_GPIO 0x292280080 -> /soc/power-management@292280000/power-controller@80 +/arm-io/pmgr/power-devices/ATC0_USB_AON 0x292280088 -> /soc/power-management@292280000/power-controller@88 +/arm-io/pmgr/power-devices/ATC1_USB_AON 0x292280090 -> /soc/power-management@292280000/power-controller@90 +/arm-io/pmgr/power-devices/ATC2_USB_AON 0x292280098 -> /soc/power-management@292280000/power-controller@98 +/arm-io/pmgr/power-devices/ATC3_USB_AON 0x2922800a0 -> /soc/power-management@292280000/power-controller@a0 +/arm-io/pmgr/power-devices/GP_USB_AON - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/NUB_FABRIC 0x2922800b0 -> /soc/power-management@292280000/power-controller@b0 +/arm-io/pmgr/power-devices/NUB_SRAM 0x2922800b8 -> /soc/power-management@292280000/power-controller@b8 +/arm-io/pmgr/power-devices/DEBUG_USB 0x2922800c0 -> /soc/power-management@292280000/power-controller@c0 +/arm-io/pmgr/power-devices/DEBUG_AUTH 0x2922800c8 -> /soc/power-management@292280000/power-controller@c8 +/arm-io/pmgr/power-devices/ATC0_USB 0x2922800d0 -> /soc/power-management@292280000/power-controller@d0 +/arm-io/pmgr/power-devices/ATC1_USB 0x2922800d8 -> /soc/power-management@292280000/power-controller@d8 +/arm-io/pmgr/power-devices/ATC2_USB 0x2922800e0 -> /soc/power-management@292280000/power-controller@e0 +/arm-io/pmgr/power-devices/ATC3_USB 0x2922800e8 -> /soc/power-management@292280000/power-controller@e8 +/arm-io/pmgr/power-devices/AOP_FILTER - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_GPIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_BASE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_FR - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_LEAP_CLK - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SHIM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SCM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_ADMA0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_I2CM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_I2CM1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_MCA0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_MCA1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPMI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPMI1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_LEAP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_AUDIO_SHIM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_AUDIO_ADMA0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_PDMC_LPD - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_PDM0_REF - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_PDM1_REF - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FABRIC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_GPIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_AON - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_UART0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_UART1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM4 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM5 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM6 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CPU-BUSY - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPU0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-MIE-DPB - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-FB-ACTIVE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-CARVE-OUT - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SIO-CPU-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/C0-USBCTL-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/USB-AUDIO-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-MEM-FAST - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG1-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DCS-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DCS-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-SGX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-BUSY - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-ASC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SEP-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SEP-PEARL-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/APCIE-ST-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PLACEHOLDER - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO-LLT-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR0-AVMSR-VMD2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR0-AVMSR-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR1-AVMSR-VMD2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR1-AVMSR-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/FR-SCALING-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SCODEC-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-USB-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC1-USB-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO-P-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SIO-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-USB-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC1-USB-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-SYS-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SYS-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE-SYS-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG0-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG1-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR0-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SYS-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SCODEC-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVEMSR-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC2-USB-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC3-USB-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VDD_CIO-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0_RESET-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC1_RESET-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CIO0_RECONFIG-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CIO1_RECONFIG-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CIO2_RECONFIG-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CIO3_RECONFIG-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-USB-AUD-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC1-USB-AUD-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC2-USB-AUD-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC3-USB-AUD-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_CPU0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT0_CPU0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1_CPU0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPU1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG1-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG1-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB0_AONUSB-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB1_AONUSB-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB2_AONUSB-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB3_AONUSB-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB0_AONPCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB1_AONPCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB2_AONPCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB3_AONPCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DP0-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DP1-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DP2-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DP3-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SCODEC-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SCODEC-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-SOC-VMID2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-FAB0-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-domains - -> WAIVED: ADT power-domain collection container; individual domains require review. +/arm-io/pmgr/power-domains/AMCC0 - -> /soc/power-management@28e080000/power-controller@188 +/arm-io/pmgr/power-domains/AMCC2 - -> /soc/power-management@28e080000/power-controller@190 +/arm-io/pmgr/power-domains/DCS_00_01 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DCS_02_03 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DCS_08_09 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DCS_10_11 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/AFI_AFC - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/AFR - -> /soc/power-management@28e080000/power-controller@1e8 +/arm-io/pmgr/power-domains/AFNC1 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/AFNC0 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/AFNC1_LW0 - -> /soc/power-management@28e080000/power-controller@210 +/arm-io/pmgr/power-domains/AFNC1_LW1 - -> /soc/power-management@28e080000/power-controller@218 +/arm-io/pmgr/power-domains/AFNC1_LW2 - -> /soc/power-management@28e080000/power-controller@220 +/arm-io/pmgr/power-domains/DISPEXT0_CPU - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT0_GP0 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT0_GP1 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT0_PPP - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT1_CPU - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT1_GP0 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT1_GP1 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT1_PPP - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/PMP - -> /soc/power-management@28e080000/power-controller@2d8 +/arm-io/pmgr/power-domains/PMS_SRAM - -> /soc/power-management@28e080000/power-controller@2e0 +/arm-io/pmgr/power-domains/APCIE_ST_SYS - -> /soc/power-management@28e080000/power-controller@2e8 +/arm-io/pmgr/power-domains/APCIE_GP_SYS - -> /soc/power-management@28e080000/power-controller@320 +/arm-io/pmgr/power-domains/ANE_SYS - -> /soc/power-management@28e080000/power-controller@268 +/arm-io/pmgr/power-domains/AFNC2 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/AFNC2_LW0 - -> /soc/power-management@28e580000/power-controller@158 +/arm-io/pmgr/power-domains/AFNC2_LW1 - -> /soc/power-management@28e580000/power-controller@160 +/arm-io/pmgr/power-domains/AFNC3 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/AMCC1 - -> /soc/power-management@28e580000/power-controller@2d8 +/arm-io/pmgr/power-domains/AMCC3 - -> /soc/power-management@28e580000/power-controller@2e0 +/arm-io/pmgr/power-domains/DCS_04_05 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DCS_06_07 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DCS_12_13 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DCS_14_15 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISP0_CPU - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISP0_GP0 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISP0_GP1 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISP0_PPP - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISP0_BLC - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/SEP - -> /soc/power-management@28e580000/power-controller@c00 +/arm-io/pmgr/power-domains/SEP_EISP - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/ANS2 - -> /soc/power-management@28e580000/power-controller@3b8 +/arm-io/pmgr/power-domains/GFX - -> /soc/power-management@28e580000/power-controller@3c0 +/arm-io/pmgr/power-domains/DISP0_BRC - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/NUB_FABRIC - -> /soc/power-management@292280000/power-controller@b0 +/arm-io/pmgr/power-domains/NUB_SRAM - -> /soc/power-management@292280000/power-controller@b8 +/arm-io/pmgr/power-domains/DEBUG_USB - -> /soc/power-management@292280000/power-controller@c0 +/arm-io/pmgr/power-domains/DEBUG_AUTH - -> /soc/power-management@292280000/power-controller@c8 +/arm-io/pmgr/power-domains/AOP_CPU - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/AOP_FILTER - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/SMC_CPU - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/SMC_FABRIC - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/nco 0x28e03c000 -> /soc/clock-controller@28e03c000 +/arm-io/event-log-handler 0x28e080000 -> /soc/event-log@28e080000 +/arm-io/sio 0x39bc00000 -> /soc/sio@39bc00000 +/arm-io/sio/iop-sio-nub - -> /soc/sio@39bc00000 +/arm-io/sio/iop-sio-nub/sio-dma - -> /soc/sio@39bc00000 +/arm-io/dart-sio 0x39b004000 -> /soc/iommu@39b004000 +/arm-io/dart-sio/mapper-sio - -> /soc/iommu@39b004000 +/arm-io/dart-sio/mapper-aes - -> /soc/iommu@39b004000 +/arm-io/dart-sio/mapper-admac - -> /soc/iommu@39b004000 +/arm-io/pmp 0x28ec00000 -> /soc/pmp@28e700000 +/arm-io/pmp/iop-pmp-nub - -> /soc/pmp@28e700000 +/arm-io/dart-pmp 0x28e300000 -> /soc/iommu@28e300000 +/arm-io/dart-pmp/mapper-pmp - -> /soc/iommu@28e300000 +/arm-io/sep 0x396400000 -> /soc/sep@396400000 +/arm-io/sep/iop-sep-nub - -> /soc/sep@396400000 +/arm-io/sep/iop-sep-nub/Ocelot - -> /soc/sep@396400000 +/arm-io/sep/iop-sep-nub/xART - -> /soc/sep@396400000 +/arm-io/sep/iop-sep-nub/InvalidateHmac - -> /soc/sep@396400000 +/arm-io/dart-sep 0x3952c0000 -> /soc/iommu@3952c0000 +/arm-io/dart-sep/mapper-sep - -> /soc/iommu@3952c0000 +/arm-io/ans 0x38f400000 -> /soc/nvme@393cc0000 +/arm-io/ans/iop-ans-nub - -> /soc/nvme@393cc0000 +/arm-io/sart-ans 0x393c50000 -> /soc/sart@393c50000 +/arm-io/smc 0x290400000 -> /soc/smc@290400000 +/arm-io/smc/iop-smc-nub - -> /soc/smc@290400000 +/arm-io/smc/iop-smc-nub/smc-pmu - -> /soc/smc@290400000 +/arm-io/smc/iop-smc-nub/smc-charger-util - -> /soc/smc@290400000 +/arm-io/uart0 0x39b200000 -> /soc/serial@39b200000 +/arm-io/uart0/debug-console - -> /soc/serial@39b200000 +/arm-io/dockchannel-uart 0x29250c000 -> /soc/fifo@29250c000 +/arm-io/spi1 0x39b104000 -> /soc/spi@39b104000 +/arm-io/spi1/spinor /arm-io/spi1@0x0 -> /soc/spi@39b104000/flash@0 +/arm-io/spi1/spinor/firmware - -> WAIVED: Firmware flash partition; parent flash hardware is inventoried separately. +/arm-io/spi1/spinor/anvram /arm-io/spi1/spinor@0x700000 -> WAIVED: Firmware NVRAM partition; parent flash hardware is inventoried separately. +/arm-io/spi1/spinor/syscfg /arm-io/spi1/spinor@0x5a0000 -> WAIVED: Firmware configuration partition; parent flash hardware is inventoried separately. +/arm-io/i2c0 0x39b040000 -> /soc/i2c@39b040000 +/arm-io/i2c0/hpmBusManager - -> /soc/i2c@39b040000 +/arm-io/i2c0/hpmBusManager/hpm0 /arm-io/i2c0/hpmBusManager@0x38 -> /soc/i2c@39b040000/usb-pd@38 +/arm-io/i2c0/hpmBusManager/hpm1 /arm-io/i2c0/hpmBusManager@0x3f -> /soc/i2c@39b040000/usb-pd@3f +/arm-io/i2c0/hpmBusManager/hpm2 /arm-io/i2c0/hpmBusManager@0x3b -> /soc/i2c@39b040000/usb-pd@3b +/arm-io/i2c0/hpmBusManager/hpm5 /arm-io/i2c0/hpmBusManager@0x3a -> /soc/i2c@39b040000/usb-pd@3a +/arm-io/i2c1 0x39b044000 -> /soc/i2c@39b044000 +/arm-io/i2c1/audio-speaker /arm-io/i2c1@0x38 -> /soc/i2c@39b044000/codec@38 +/arm-io/i2c1/audio-speaker-left-woofer-2 /arm-io/i2c1@0x39 -> /soc/i2c@39b044000/codec@39 +/arm-io/i2c1/audio-speaker-left-tweeter /arm-io/i2c1@0x3a -> /soc/i2c@39b044000/codec@3a +/arm-io/i2c2 0x39b048000 -> /soc/i2c@39b048000 +/arm-io/i2c2/audio-codec-output /arm-io/i2c2@0x4b -> /soc/i2c@39b048000/codec@4b +/arm-io/i2c4 0x39b050000 -> /soc/i2c@39b050000 +/arm-io/i2c4/sd-card /arm-io/i2c4@0x20 -> /soc/i2c@39b050000/sd-card-control@20 +/arm-io/i2c5 0x39b054000 -> /soc/i2c@39b054000 +/arm-io/dp2hdmi-gpio - -> WAIVED: Logical display GPIO routing helper; GPIO controller hardware is inventoried separately. +/arm-io/admac-sio 0x39b400000 -> /soc/dma-controller@39b400000 +/arm-io/atc-phy0 0x702a90000 -> /soc/phy@703000000 +/arm-io/dart-usb0 0x702f00000 -> /soc/iommu@702f00000 +/arm-io/dart-usb0/mapper-usb0 - -> /soc/iommu@702f00000 +/arm-io/usb-drd0 0x702280000 -> /soc/usb@702280000 +/arm-io/usb-drd0/usb-drd0-port-hs - -> /soc/usb@702280000/ports/port@0 +/arm-io/usb-drd0/usb-drd0-port-ss - -> /soc/usb@702280000/ports/port@1 +/arm-io/atc-phy1 0xb02a90000 -> /soc/phy@b03000000 +/arm-io/dart-usb1 0xb02f00000 -> /soc/iommu@b02f00000 +/arm-io/dart-usb1/mapper-usb1 - -> /soc/iommu@b02f00000 +/arm-io/usb-drd1 0xb02280000 -> /soc/usb@b02280000 +/arm-io/usb-drd1/usb-drd1-port-hs - -> /soc/usb@b02280000/ports/port@0 +/arm-io/usb-drd1/usb-drd1-port-ss - -> /soc/usb@b02280000/ports/port@1 +/arm-io/atc-phy2 0xf02a90000 -> /soc/phy@f03000000 +/arm-io/dart-usb2 0xf02f00000 -> /soc/iommu@f02f00000 +/arm-io/dart-usb2/mapper-usb2 - -> /soc/iommu@f02f00000 +/arm-io/usb-drd2 0xf02280000 -> /soc/usb@f02280000 +/arm-io/usb-drd2/usb-drd2-port-hs - -> /soc/usb@f02280000/ports/port@0 +/arm-io/usb-drd2/usb-drd2-port-ss - -> /soc/usb@f02280000/ports/port@1 +/arm-io/atc-phy3 0x1302a90000 -> /soc/phy@1303000000 +/arm-io/nub-spmi0 0x2920a1300 -> /soc/spmi@2920a1300 +/arm-io/nub-spmi0/spmi-mpmu /arm-io/nub-spmi0@0xf -> /soc/spmi@2920a1300/pmic@f +/arm-io/nub-spmi0/btm /arm-io/nub-spmi0@0xf -> /soc/spmi@2920a1300/pmic@f +/arm-io/nub-spmi1 0x2920a9300 -> /soc/spmi@2920a9300 +/arm-io/nub-spmi1/spmi-spmu /arm-io/nub-spmi1@0xe -> /soc/spmi@2920a9300/pmic@e +/arm-io/nub-spmi1/spmi-viper /arm-io/nub-spmi1@0xd -> /soc/spmi@2920a9300/spmi-device@d +/arm-io/clvr-spmi0 0x28e501100 -> /soc/spmi@28e501100 +/arm-io/clvr-spmi0/spmi-monaco0 /arm-io/clvr-spmi0@0xf -> /soc/spmi@28e501100/pmic@f +/arm-io/clvr-spmi1 0x28e509100 -> /soc/spmi@28e509100 +/arm-io/clvr-spmi1/spmi-monaco1 /arm-io/clvr-spmi1@0xf -> /soc/spmi@28e509100/pmic@f +/arm-io/clvr-spmi2 0x28e511100 -> /soc/spmi@28e511100 +/arm-io/clvr-spmi2/spmi-monaco2 /arm-io/clvr-spmi2@0xf -> /soc/spmi@28e511100/pmic@f +/arm-io/aop-spmi0 0x293829300 -> /soc/spmi@293829300 +/arm-io/aop-spmi0/spmi-wifibt /arm-io/aop-spmi0@0xe -> /soc/spmi@293829300/spmi-device@e +/arm-io/aop-spmi0/spmi-uwb /arm-io/aop-spmi0@0xf -> /soc/spmi@293829300/spmi-device@f +/arm-io/aop-spmi1 0x29382d300 -> /soc/spmi@29382d300 +/arm-io/aop-spmi1/stockholm-spmi /arm-io/aop-spmi1@0xc -> /soc/spmi@29382d300/nfc@c +/arm-io/aop-spmi1/stockholm-spmi/stockholm - -> WAIVED: NFC firmware service of the parent SPMI device, not another addressed bus device. +/arm-io/disp0 0x38a000000 -> /soc/dcp@38bc00000 +/arm-io/dart-disp0 0x38b304000 -> /soc/iommu@38b304000 +/arm-io/dart-disp0/mapper-disp0 - -> /soc/iommu@38b304000 +/arm-io/dart-disp0/mapper-disp0-piodma - -> /soc/iommu@38b304000 +/arm-io/dcp0-expert - -> /soc/dcp@38bc00000 +/arm-io/dcp 0x38bc00000 -> /soc/dcp@38bc00000 +/arm-io/dcp/iop-dcp-nub - -> /soc/dcp@38bc00000 +/arm-io/dart-dcp 0x38b30c000 -> /soc/iommu@38b30c000 +/arm-io/dart-dcp/mapper-dcp - -> /soc/iommu@38b30c000 +/arm-io/dcp-sac-controller - -> /soc/dcp@38bc00000 +/arm-io/dp-audio0 - -> WAIVED: Logical display audio DMA endpoint; SIO and display controllers are inventoried separately. +/arm-io/dispext0 0x288000000 -> /soc/dcp@289c00000 +/arm-io/dart-dispext0 0x289304000 -> /soc/iommu@289304000 +/arm-io/dart-dispext0/mapper-dispext0 - -> /soc/iommu@289304000 +/arm-io/dart-dispext0/mapper-dispext0-piodma - -> /soc/iommu@289304000 +/arm-io/dcpext0-expert - -> WAIVED: Coprocessor firmware policy view; hosting coprocessor is inventoried separately. +/arm-io/dcpext0 0x289c00000 -> /soc/dcp@289c00000 +/arm-io/dcpext0/iop-dcpext0-nub - -> /soc/dcp@289c00000 +/arm-io/dart-dcpext0 0x28930c000 -> /soc/iommu@28930c000 +/arm-io/dart-dcpext0/mapper-dcpext0 - -> /soc/iommu@28930c000 +/arm-io/dp-audio1 - -> WAIVED: Logical display audio DMA endpoint; SIO and display controllers are inventoried separately. +/arm-io/dispext1 0x28b000000 -> /soc/dcp@28cc00000 +/arm-io/dart-dispext1 0x28c304000 -> /soc/iommu@28c304000 +/arm-io/dart-dispext1/mapper-dispext1 - -> /soc/iommu@28c304000 +/arm-io/dart-dispext1/mapper-dispext1-piodma - -> /soc/iommu@28c304000 +/arm-io/dcpext1-expert - -> WAIVED: Coprocessor firmware policy view; hosting coprocessor is inventoried separately. +/arm-io/dcpext1 0x28cc00000 -> /soc/dcp@28cc00000 +/arm-io/dcpext1/iop-dcpext1-nub - -> /soc/dcp@28cc00000 +/arm-io/dart-dcpext1 0x28c30c000 -> /soc/iommu@28c30c000 +/arm-io/dart-dcpext1/mapper-dcpext1 - -> /soc/iommu@28c30c000 +/arm-io/dp-audio2 - -> WAIVED: Logical display audio DMA endpoint; SIO and display controllers are inventoried separately. +/arm-io/scaler0 0x40b000000 -> /soc/scaler@40b000000 +/arm-io/dart-scaler0 0x40b200000 -> /soc/iommu@40b200000 +/arm-io/dart-scaler0/mapper-scaler0 - -> /soc/iommu@40b200000 +/arm-io/dart-scaler0/mapper-scaler-piodma0 - -> /soc/iommu@40b200000 +/arm-io/apr0 0x311000000 -> /soc/video-codec@311000000 +/arm-io/dart-apr0 0x311008000 -> /soc/iommu@311008000 +/arm-io/dart-apr0/mapper-apr0 - -> /soc/iommu@311008000 +/arm-io/jpeg0 0x409000000 -> /soc/jpeg@409000000 +/arm-io/dart-jpeg0 0x409004000 -> /soc/iommu@409004000 +/arm-io/dart-jpeg0/mapper-jpeg0 - -> /soc/iommu@409004000 +/arm-io/jpeg1 0x409008000 -> /soc/jpeg@409008000 +/arm-io/dart-jpeg1 0x40900c000 -> /soc/iommu@40900c000 +/arm-io/dart-jpeg1/mapper-jpeg1 - -> /soc/iommu@40900c000 +/arm-io/ave0 0x40d100000 -> /soc/video-codec@40d100000 +/arm-io/dart-ave0 0x40d040000 -> /soc/iommu@40d040000 +/arm-io/dart-ave0/mapper-ave0 - -> /soc/iommu@40d040000 +/arm-io/avd0 0x286000000 -> /soc/avd@287080000 +/arm-io/dart-avd0 0x287010000 -> /soc/iommu@287010000 +/arm-io/dart-avd0/mapper-avd0 - -> /soc/iommu@287010000 +/arm-io/dart-avd0/mapper-avd0-piodma - -> /soc/iommu@287010000 +/arm-io/dart-avd0/mapper-avd0-adsbuf - -> /soc/iommu@287010000 +/arm-io/ane0 0x284000000 -> /soc/ane@285c04000 +/arm-io/dart-ane0 0x285800000 -> /soc/iommu@285800000 +/arm-io/dart-ane0/mapper-ane0 - -> /soc/iommu@285800000 +/arm-io/sgx 0x404000000 -> /soc/gpu@406400000 +/arm-io/gfx-asc 0x406400000 -> /soc/gpu@406400000 +/arm-io/gfx-asc/iop-gfx-nub0 - -> /soc/gpu@406400000 +/arm-io/mapper-gfx-asc - -> WAIVED: GPU firmware IOMMU stream; represented by the GPU IOMMU relationship. +/arm-io/mca-switch 0x39b600000 -> /soc/mca@39b600000 +/arm-io/mca0 0x39b600000 -> /soc/mca@39b600000 +/arm-io/mca0/mca0a - -> /soc/mca@39b600000 +/arm-io/mca0/mca0a/audio-speaker - -> /soc/mca@39b600000 +/arm-io/mca1 0x39b604000 -> /soc/mca@39b600000 +/arm-io/mca1/mca1a - -> /soc/mca@39b600000 +/arm-io/mca1/mca1a/audio-loopback - -> /soc/mca@39b600000 +/arm-io/mca2 0x39b608000 -> /soc/mca@39b600000 +/arm-io/mca2/mca2a - -> /soc/mca@39b600000 +/arm-io/mca2/mca2a/audio-codec-output - -> /soc/mca@39b600000 +/arm-io/mca2/mca2b - -> /soc/mca@39b600000 +/arm-io/mca2/mca2b/audio-codec-input - -> /soc/mca@39b600000 +/arm-io/smctempsensor0 - -> /soc/smc@290400000/hwmon +/arm-io/cpu-debug-interface - -> /cpus +/arm-io/nub-swd0 - -> WAIVED: Native debug access service; debug hardware is inventoried separately. +/arm-io/pwm1 0x39b030000 -> /soc/timer-pwm@39b030000 +/arm-io/timesync - -> WAIVED: Firmware clock synchronization policy, not a separate timer device. +/arm-io/apple-processor-trace - -> WAIVED: Native diagnostic trace policy; CPU debug hardware is inventoried separately. +/buttons - -> WAIVED: Button collection container; child devices are inventoried separately. +/port-usb-c-1 - -> /soc/i2c@39b040000/usb-pd@38/connector +/port-usb-c-2 - -> /soc/i2c@39b040000/usb-pd@3f/connector +/port-usb-c-3 - -> /soc/i2c@39b040000/usb-pd@3b/connector +/port-hdmi-1 - -> WAIVED: Logical DCP output interface; display controllers and their routes are inventoried separately. +/port-t818-1 - -> WAIVED: Firmware accessory-port relationship of the SMC; no independently addressed bus or MMIO device. +/backlight - -> /soc/dcp@38bc00000 +/backlight/twodbl - -> /soc/dcp@38bc00000 +/sacm - -> WAIVED: Display access-control policy; display hardware is inventoried separately. diff --git a/arch/arm64/boot/dts/apple/adt-coverage/t6040-j616s.txt b/arch/arm64/boot/dts/apple/adt-coverage/t6040-j616s.txt new file mode 100644 index 0000000000000..7dc8aaa51a288 --- /dev/null +++ b/arch/arm64/boot/dts/apple/adt-coverage/t6040-j616s.txt @@ -0,0 +1,904 @@ +# SPDX-License-Identifier: GPL-2.0-only +# Device name, address and DT path only; - means no usable reg address. +/cpus - -> /cpus +/cpus/cpu0 /cpus@0x0 -> /cpus/cpu@0 +/cpus/cpu1 /cpus@0x1 -> /cpus/cpu@1 +/cpus/cpu2 /cpus@0x2 -> /cpus/cpu@2 +/cpus/cpu3 /cpus@0x3 -> /cpus/cpu@3 +/cpus/cpu4 /cpus@0x100 -> /cpus/cpu@10100 +/cpus/cpu5 /cpus@0x101 -> /cpus/cpu@10101 +/cpus/cpu6 /cpus@0x102 -> /cpus/cpu@10102 +/cpus/cpu7 /cpus@0x103 -> /cpus/cpu@10103 +/cpus/cpu8 /cpus@0x104 -> /cpus/cpu@10104 +/cpus/cpu10 /cpus@0x200 -> /cpus/cpu@10200 +/cpus/cpu11 /cpus@0x201 -> /cpus/cpu@10201 +/cpus/cpu12 /cpus@0x202 -> /cpus/cpu@10202 +/cpus/cpu13 /cpus@0x203 -> /cpus/cpu@10203 +/cpus/cpu14 /cpus@0x204 -> /cpus/cpu@10204 +/arm-io 0x210f00000 -> /soc/clock-controller@502800000 +/arm-io/i2c1 0x429014000 -> /i2c@429014000 +/arm-io/i2c1/audio-speaker /arm-io/i2c1@0x38 -> /i2c@429014000/codec@38 +/arm-io/i2c1/audio-speaker-left-woofer-2 /arm-io/i2c1@0x39 -> /i2c@429014000/codec@39 +/arm-io/i2c1/audio-speaker-left-tweeter /arm-io/i2c1@0x3a -> /i2c@429014000/codec@3a +/arm-io/i2c2 0x429018000 -> /i2c@429018000 +/arm-io/i2c2/audio-codec-output /arm-io/i2c2@0x4b -> /i2c@429018000/codec@4b +/arm-io/i2c3 0x42901c000 -> /i2c@42901c000 +/arm-io/i2c3/audio-speaker-right-woofer-1 /arm-io/i2c3@0x3b -> /i2c@42901c000/codec@3b +/arm-io/i2c3/audio-speaker-right-woofer-2 /arm-io/i2c3@0x3c -> /i2c@42901c000/codec@3c +/arm-io/i2c3/audio-speaker-right-tweeter /arm-io/i2c3@0x3d -> /i2c@42901c000/codec@3d +/arm-io/iop-voicetrigger-controller - -> /soc/clock-controller@502800000 +/arm-io/iop-voicetrigger-controller/audio-vt-device - -> /soc/clock-controller@502800000 +/arm-io/i2c4 0x429020000 -> /i2c@429020000 +/arm-io/i2c4/sd-card /arm-io/i2c4@0x20 -> /i2c@429020000/card-control@20 +/arm-io/i2c6 0x429028000 -> /i2c@429028000 +/arm-io/i2c6/uatcrt0 /arm-io/i2c6@0x18 -> /i2c@429028000/retimer@18 +/arm-io/i2c6/uatcrt1 /arm-io/i2c6@0x19 -> /i2c@429028000/retimer@19 +/arm-io/i2c6/uatcrt2 /arm-io/i2c6@0x1a -> /i2c@429028000/retimer@1a +/arm-io/i2c8 0x429030000 -> /i2c@429030000 +/arm-io/i2c8/pcon0 /arm-io/i2c8@0x8 -> /i2c@429030000/display-converter@8 +/arm-io/spi2 0x429108000 -> /spi@429108000 +/arm-io/spi2/mesa /arm-io/spi2@0x0 -> /spi@429108000/fingerprint@0 +/arm-io/spi4 0x429110000 -> /spi@429110000 +/arm-io/spi4/dp855 /arm-io/spi4@0x0 -> /spi@429110000/panel-controller@0 +/arm-io/spi4/dp855/lcd-pmicwp /arm-io/spi4/dp855@0x4f -> WAIVED: Firmware write-protection view of the panel power-management interface mediated by DP855; not an independent host bus device. +/arm-io/spi4/dp855/lcd-pmic /arm-io/spi4/dp855@0x74 -> WAIVED: Firmware panel power-management register-access view mediated by DP855; its address is internal to the TCON transport. +/arm-io/spi4/dp855/lcd-sswp /arm-io/spi4/dp855@0x71 -> WAIVED: Firmware write-protection view of the panel source-driver interface mediated by DP855; not an independent host bus device. +/arm-io/spi4/dp855/lcd-ss /arm-io/spi4/dp855@0x40 -> WAIVED: Firmware panel source-driver register-access view mediated by DP855; its address is internal to the TCON transport. +/arm-io/spi4/dp855/tcon-registers /arm-io/spi4/dp855@0x0 -> WAIVED: Firmware register-access view of the DP855 itself; the panel timing controller represents this hardware. +/arm-io/spi4/dp855/lcd-eeprom /arm-io/spi4/dp855@0x0 -> WAIVED: Firmware view of panel nonvolatile storage mediated by DP855; no independently addressed host bus endpoint. +/arm-io/spi4/display-temp-sens1 /arm-io/spi4@0x70 -> /spi@429110000/panel-controller@0/i2c/temperature-sensor@70 +/arm-io/spi4/display-temp-sens2 /arm-io/spi4@0x71 -> /spi@429110000/panel-controller@0/i2c/temperature-sensor@71 +/arm-io/spi4/display-temp-sens3 /arm-io/spi4@0x72 -> /spi@429110000/panel-controller@0/i2c/temperature-sensor@72 +/arm-io/isp0 0x580000000 -> /isp@580000000 +/arm-io/dart-isp0 0x5828c0000 -> /iommu@5828c0000 +/arm-io/dart-isp0/mapper-isp0 - -> /iommu@5828c0000 +/arm-io/pwm0 0x429040000 -> /pwm@429040000 +/arm-io/pwm0/kbd-backlight - -> /led-controller +/arm-io/apcie0 0x1cb0000000 -> /pcie@1cb0000000 +/arm-io/apcie0/pci-bridge0 - -> /pcie@1cb0000000/pci@0,0 +/arm-io/apcie0/pci-bridge0/wlan - -> /pcie@1cb0000000/pci@0,0/wifi@0,0 +/arm-io/apcie0/pci-bridge0/bluetooth-pcie - -> /pcie@1cb0000000/pci@0,0/bluetooth@0,1 +/arm-io/apcie0/pci-bridge1 - -> /pcie@1cb0000000/pci@1,0 +/arm-io/apcie0/pci-bridge1/pcie-sdreader - -> /pcie@1cb0000000/pci@1,0 +/arm-io/dart-apcie0 0x410000000 -> /iommu@410000000 +/arm-io/dart-apcie0/mapper-apcie0-wlan - -> /iommu@410000000 +/arm-io/dart-apcie0/mapper-apcie0-bt - -> /iommu@410000000 +/arm-io/dart-apcie0/mapper-apcie0-piodma - -> /iommu@410000000 +/arm-io/apcie0-piodma 0x410030000 -> /soc/dma@410030000 +/arm-io/dart-apcie1 0x411000000 -> /iommu@411000000 +/arm-io/dart-apcie1/mapper-apcie1 - -> /iommu@411000000 +/arm-io/dart-apcie1/mapper-apcie1-piodma - -> /iommu@411000000 +/arm-io/apcie1-piodma 0x411030000 -> /soc/dma@411030000 +/arm-io/acio-phy-cpu0 0x383148000 -> /mailbox@383148000 +/arm-io/acio-phy-cpu0/iop-aciophy0-nub - -> /mailbox@383148000 +/arm-io/acio-phy-cpu1 0x38b148000 -> /mailbox@38b148000 +/arm-io/acio-phy-cpu1/iop-aciophy1-nub - -> /mailbox@38b148000 +/arm-io/acio-phy-cpu2 0x393148000 -> /mailbox@393148000 +/arm-io/acio-phy-cpu2/iop-aciophy2-nub - -> /mailbox@393148000 +/arm-io/acio-phy-cpu3 0x39b148000 -> /mailbox@39b148000 +/arm-io/acio-phy-cpu3/iop-aciophy3-nub - -> /mailbox@39b148000 +/arm-io/dockchannel-mtp 0x514b14000 -> /fifo@514b14000 +/arm-io/dockchannel-mtp/mtp-transport - -> /fifo@514b14000/input@0 +/arm-io/dockchannel-mtp/mtp-transport/multi-touch - -> /fifo@514b14000/input@0/multi-touch +/arm-io/dockchannel-mtp/mtp-transport/keyboard - -> /fifo@514b14000/input@0/keyboard +/arm-io/dockchannel-mtp/mtp-transport/stm - -> /fifo@514b14000/input@0/stm +/arm-io/dockchannel-mtp/mtp-transport/actuator - -> /fifo@514b14000/input@0/actuator +/arm-io/dockchannel-mtp/mtp-transport/tp-accel - -> /fifo@514b14000/input@0/tp-accel +/arm-io/mtp 0x514600000 -> /mtp@514600000 +/arm-io/mtp/iop-mtp-nub - -> /mtp@514600000 +/arm-io/dart-mtp 0x514800000 -> /iommu@514800000 +/arm-io/dart-mtp/mapper-mtp - -> /iommu@514800000 +/arm-io/mtp-aop-mux - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/secure-repair 0x5081e4000 -> /pinctrl@5081e4000 +/arm-io/dynamic-pil - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/arm-io/dynamic-pil/cil - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/arm-io/aod2 - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/apciec0 0x1c50000000 -> /usb4-pcie-tunnel-0/pcie@1c50000000 +/arm-io/apciec0/pcic0-bridge - -> /usb4-pcie-tunnel-0/pcie@1c50000000/pci@0,0 +/arm-io/dart-apciec0 0x384000000 -> /usb4-pcie-tunnel-0/iommu@384000000 +/arm-io/dart-apciec0/mapper-apciec0-piodma - -> /usb4-pcie-tunnel-0/iommu@384000000 +/arm-io/apciec0-piodma 0x384068000 -> /soc/dma@384068000 +/arm-io/acio0 0x381f00000 -> /cio@381ac0000/nhi@1f00000 +/arm-io/dart-acio0 0x381a80000 -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-0 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-1 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-2 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-3 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-4 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-5 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-6 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-7 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-8 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-9 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-10 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-tx-11 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-0 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-1 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-2 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-3 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-4 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-5 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-6 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-7 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-8 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-9 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-10 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/dart-acio0/mapper-acio0-rx-11 - -> /cio@381ac0000/iommu@1a80000 +/arm-io/acio-cpu0 0x381108000 -> /mailbox@381108000 +/arm-io/acio-cpu0/iop-acio0-nub - -> /mailbox@381108000 +/arm-io/apciec1 0x1c60000000 -> /usb4-pcie-tunnel-1/pcie@1c60000000 +/arm-io/apciec1/pcic1-bridge - -> /usb4-pcie-tunnel-1/pcie@1c60000000/pci@0,0 +/arm-io/dart-apciec1 0x38c000000 -> /usb4-pcie-tunnel-1/iommu@38c000000 +/arm-io/dart-apciec1/mapper-apciec1-piodma - -> /usb4-pcie-tunnel-1/iommu@38c000000 +/arm-io/apciec1-piodma 0x38c068000 -> /soc/dma@38c068000 +/arm-io/acio1 0x389f00000 -> /cio@389ac0000/nhi@1f00000 +/arm-io/dart-acio1 0x389a80000 -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-0 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-1 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-2 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-3 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-4 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-5 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-6 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-7 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-8 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-9 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-10 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-tx-11 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-0 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-1 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-2 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-3 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-4 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-5 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-6 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-7 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-8 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-9 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-10 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/dart-acio1/mapper-acio1-rx-11 - -> /cio@389ac0000/iommu@1a80000 +/arm-io/acio-cpu1 0x389108000 -> /mailbox@389108000 +/arm-io/acio-cpu1/iop-acio1-nub - -> /mailbox@389108000 +/arm-io/apciec2 0x1c70000000 -> /usb4-pcie-tunnel-2/pcie@1c70000000 +/arm-io/apciec2/pcic2-bridge - -> /usb4-pcie-tunnel-2/pcie@1c70000000/pci@0,0 +/arm-io/dart-apciec2 0x394000000 -> /usb4-pcie-tunnel-2/iommu@394000000 +/arm-io/dart-apciec2/mapper-apciec2-piodma - -> /usb4-pcie-tunnel-2/iommu@394000000 +/arm-io/apciec2-piodma 0x394068000 -> /soc/dma@394068000 +/arm-io/acio2 0x391f00000 -> /cio@391ac0000/nhi@1f00000 +/arm-io/dart-acio2 0x391a80000 -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-0 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-1 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-2 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-3 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-4 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-5 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-6 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-7 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-8 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-9 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-10 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-tx-11 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-0 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-1 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-2 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-3 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-4 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-5 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-6 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-7 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-8 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-9 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-10 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/dart-acio2/mapper-acio2-rx-11 - -> /cio@391ac0000/iommu@1a80000 +/arm-io/acio-cpu2 0x391108000 -> /mailbox@391108000 +/arm-io/acio-cpu2/iop-acio2-nub - -> /mailbox@391108000 +/arm-io/wlan - -> /pcie@1cb0000000/pci@0,0/wifi@0,0 +/arm-io/bluetooth - -> /pcie@1cb0000000/pci@0,0/bluetooth@0,1 +/arm-io/display-crossbar0 - -> /dcp@402e00000 +/arm-io/atc0-dpxbar 0x38324c000 -> /mux@38324c000 +/arm-io/atc0-dpphy - -> /phy@382a90000 +/arm-io/atc0-dpin0 0x381e50000 -> /soc/dpin@381e50000 +/arm-io/atc0-dpin1 0x381e58000 -> /soc/dpin@381e58000 +/arm-io/atc1-dpxbar 0x38b24c000 -> /mux@38b24c000 +/arm-io/atc1-dpphy - -> /phy@38aa90000 +/arm-io/atc1-dpin0 0x389e50000 -> /soc/dpin@389e50000 +/arm-io/atc1-dpin1 0x389e58000 -> /soc/dpin@389e58000 +/arm-io/atc2-dpxbar 0x39324c000 -> /mux@39324c000 +/arm-io/atc2-dpphy - -> /phy@392a90000 +/arm-io/atc2-dpin0 0x391e50000 -> /soc/dpin@391e50000 +/arm-io/atc2-dpin1 0x391e58000 -> /soc/dpin@391e58000 +/arm-io/atc3-dpxbar 0x39b24c000 -> /mux@39b24c000 +/arm-io/atc3-dpphy - -> /phy@39aa90000 +/arm-io/mcc 0x220000000 -> /memory-controller@220000000 +/arm-io/aic 0x502400000 -> /interrupt-controller@502400000 +/arm-io/aic-timebase 0x502580000 -> /soc/aic-timebase@502580000 +/arm-io/wdt 0x50836c000 -> /watchdog@50836c000 +/arm-io/error-handler 0x24f000000 -> /error-handler@24f000000 +/arm-io/dwi 0x5029b0000 -> /soc/dwi@5029b0000 +/arm-io/aes 0x42900c000 -> /soc/crypto@42900c000 +/arm-io/gpio0 0x51c000000 -> /pinctrl@51c000000 +/arm-io/aop-gpio0 0x510824000 -> /pinctrl@510824000 +/arm-io/nub-gpio0 0x5081e4000 -> /pinctrl@5081e4000 +/arm-io/smc-gpio0 0x50c824000 -> /pinctrl@50c824000 +/arm-io/aop 0x510600000 -> /aop@510600000 +/arm-io/aop/iop-aop-nub - -> /aop@510600000 +/arm-io/aop/iop-aop-nub/aop-audio - -> /aop@510600000 +/arm-io/aop/iop-aop-nub/aop-voicetrigger - -> /aop@510600000 +/arm-io/aop/iop-aop-nub/als - -> /aop@510600000/als +/arm-io/aop/iop-aop-nub/accel - -> /aop@510600000/accel +/arm-io/aop/iop-aop-nub/gyro - -> /aop@510600000/gyro +/arm-io/dart-aop 0x510f00000 -> /iommu@510f00000 +/arm-io/dart-aop/mapper-aop - -> /iommu@510f00000 +/arm-io/dart-aop/mapper-admac-base-ns - -> /iommu@510f00000 +/arm-io/dart-aop/mapper-admac-base-s - -> /iommu@510f00000 +/arm-io/dart-aop/mapper-admac-leap-ns - -> /iommu@510f00000 +/arm-io/dart-aop/mapper-admac-leap-s - -> /iommu@510f00000 +/arm-io/pmgr 0x502800000 -> /power-management@502800000 +/arm-io/pmgr/soc-tuner - -> WAIVED: Firmware tuning policy; not an independent hardware block. +/arm-io/pmgr/clpc - -> WAIVED: Firmware performance policy; PMGR and PMP hardware are inventoried separately. +/arm-io/pmgr/ppm - -> WAIVED: Firmware power policy; PMGR and PMP hardware are inventoried separately. +/arm-io/pmgr/power-devices - -> WAIVED: ADT power-device collection container; individual power-state records are checked separately. +/arm-io/pmgr/power-devices/ECPU_0 0x502800000 -> /power-management@502800000/power-controller@0 +/arm-io/pmgr/power-devices/ECPU_1 0x502800008 -> /power-management@502800000/power-controller@8 +/arm-io/pmgr/power-devices/ECPU_2 0x502800010 -> /power-management@502800000/power-controller@10 +/arm-io/pmgr/power-devices/ECPU_3 0x502800018 -> /power-management@502800000/power-controller@18 +/arm-io/pmgr/power-devices/PCPU0_0 0x502800020 -> /power-management@502800000/power-controller@20 +/arm-io/pmgr/power-devices/PCPU0_1 0x502800028 -> /power-management@502800000/power-controller@28 +/arm-io/pmgr/power-devices/PCPU0_2 0x502800030 -> /power-management@502800000/power-controller@30 +/arm-io/pmgr/power-devices/PCPU0_3 0x502800038 -> /power-management@502800000/power-controller@38 +/arm-io/pmgr/power-devices/PCPU0_4 0x502800040 -> /power-management@502800000/power-controller@40 +/arm-io/pmgr/power-devices/PCPU0_5 0x502800048 -> /power-management@502800000/power-controller@48 +/arm-io/pmgr/power-devices/PCPU1_0 0x502800050 -> /power-management@502800000/power-controller@50 +/arm-io/pmgr/power-devices/PCPU1_1 0x502800058 -> /power-management@502800000/power-controller@58 +/arm-io/pmgr/power-devices/PCPU1_2 0x502800060 -> /power-management@502800000/power-controller@60 +/arm-io/pmgr/power-devices/PCPU1_3 0x502800068 -> /power-management@502800000/power-controller@68 +/arm-io/pmgr/power-devices/PCPU1_4 0x502800070 -> /power-management@502800000/power-controller@70 +/arm-io/pmgr/power-devices/PCPU1_5 0x502800078 -> /power-management@502800000/power-controller@78 +/arm-io/pmgr/power-devices/ECPM 0x502800080 -> /power-management@502800000/power-controller@80 +/arm-io/pmgr/power-devices/PCPM0 0x502800088 -> /power-management@502800000/power-controller@88 +/arm-io/pmgr/power-devices/PCPM1 0x502800090 -> /power-management@502800000/power-controller@90 +/arm-io/pmgr/power-devices/PMS 0x502800100 -> /power-management@502800000/power-controller@100 +/arm-io/pmgr/power-devices/DWI 0x502800108 -> /power-management@502800000/power-controller@108 +/arm-io/pmgr/power-devices/AFI 0x502800110 -> /power-management@502800000/power-controller@110 +/arm-io/pmgr/power-devices/AIC 0x502800118 -> /power-management@502800000/power-controller@118 +/arm-io/pmgr/power-devices/PMC 0x502800120 -> /power-management@502800000/power-controller@120 +/arm-io/pmgr/power-devices/PMS_C1PPT 0x502800128 -> /power-management@502800000/power-controller@128 +/arm-io/pmgr/power-devices/SOC_DPE 0x502800130 -> /power-management@502800000/power-controller@130 +/arm-io/pmgr/power-devices/PMGR_SOC_OCLA 0x502800138 -> /power-management@502800000/power-controller@138 +/arm-io/pmgr/power-devices/PMS_FPWM0 0x502800140 -> /power-management@502800000/power-controller@140 +/arm-io/pmgr/power-devices/PMS_FPWM1 0x502800148 -> /power-management@502800000/power-controller@148 +/arm-io/pmgr/power-devices/PMS_FPWM2 0x502800150 -> /power-management@502800000/power-controller@150 +/arm-io/pmgr/power-devices/PMS_FPWM3 0x502800158 -> /power-management@502800000/power-controller@158 +/arm-io/pmgr/power-devices/PMS_FPWM4 0x502800160 -> /power-management@502800000/power-controller@160 +/arm-io/pmgr/power-devices/FAB0_SOC 0x502800168 -> /power-management@502800000/power-controller@168 +/arm-io/pmgr/power-devices/AVD_SYS 0x502800170 -> /power-management@502800000/power-controller@170 +/arm-io/pmgr/power-devices/AFC 0x502800178 -> /power-management@502800000/power-controller@178 +/arm-io/pmgr/power-devices/AMCC0 0x502800180 -> /power-management@502800000/power-controller@180 +/arm-io/pmgr/power-devices/DCS_00 0x502800188 -> /power-management@502800000/power-controller@188 +/arm-io/pmgr/power-devices/ROM 0x502800190 -> /power-management@502800000/power-controller@190 +/arm-io/pmgr/power-devices/AMCC1 0x502800198 -> /power-management@502800000/power-controller@198 +/arm-io/pmgr/power-devices/DCS_01 0x5028001a0 -> /power-management@502800000/power-controller@1a0 +/arm-io/pmgr/power-devices/AMCC2 0x5028001a8 -> /power-management@502800000/power-controller@1a8 +/arm-io/pmgr/power-devices/DCS_02 0x5028001b0 -> /power-management@502800000/power-controller@1b0 +/arm-io/pmgr/power-devices/AMCC3 0x5028001b8 -> /power-management@502800000/power-controller@1b8 +/arm-io/pmgr/power-devices/DCS_03 0x5028001c0 -> /power-management@502800000/power-controller@1c0 +/arm-io/pmgr/power-devices/AMCC8 0x5028001c8 -> /power-management@502800000/power-controller@1c8 +/arm-io/pmgr/power-devices/DCS_08 0x5028001d0 -> /power-management@502800000/power-controller@1d0 +/arm-io/pmgr/power-devices/AMCC9 0x5028001d8 -> /power-management@502800000/power-controller@1d8 +/arm-io/pmgr/power-devices/DCS_09 0x5028001e0 -> /power-management@502800000/power-controller@1e0 +/arm-io/pmgr/power-devices/AMCC10 0x5028001e8 -> /power-management@502800000/power-controller@1e8 +/arm-io/pmgr/power-devices/DCS_10 0x5028001f0 -> /power-management@502800000/power-controller@1f0 +/arm-io/pmgr/power-devices/AMCC11 0x5028001f8 -> /power-management@502800000/power-controller@1f8 +/arm-io/pmgr/power-devices/DCS_11 0x502800200 -> /power-management@502800000/power-controller@200 +/arm-io/pmgr/power-devices/AMCC16 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_16 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC17 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_17 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC18 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_18 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC19 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_19 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC24 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_24 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC25 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_25 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC26 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_26 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/VENC0_SYS 0x502800278 -> /power-management@502800000/power-controller@278 +/arm-io/pmgr/power-devices/AMCC27 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/FAB_GW_0 0x502800288 -> /power-management@502800000/power-controller@288 +/arm-io/pmgr/power-devices/FAB_GW_1 0x502800290 -> /power-management@502800000/power-controller@290 +/arm-io/pmgr/power-devices/FAB_AFR 0x502800298 -> /power-management@502800000/power-controller@298 +/arm-io/pmgr/power-devices/VENC1_SYS - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/VENC1_DMA - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/VENC1_PIPE4 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/VENC1_PIPE5 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/VENC1_ME0 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/VENC1_ME1 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/FAB1_SOC 0x5028002d0 -> /power-management@502800000/power-controller@2d0 +/arm-io/pmgr/power-devices/DISPEXT3_SYS - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DISPEXT3_FE - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DISPEXT3_CPU - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DISPEXT3_DBE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DPEXT3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT3_GP0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT3_GP1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT3_GPL - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT3_PPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT3_DSC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SCODEC 0x502800328 -> /power-management@502800000/power-controller@328 +/arm-io/pmgr/power-devices/SCODEC_STREAMING 0x502800330 -> /power-management@502800000/power-controller@330 +/arm-io/pmgr/power-devices/FAB2_SOC 0x502800338 -> /power-management@502800000/power-controller@338 +/arm-io/pmgr/power-devices/DISPEXT0_SYS 0x502800340 -> /power-management@502800000/power-controller@340 +/arm-io/pmgr/power-devices/DISPEXT0_FE 0x502800348 -> /power-management@502800000/power-controller@348 +/arm-io/pmgr/power-devices/DISPEXT0_CPU 0x502800350 -> /power-management@502800000/power-controller@350 +/arm-io/pmgr/power-devices/DISPEXT0_DBE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DPEXT0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT0_GP0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT0_GP1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT0_GPL - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT0_PPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT0_DSC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0_COMMON 0x502800390 -> /power-management@502800000/power-controller@390 +/arm-io/pmgr/power-devices/ATC0_CIO 0x502800398 -> /power-management@502800000/power-controller@398 +/arm-io/pmgr/power-devices/ATC0_PCIE 0x5028003a0 -> /power-management@502800000/power-controller@3a0 +/arm-io/pmgr/power-devices/ATC0_CIO_PCIE 0x5028003a8 -> /power-management@502800000/power-controller@3a8 +/arm-io/pmgr/power-devices/ATC0_CIO_USB 0x5028003b0 -> /power-management@502800000/power-controller@3b0 +/arm-io/pmgr/power-devices/ATC1_COMMON 0x5028003b8 -> /power-management@502800000/power-controller@3b8 +/arm-io/pmgr/power-devices/ATC1_CIO 0x5028003c0 -> /power-management@502800000/power-controller@3c0 +/arm-io/pmgr/power-devices/ATC1_PCIE 0x5028003c8 -> /power-management@502800000/power-controller@3c8 +/arm-io/pmgr/power-devices/ATC1_CIO_PCIE 0x5028003d0 -> /power-management@502800000/power-controller@3d0 +/arm-io/pmgr/power-devices/ATC1_CIO_USB 0x5028003d8 -> /power-management@502800000/power-controller@3d8 +/arm-io/pmgr/power-devices/ATC2_COMMON 0x5028003e0 -> /power-management@502800000/power-controller@3e0 +/arm-io/pmgr/power-devices/ATC2_CIO 0x5028003e8 -> /power-management@502800000/power-controller@3e8 +/arm-io/pmgr/power-devices/ATC2_PCIE 0x5028003f0 -> /power-management@502800000/power-controller@3f0 +/arm-io/pmgr/power-devices/ATC2_CIO_PCIE 0x5028003f8 -> /power-management@502800000/power-controller@3f8 +/arm-io/pmgr/power-devices/ATC2_CIO_USB 0x502800400 -> /power-management@502800000/power-controller@400 +/arm-io/pmgr/power-devices/ATC3_COMMON 0x502800408 -> /power-management@502800000/power-controller@408 +/arm-io/pmgr/power-devices/PMP 0x502800410 -> /power-management@502800000/power-controller@410 +/arm-io/pmgr/power-devices/PMS_SRAM 0x502800418 -> /power-management@502800000/power-controller@418 +/arm-io/pmgr/power-devices/ATC3_CIO 0x502800420 -> /power-management@502800000/power-controller@420 +/arm-io/pmgr/power-devices/ATC3_PCIE 0x502800428 -> /power-management@502800000/power-controller@428 +/arm-io/pmgr/power-devices/ATC3_CIO_PCIE 0x502800430 -> /power-management@502800000/power-controller@430 +/arm-io/pmgr/power-devices/ATC3_CIO_USB 0x502800438 -> /power-management@502800000/power-controller@438 +/arm-io/pmgr/power-devices/FAB5_SOC 0x502800440 -> /power-management@502800000/power-controller@440 +/arm-io/pmgr/power-devices/SBR 0x502800448 -> /power-management@502800000/power-controller@448 +/arm-io/pmgr/power-devices/GPIO 0x502800450 -> /power-management@502800000/power-controller@450 +/arm-io/pmgr/power-devices/MSG 0x502800458 -> /power-management@502800000/power-controller@458 +/arm-io/pmgr/power-devices/TRACE_FAB - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AP_TMM 0x502800468 -> /power-management@502800000/power-controller@468 +/arm-io/pmgr/power-devices/MSR0 0x502800470 -> /power-management@502800000/power-controller@470 +/arm-io/pmgr/power-devices/MSR0_ASE_CORE 0x502800478 -> /power-management@502800000/power-controller@478 +/arm-io/pmgr/power-devices/FAB6_SOC 0x502800480 -> /power-management@502800000/power-controller@480 +/arm-io/pmgr/power-devices/FAB7_SOC 0x502800488 -> /power-management@502800000/power-controller@488 +/arm-io/pmgr/power-devices/DISPEXT1_SYS 0x502800490 -> /power-management@502800000/power-controller@490 +/arm-io/pmgr/power-devices/DISPEXT1_FE 0x502800498 -> /power-management@502800000/power-controller@498 +/arm-io/pmgr/power-devices/DISPEXT1_CPU 0x5028004a0 -> /power-management@502800000/power-controller@4a0 +/arm-io/pmgr/power-devices/DISPEXT1_DBE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DPEXT1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1_GP0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1_GP1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1_GPL - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1_PPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1_DSC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT2_SYS - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DISPEXT2_FE - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DISPEXT2_CPU - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DISPEXT2_DBE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DPEXT2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT2_GP0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT2_GP1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT2_GPL - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT2_PPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT2_DSC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DCS_27 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/VENC0_DMA 0x502808000 -> /power-management@502808000/power-controller@0 +/arm-io/pmgr/power-devices/VENC0_PIPE4 0x502808008 -> /power-management@502808000/power-controller@8 +/arm-io/pmgr/power-devices/VENC0_PIPE5 0x502808010 -> /power-management@502808000/power-controller@10 +/arm-io/pmgr/power-devices/VENC0_ME0 0x502808018 -> /power-management@502808000/power-controller@18 +/arm-io/pmgr/power-devices/VENC0_ME1 0x502808020 -> /power-management@502808000/power-controller@20 +/arm-io/pmgr/power-devices/LOGICAL_CLUSTER - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISPSENS0 0x502280000 -> /power-management@502280000/power-controller@0 +/arm-io/pmgr/power-devices/APCIE_GP 0x502280100 -> /power-management@502280000/power-controller@100 +/arm-io/pmgr/power-devices/APCIE_ST0 0x502280108 -> /power-management@502280000/power-controller@108 +/arm-io/pmgr/power-devices/APCIE_ST1 0x502280110 -> /power-management@502280000/power-controller@110 +/arm-io/pmgr/power-devices/FAB3_SOC 0x502280118 -> /power-management@502280000/power-controller@118 +/arm-io/pmgr/power-devices/SIO 0x502280120 -> /power-management@502280000/power-controller@120 +/arm-io/pmgr/power-devices/FAB4_SOC 0x502280128 -> /power-management@502280000/power-controller@128 +/arm-io/pmgr/power-devices/SIO_CPU 0x502280130 -> /power-management@502280000/power-controller@130 +/arm-io/pmgr/power-devices/FPWM0 0x502280138 -> /power-management@502280000/power-controller@138 +/arm-io/pmgr/power-devices/FPWM1 0x502280140 -> /power-management@502280000/power-controller@140 +/arm-io/pmgr/power-devices/FPWM2 0x502280148 -> /power-management@502280000/power-controller@148 +/arm-io/pmgr/power-devices/I2C0 0x502280150 -> /power-management@502280000/power-controller@150 +/arm-io/pmgr/power-devices/I2C1 0x502280158 -> /power-management@502280000/power-controller@158 +/arm-io/pmgr/power-devices/I2C2 0x502280160 -> /power-management@502280000/power-controller@160 +/arm-io/pmgr/power-devices/I2C3 0x502280168 -> /power-management@502280000/power-controller@168 +/arm-io/pmgr/power-devices/I2C4 0x502280170 -> /power-management@502280000/power-controller@170 +/arm-io/pmgr/power-devices/I2C5 0x502280178 -> /power-management@502280000/power-controller@178 +/arm-io/pmgr/power-devices/I2C6 0x502280180 -> /power-management@502280000/power-controller@180 +/arm-io/pmgr/power-devices/I2C7 0x502280188 -> /power-management@502280000/power-controller@188 +/arm-io/pmgr/power-devices/I2C8 0x502280190 -> /power-management@502280000/power-controller@190 +/arm-io/pmgr/power-devices/SPI_P 0x502280198 -> /power-management@502280000/power-controller@198 +/arm-io/pmgr/power-devices/UART_P 0x5022801a0 -> /power-management@502280000/power-controller@1a0 +/arm-io/pmgr/power-devices/DPA_P 0x5022801a8 -> /power-management@502280000/power-controller@1a8 +/arm-io/pmgr/power-devices/AES 0x5022801b0 -> /power-management@502280000/power-controller@1b0 +/arm-io/pmgr/power-devices/SPI0 0x5022801b8 -> /power-management@502280000/power-controller@1b8 +/arm-io/pmgr/power-devices/SPI1 0x5022801c0 -> /power-management@502280000/power-controller@1c0 +/arm-io/pmgr/power-devices/SPI2 0x5022801c8 -> /power-management@502280000/power-controller@1c8 +/arm-io/pmgr/power-devices/SPI3 0x5022801d0 -> /power-management@502280000/power-controller@1d0 +/arm-io/pmgr/power-devices/SPI4 0x5022801d8 -> /power-management@502280000/power-controller@1d8 +/arm-io/pmgr/power-devices/SPI5 0x5022801e0 -> /power-management@502280000/power-controller@1e0 +/arm-io/pmgr/power-devices/QSPI 0x5022801e8 -> /power-management@502280000/power-controller@1e8 +/arm-io/pmgr/power-devices/UART_N 0x5022801f0 -> /power-management@502280000/power-controller@1f0 +/arm-io/pmgr/power-devices/UART0 0x5022801f8 -> /power-management@502280000/power-controller@1f8 +/arm-io/pmgr/power-devices/UART1 0x502280200 -> /power-management@502280000/power-controller@200 +/arm-io/pmgr/power-devices/UART2 0x502280208 -> /power-management@502280000/power-controller@208 +/arm-io/pmgr/power-devices/UART3 0x502280210 -> /power-management@502280000/power-controller@210 +/arm-io/pmgr/power-devices/UART4 0x502280218 -> /power-management@502280000/power-controller@218 +/arm-io/pmgr/power-devices/UART5 0x502280220 -> /power-management@502280000/power-controller@220 +/arm-io/pmgr/power-devices/UART6 0x502280228 -> /power-management@502280000/power-controller@228 +/arm-io/pmgr/power-devices/DPA0 0x502280230 -> /power-management@502280000/power-controller@230 +/arm-io/pmgr/power-devices/DPA1 0x502280238 -> /power-management@502280000/power-controller@238 +/arm-io/pmgr/power-devices/DPA2 0x502280240 -> /power-management@502280000/power-controller@240 +/arm-io/pmgr/power-devices/DPA3 0x502280248 -> /power-management@502280000/power-controller@248 +/arm-io/pmgr/power-devices/DPA4 0x502280250 -> /power-management@502280000/power-controller@250 +/arm-io/pmgr/power-devices/DISP_SYS 0x502280258 -> /power-management@502280000/power-controller@258 +/arm-io/pmgr/power-devices/AMCC4 0x502280260 -> /power-management@502280000/power-controller@260 +/arm-io/pmgr/power-devices/AMCC5 0x502280268 -> /power-management@502280000/power-controller@268 +/arm-io/pmgr/power-devices/AMCC6 0x502280270 -> /power-management@502280000/power-controller@270 +/arm-io/pmgr/power-devices/AMCC7 0x502280278 -> /power-management@502280000/power-controller@278 +/arm-io/pmgr/power-devices/AMCC12 0x502280280 -> /power-management@502280000/power-controller@280 +/arm-io/pmgr/power-devices/AMCC13 0x502280288 -> /power-management@502280000/power-controller@288 +/arm-io/pmgr/power-devices/AMCC14 0x502280290 -> /power-management@502280000/power-controller@290 +/arm-io/pmgr/power-devices/AMCC15 0x502280298 -> /power-management@502280000/power-controller@298 +/arm-io/pmgr/power-devices/AMCC20 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC21 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC22 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC23 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC28 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC29 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC30 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AMCC31 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_04 0x5022802e0 -> /power-management@502280000/power-controller@2e0 +/arm-io/pmgr/power-devices/DCS_05 0x5022802e8 -> /power-management@502280000/power-controller@2e8 +/arm-io/pmgr/power-devices/DCS_06 0x5022802f0 -> /power-management@502280000/power-controller@2f0 +/arm-io/pmgr/power-devices/DCS_07 0x5022802f8 -> /power-management@502280000/power-controller@2f8 +/arm-io/pmgr/power-devices/DCS_12 0x502280300 -> /power-management@502280000/power-controller@300 +/arm-io/pmgr/power-devices/DCS_13 0x502280308 -> /power-management@502280000/power-controller@308 +/arm-io/pmgr/power-devices/DCS_14 0x502280310 -> /power-management@502280000/power-controller@310 +/arm-io/pmgr/power-devices/DCS_15 0x502280318 -> /power-management@502280000/power-controller@318 +/arm-io/pmgr/power-devices/DCS_20 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_21 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_22 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_23 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_28 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_29 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_30 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DCS_31 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DPTX_PHY - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_FE 0x502280368 -> /power-management@502280000/power-controller@368 +/arm-io/pmgr/power-devices/ANS 0x502280370 -> /power-management@502280000/power-controller@370 +/arm-io/pmgr/power-devices/ISP_SYS 0x502280378 -> /power-management@502280000/power-controller@378 +/arm-io/pmgr/power-devices/APCIE_SYS_ST0 0x502280380 -> /power-management@502280000/power-controller@380 +/arm-io/pmgr/power-devices/APCIE_SYS_ST1 0x502280388 -> /power-management@502280000/power-controller@388 +/arm-io/pmgr/power-devices/APCIE_SYS_GP 0x502280390 -> /power-management@502280000/power-controller@390 +/arm-io/pmgr/power-devices/APCIE_PHY_SW 0x502280398 -> /power-management@502280000/power-controller@398 +/arm-io/pmgr/power-devices/JPG 0x5022803a0 -> /power-management@502280000/power-controller@3a0 +/arm-io/pmgr/power-devices/MSR1 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/MSR1_ASE_CORE - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/ANE_SYS 0x5022803c0 -> /power-management@502280000/power-controller@3c0 +/arm-io/pmgr/power-devices/SEP 0x502280c00 -> /power-management@502280000/power-controller@c00 +/arm-io/pmgr/power-devices/ISP_CPU - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/ISP_FE - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/DPRX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_SECURE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_BE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_CLR - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE_MPM 0x50228c000 -> /power-management@50228c000/power-controller@0 +/arm-io/pmgr/power-devices/ANE_CPU 0x50228c008 -> /power-management@50228c000/power-controller@8 +/arm-io/pmgr/power-devices/ANE_TD 0x50228c010 -> /power-management@50228c000/power-controller@10 +/arm-io/pmgr/power-devices/ANE_BASE 0x50228c018 -> /power-management@50228c000/power-controller@18 +/arm-io/pmgr/power-devices/DISP_CPU 0x502290000 -> /power-management@502290000/power-controller@0 +/arm-io/pmgr/power-devices/DISP_SPI - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_SPMI - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_DBE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_GP0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_GP1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_GPL - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_CMB - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_PPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_BRC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_BLC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GPX 0x288e80000 -> /power-management@288e80000/power-controller@0 +/arm-io/pmgr/power-devices/AFR 0x288e80100 -> /power-management@288e80000/power-controller@100 +/arm-io/pmgr/power-devices/GFX 0x288e80110 -> /power-management@288e80000/power-controller@110 +/arm-io/pmgr/power-devices/DEBUG_GATED 0x508300000 -> /power-management@508300000/power-controller@0 +/arm-io/pmgr/power-devices/NUB_SPMI_AHB 0x508300058 -> /power-management@508300000/power-controller@58 +/arm-io/pmgr/power-devices/NUB_SPMI0 0x508300060 -> /power-management@508300000/power-controller@60 +/arm-io/pmgr/power-devices/NUB_SPMI_A0 0x508300068 -> /power-management@508300000/power-controller@68 +/arm-io/pmgr/power-devices/NUB_SPMI_A1 0x508300070 -> /power-management@508300000/power-controller@70 +/arm-io/pmgr/power-devices/NUB_SPMI_A2 0x508300078 -> /power-management@508300000/power-controller@78 +/arm-io/pmgr/power-devices/NUB_SPI0 0x508300080 -> /power-management@508300000/power-controller@80 +/arm-io/pmgr/power-devices/NUB_AON 0x508300088 -> /power-management@508300000/power-controller@88 +/arm-io/pmgr/power-devices/NUB_GPIO 0x508300090 -> /power-management@508300000/power-controller@90 +/arm-io/pmgr/power-devices/NUB_OCLA 0x508300098 -> /power-management@508300000/power-controller@98 +/arm-io/pmgr/power-devices/ATC0_COMMON_DP 0x5083000a0 -> /power-management@508300000/power-controller@a0 +/arm-io/pmgr/power-devices/ATC1_COMMON_DP 0x5083000a8 -> /power-management@508300000/power-controller@a8 +/arm-io/pmgr/power-devices/ATC2_COMMON_DP 0x5083000b0 -> /power-management@508300000/power-controller@b0 +/arm-io/pmgr/power-devices/ATC3_COMMON_DP 0x5083000b8 -> /power-management@508300000/power-controller@b8 +/arm-io/pmgr/power-devices/NUB_SPMI1 0x5083000c0 -> /power-management@508300000/power-controller@c0 +/arm-io/pmgr/power-devices/ATC0_USB_AON 0x5083000c8 -> /power-management@508300000/power-controller@c8 +/arm-io/pmgr/power-devices/ATC1_USB_AON 0x5083000d0 -> /power-management@508300000/power-controller@d0 +/arm-io/pmgr/power-devices/ATC2_USB_AON 0x5083000d8 -> /power-management@508300000/power-controller@d8 +/arm-io/pmgr/power-devices/ATC3_USB_AON 0x5083000e0 -> /power-management@508300000/power-controller@e0 +/arm-io/pmgr/power-devices/NUB_SPMI2 0x5083000e8 -> /power-management@508300000/power-controller@e8 +/arm-io/pmgr/power-devices/NUB_SPMI3 0x5083000f0 -> /power-management@508300000/power-controller@f0 +/arm-io/pmgr/power-devices/NUB_SPMI4 0x5083000f8 -> /power-management@508300000/power-controller@f8 +/arm-io/pmgr/power-devices/NUB_FABRIC 0x508300100 -> /power-management@508300000/power-controller@100 +/arm-io/pmgr/power-devices/NUB_SRAM 0x508300108 -> /power-management@508300000/power-controller@108 +/arm-io/pmgr/power-devices/DEBUG_SWITCH 0x508300110 -> /power-management@508300000/power-controller@110 +/arm-io/pmgr/power-devices/ATC0_USB 0x508300118 -> /power-management@508300000/power-controller@118 +/arm-io/pmgr/power-devices/ATC1_USB 0x508300120 -> /power-management@508300000/power-controller@120 +/arm-io/pmgr/power-devices/ATC2_USB 0x508300140 -> /power-management@508300000/power-controller@140 +/arm-io/pmgr/power-devices/ATC3_USB 0x508300148 -> /power-management@508300000/power-controller@148 +/arm-io/pmgr/power-devices/ATC0_PHYMXWRAP 0x508300150 -> /power-management@508300000/power-controller@150 +/arm-io/pmgr/power-devices/ATC1_PHYMXWRAP 0x508300158 -> /power-management@508300000/power-controller@158 +/arm-io/pmgr/power-devices/ATC2_PHYMXWRAP 0x508300160 -> /power-management@508300000/power-controller@160 +/arm-io/pmgr/power-devices/ATC3_PHYMXWRAP 0x508300168 -> /power-management@508300000/power-controller@168 +/arm-io/pmgr/power-devices/AOP_FILTER - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_GPIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_BASE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_FR - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SHIM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_PIODMA - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_I2CM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_I2CM1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_I2CM2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SCM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPI1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPMI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPMI1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_HE_NRCS0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_HE_NRCS1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_FR - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_P - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_SENSE_PDMC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_BASE_S_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_BASE_NS_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_MCA - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA0_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA1_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA2_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA3_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA4_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA5_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_C - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_S_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_NS_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_RX0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_RX1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_RX2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_RX3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_RX4 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_TX0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PDM0_AUDIO_REF - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PDM1_AUDIO_REF - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FABRIC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_GPIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_AON - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_UART0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_UART1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM4 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM5 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM6 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_PTD - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_FABRIC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_GPIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_BASE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_PERIPH - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_SHIM_PCLK - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_SCM_FABRIC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_SPI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_SPI1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_I2CM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_UART0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_DMA - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPM_NRG - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPM0_NRG - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPM1_NRG - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-USB-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SIO-CPU-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SIO-DART-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC1-USB-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-USB-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC1-USB-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC2-USB-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC3-USB-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/APCIE-SYS-GX-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/APCIE-SYS-STX-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-SGX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-ASC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-BUSY - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE-SYS-V-PMP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE-SYS-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC0-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC0-MEM-FAST - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC0-SYS-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SOC-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG0-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG1-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG1-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR0-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-CORE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SYS-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-MIE-DPB - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-FB-ACTIVE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-CARVE-OUT - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-CPU-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT0-CPU-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT1-CPU-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT2-CPU-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT3-CPU-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CIO0-RECONFIG-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CIO1-RECONFIG-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CIO2-RECONFIG-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CIO3-RECONFIG-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB0-AONPCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB1-AONPCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB2-AONPCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB3-AONPCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO-P-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC0-FAST - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC0-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR0-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR0-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SCODEC-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SCODEC-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1-FAST - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR1-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR1-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SCODEC-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SCODEC-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1-MEM-FAST - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1-SYS-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR1-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR1-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FAB_V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_FAB_V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/EACC0_0_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/EACC0_1_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/EACC0_2_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/EACC0_3_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC0_0_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC0_1_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC0_2_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC0_3_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC0_4_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC0_5_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC1_0_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC1_1_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC1_2_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC1_3_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC1_4_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PACC1_5_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPM0_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPM0_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPM1_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT_RAIL_V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0_USB_AON_V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC1_USB_AON_V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC2_USB_AON_V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC3_USB_AON_V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO-LLT-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/event-log-handler 0x502838000 -> /event-log-handler +/arm-io/sio 0x429e00000 -> /dma-controller@429e00000 +/arm-io/sio/iop-sio-nub - -> /dma-controller@429e00000 +/arm-io/sio/iop-sio-nub/sio-dma - -> /dma-controller@429e00000 +/arm-io/dart-sio 0x429060000 -> /iommu@429060000 +/arm-io/dart-sio/mapper-sio - -> /iommu@429060000 +/arm-io/dart-sio/mapper-aes - -> /iommu@429060000 +/arm-io/pmp 0x500e00000 -> /pmp@500700000 +/arm-io/pmp/iop-pmp-nub - -> /pmp@500700000 +/arm-io/dart-pmp 0x500300000 -> /iommu@500300000 +/arm-io/dart-pmp/mapper-pmp - -> /iommu@500300000 +/arm-io/dart-pmp/mapper-pmp-ptd-fwd - -> /iommu@500300000 +/arm-io/sep 0x406600000 -> /sep@406600000 +/arm-io/sep/iop-sep-nub - -> /sep@406600000 +/arm-io/sep/iop-sep-nub/Ocelot - -> /sep@406600000 +/arm-io/sep/iop-sep-nub/xART - -> /sep@406600000 +/arm-io/sep/iop-sep-nub/InvalidateHmac - -> /sep@406600000 +/arm-io/dart-sep 0x404c80000 -> /iommu@404c80000 +/arm-io/dart-sep/mapper-sep - -> /iommu@404c80000 +/arm-io/ans 0x409600000 -> /nvme@44dcc0000 +/arm-io/ans/iop-ans-nub - -> /nvme@44dcc0000 +/arm-io/ans/ans-pcie - -> WAIVED: Internal coprocessor PCI topology; represented by the ANS controller. +/arm-io/sart-ans 0x40dc50000 -> /sart@40dc50000 +/arm-io/smc 0x50c600000 -> /smc@50c600000 +/arm-io/smc/iop-smc-nub - -> /smc@50c600000 +/arm-io/smc/iop-smc-nub/smc-pmu - -> /smc@50c600000 +/arm-io/smc/iop-smc-nub/smc-charger-util-0 - -> /smc@50c600000 +/arm-io/smc/iop-smc-nub/smc-charger-util-1 - -> /smc@50c600000 +/arm-io/smc/iop-smc-nub/smc-charger-util-2 - -> /smc@50c600000 +/arm-io/smc/iop-smc-nub/smc-charger-util - -> /smc@50c600000 +/arm-io/aon-ptd 0x50cdc0000 -> /soc/aon-ptd@50cdc0000 +/arm-io/pmgrtools - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/arm-io/uart0 0x429200000 -> /serial@429200000 +/arm-io/uart0/debug-console - -> /serial@429200000 +/arm-io/dockchannel-uart 0x50880c000 -> /serial@50883c000 +/arm-io/qspi 0x429118000 -> /spi@429118000 +/arm-io/qspi/spinor /arm-io/qspi@0x0 -> /spi@429118000/flash@0 +/arm-io/qspi/spinor/firmware - -> WAIVED: Firmware flash partition; parent flash hardware is inventoried separately. +/arm-io/qspi/spinor/anvram /arm-io/qspi/spinor@0x700000 -> WAIVED: Firmware NVRAM partition; parent flash hardware is inventoried separately. +/arm-io/qspi/spinor/syscfg /arm-io/qspi/spinor@0x680000 -> WAIVED: Firmware configuration partition; parent flash hardware is inventoried separately. +/arm-io/dp2hdmi-gpio0 - -> /pinctrl@51c000000 +/arm-io/atc-phy0 0x382a90000 -> /phy@382a90000 +/arm-io/dart-usb0 0x382f00000 -> /iommu@382f00000 +/arm-io/dart-usb0/mapper-usb0 - -> /iommu@382f00000 +/arm-io/usb-drd0 0x382280000 -> /usb@382280000 +/arm-io/usb-drd0/usb-drd0-port-hs - -> /usb@382280000/ports/port@0 +/arm-io/usb-drd0/usb-drd0-port-ss - -> /usb@382280000/ports/port@1 +/arm-io/atc-phy1 0x38aa90000 -> /phy@38aa90000 +/arm-io/dart-usb1 0x38af00000 -> /iommu@38af00000 +/arm-io/dart-usb1/mapper-usb1 - -> /iommu@38af00000 +/arm-io/usb-drd1 0x38a280000 -> /usb@38a280000 +/arm-io/usb-drd1/usb-drd1-port-hs - -> /usb@38a280000/ports/port@0 +/arm-io/usb-drd1/usb-drd1-port-ss - -> /usb@38a280000/ports/port@1 +/arm-io/atc-phy2 0x392a90000 -> /phy@392a90000 +/arm-io/dart-usb2 0x392f00000 -> /iommu@392f00000 +/arm-io/dart-usb2/mapper-usb2 - -> /iommu@392f00000 +/arm-io/usb-drd2 0x392280000 -> /usb@392280000 +/arm-io/usb-drd2/usb-drd2-port-hs - -> /usb@392280000/ports/port@0 +/arm-io/usb-drd2/usb-drd2-port-ss - -> /usb@392280000/ports/port@1 +/arm-io/atc-phy3 0x39aa90000 -> /phy@39aa90000 +/arm-io/nub-spmi0 0x509014000 -> /spmi@509014000 +/arm-io/nub-spmi0/spmi-abbeyL1 /arm-io/nub-spmi0@0xe -> /spmi@509014000/pmic@e +/arm-io/nub-spmi0/btm /arm-io/nub-spmi0@0xb -> /spmi@509014000/battery-monitor@b +/arm-io/nub-spmi1 0x509054000 -> /spmi@509054000 +/arm-io/nub-spmi1/spmi-abbeyF1 /arm-io/nub-spmi1@0xe -> /spmi@509054000/pmic@e +/arm-io/nub-spmi2 0x509094000 -> /spmi@509094000 +/arm-io/nub-spmi2/spmi-abbeyF2 /arm-io/nub-spmi2@0xe -> /spmi@509094000/pmic@e +/arm-io/nub-spmi3 0x5090d4000 -> /spmi@5090d4000 +/arm-io/nub-spmi4 0x509114000 -> /spmi@509114000 +/arm-io/nub-spmi-a0 0x509188000 -> /spmi@509188000 +/arm-io/nub-spmi-a0/hpm0 /arm-io/nub-spmi-a0@0xc -> /spmi@509188000/usb-pd@c +/arm-io/nub-spmi-a0/hpm1 /arm-io/nub-spmi-a0@0xa -> /spmi@509188000/usb-pd@a +/arm-io/nub-spmi-a0/hpm5 /arm-io/nub-spmi-a0@0x8 -> /spmi@509188000/usb-pd@8 +/arm-io/nub-spmi-a1 0x509198000 -> /spmi@509198000 +/arm-io/nub-spmi-a1/hpm2 /arm-io/nub-spmi-a1@0xc -> /spmi@509198000/usb-pd@c +/arm-io/aop-spmi0 0x510914000 -> /spmi@510914000 +/arm-io/aop-spmi0/stockholm-spmi /arm-io/aop-spmi0@0x9 -> /spmi@510914000/nfc@9 +/arm-io/aop-spmi0/stockholm-spmi/stockholm - -> WAIVED: NFC firmware service of the parent SPMI device, not another addressed bus device. +/arm-io/aop-spmi0/spmi-wifibt /arm-io/aop-spmi0@0xe -> /spmi@510914000/pmic@e +/arm-io/disp0 0x400000000 -> /dcp@402e00000 +/arm-io/dart-disp0 0x402300000 -> /iommu@402300000 +/arm-io/dart-disp0/mapper-disp0 - -> /iommu@402300000 +/arm-io/dart-disp0/mapper-disp0-piodma - -> /iommu@402300000 +/arm-io/dcp0-expert 0x4023a8050 -> /dcp@402e00000 +/arm-io/dcp 0x402e00000 -> /dcp@402e00000 +/arm-io/dcp/iop-dcp-nub - -> /dcp@402e00000 +/arm-io/dart-dcp 0x402340000 -> /iommu@402340000 +/arm-io/dart-dcp/mapper-dcp - -> /iommu@402340000 +/arm-io/dcp0-sac-controller - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/dp-audio0 - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/dispext0 0x3a0000000 -> /dcp@3a2e00000 +/arm-io/dcpext0-expert 0x3a23a8050 -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/dcpext0 0x3a2e00000 -> /dcp@3a2e00000 +/arm-io/dcpext0/iop-dcpext0-nub - -> /dcp@3a2e00000 +/arm-io/dart-dcpext0 0x3a2340000 -> /iommu@3a2340000 +/arm-io/dart-dcpext0/mapper-dcpext0 - -> /iommu@3a2340000 +/arm-io/dart-dispext0 0x3a2300000 -> /iommu@3a2300000 +/arm-io/dart-dispext0/mapper-dispext0 - -> /iommu@3a2300000 +/arm-io/dart-dispext0/mapper-dispext0-piodma - -> /iommu@3a2300000 +/arm-io/dp-audio1 - -> /audio-controller-1 +/arm-io/dispext1 0x600000000 -> /dcp@602e00000 +/arm-io/dcpext1-expert 0x6023a8050 -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/dcpext1 0x602e00000 -> /dcp@602e00000 +/arm-io/dcpext1/iop-dcpext1-nub - -> /dcp@602e00000 +/arm-io/dart-dcpext1 0x602340000 -> /iommu@602340000 +/arm-io/dart-dcpext1/mapper-dcpext1 - -> /iommu@602340000 +/arm-io/dart-dispext1 0x602300000 -> /iommu@602300000 +/arm-io/dart-dispext1/mapper-dispext1 - -> /iommu@602300000 +/arm-io/dart-dispext1/mapper-dispext1-piodma - -> /iommu@602300000 +/arm-io/dp-audio2 - -> /audio-controller-2 +/arm-io/dp-audio3 - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/dp-audio4 - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/scaler0 0x521000000 -> /soc/scaler@521000000 +/arm-io/dart-scaler0 0x521260000 -> /iommu@521260000 +/arm-io/dart-scaler0/mapper-scaler0 - -> /iommu@521260000 +/arm-io/dart-scaler0/mapper-scaler-piodma0 - -> /iommu@521260000 +/arm-io/ave0 0x283100000 -> /video-codec@283100000 +/arm-io/dart-ave0 0x2830a0000 -> /iommu@2830a0000 +/arm-io/dart-ave0/mapper-ave0 - -> /iommu@2830a0000 +/arm-io/apr0 0x301000000 -> /soc/video-codec@301000000 +/arm-io/dart-apr0 0x301020000 -> /iommu@301020000 +/arm-io/dart-apr0/mapper-apr0 - -> /iommu@301020000 +/arm-io/jpeg0 0x487000000 -> /jpeg@487000000 +/arm-io/dart-jpeg0 0x487020000 -> /iommu@487020000 +/arm-io/dart-jpeg0/mapper-jpeg0 - -> /iommu@487020000 +/arm-io/jpeg1 0x487060000 -> /jpeg@487060000 +/arm-io/dart-jpeg1 0x487080000 -> /iommu@487080000 +/arm-io/dart-jpeg1/mapper-jpeg1 - -> /iommu@487080000 +/arm-io/ane0 0x484000000 -> /ane@484000000 +/arm-io/dart-ane0 0x485800000 -> /iommu@485800000 +/arm-io/dart-ane0/mapper-ane0 - -> /iommu@485800000 +/arm-io/dart-ane0/mapper-ane0-mpm - -> /iommu@485800000 +/arm-io/avd0 0x280000000 -> /avd@280000000 +/arm-io/dart-avd0 0x281020000 -> /iommu@281020000 +/arm-io/dart-avd0/mapper-avd0 - -> /iommu@281020000 +/arm-io/dart-avd0/mapper-avd0-piodma - -> /iommu@281020000 +/arm-io/dart-avd0/mapper-avd0-adsbuf - -> /iommu@281020000 +/arm-io/sgx 0x288000000 -> /gpu@288000000 +/arm-io/gfx-asc 0x28a600000 -> /gpu@288000000 +/arm-io/gfx-asc/iop-gfx-nub0 - -> /gpu@288000000 +/arm-io/mapper-gfx-asc - -> WAIVED: GPU firmware IOMMU stream; represented by the GPU IOMMU relationship. +/arm-io/sapt - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/arm-io/iop-audio-controller - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-codec-input - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-codec-input/audio-codec-input - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-codec-output - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-codec-output/audio-codec-output - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-hp - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-hp/audio-hp-mic - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-leap-internal-loopback - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-leap-internal-loopback/audio-leap-internal-loopback - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-mca-loopback - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-mca-loopback/audio-mca-loopback - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-speaker - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/audio-speaker/audio-speaker - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/lp-mic-device - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/lp-mic-io-buffer-device - -> /soc/clock-controller@502800000 +/arm-io/iop-audio-controller/siri-listening-device - -> /soc/clock-controller@502800000 +/arm-io/admac-base-ns 0x513800000 -> /dma-controller@513800000 +/arm-io/admac-leap-ns 0x513300000 -> /dma-controller@513300000 +/arm-io/smctempsensor0 - -> /smc@50c600000/hwmon +/arm-io/cpu-debug-interface - -> /cpus +/arm-io/dbgCPU 0x508700000 -> /soc/cpu-debug@508700000 +/arm-io/nub-swd0 - -> /soc/cpu-debug@508700000 +/arm-io/pwm1 0x429040000 -> /pwm@429040000 +/arm-io/timesync - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/arm-io/fillmore - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/arm-io/apple-processor-trace - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/cpu-debug-interface~2 - -> /cpus +/buttons - -> WAIVED: Button collection container; child devices are inventoried separately. +/port-usb-c-1 - -> /spmi@509188000/usb-pd@c/connector +/port-usb-c-2 - -> /spmi@509188000/usb-pd@a/connector +/port-usb-c-3 - -> /spmi@509198000/usb-pd@c/connector +/port-hdmi0 - -> WAIVED: Logical DCP output interface; display controllers and their routes are inventoried separately. +/port-t818-1 - -> WAIVED: Firmware accessory-port relationship of the SMC; no independently addressed bus or MMIO device. +/backlight - -> /dcp@402e00000 +/backlight/twodbl - -> /dcp@402e00000 +/pcie-sdreader-helper - -> WAIVED: Firmware SD-card policy helper; PCIe reader hardware is inventoried separately. +/sacm - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. diff --git a/arch/arm64/boot/dts/apple/adt-coverage/t8112-j413.txt b/arch/arm64/boot/dts/apple/adt-coverage/t8112-j413.txt new file mode 100644 index 0000000000000..8f679d077a214 --- /dev/null +++ b/arch/arm64/boot/dts/apple/adt-coverage/t8112-j413.txt @@ -0,0 +1,616 @@ +# SPDX-License-Identifier: GPL-2.0-only +# Device name, address and DT path only; - means no usable reg address. +/cpus - -> /cpus +/cpus/cpu0 /cpus@0x0 -> /cpus/cpu@0 +/cpus/cpu1 /cpus@0x1 -> /cpus/cpu@1 +/cpus/cpu2 /cpus@0x2 -> /cpus/cpu@2 +/cpus/cpu3 /cpus@0x3 -> /cpus/cpu@3 +/cpus/cpu4 /cpus@0x100 -> /cpus/cpu@10100 +/cpus/cpu5 /cpus@0x101 -> /cpus/cpu@10101 +/cpus/cpu6 /cpus@0x102 -> /cpus/cpu@10102 +/cpus/cpu7 /cpus@0x103 -> /cpus/cpu@10103 +/arm-io 0x210f00000 -> WAIVED: ADT SoC bus container; child hardware is inventoried separately. +/arm-io/spi2 0x235108000 -> /soc/spi@235108000 +/arm-io/spi2/mesa /arm-io/spi2@0x0 -> /soc/spi@235108000/fingerprint@0 +/arm-io/spi4 0x235110000 -> /soc/spi@235110000 +/arm-io/spi4/dp855 /arm-io/spi4@0x0 -> /soc/spi@235110000/panel-timing-controller@0 +/arm-io/spi4/dp855/lcd-pmicwp /arm-io/spi4/dp855@0x4f -> WAIVED: Firmware write-protection view of the panel power-management interface mediated by DP855; not an independent host bus device. +/arm-io/spi4/dp855/lcd-pmic /arm-io/spi4/dp855@0x74 -> WAIVED: Firmware panel power-management register-access view mediated by DP855; its address is internal to the TCON transport. +/arm-io/spi4/dp855/lcd-sswp /arm-io/spi4/dp855@0x71 -> WAIVED: Firmware write-protection view of the panel source-driver interface mediated by DP855; not an independent host bus device. +/arm-io/spi4/dp855/lcd-ss /arm-io/spi4/dp855@0x40 -> WAIVED: Firmware panel source-driver register-access view mediated by DP855; its address is internal to the TCON transport. +/arm-io/spi4/dp855/tcon-registers /arm-io/spi4/dp855@0x0 -> WAIVED: Firmware register-access view of the DP855 itself; the panel timing controller represents this hardware. +/arm-io/spi4/dp855/lcd-eeprom /arm-io/spi4/dp855@0x0 -> WAIVED: Firmware view of panel nonvolatile storage mediated by DP855; no independently addressed host bus endpoint. +/arm-io/i2c1 0x235014000 -> /soc/i2c@235014000 +/arm-io/i2c1/audio-speaker /arm-io/i2c1@0x38 -> /soc/i2c@235014000/codec@38 +/arm-io/i2c1/audio-speaker-left-tweeter /arm-io/i2c1@0x39 -> /soc/i2c@235014000/codec@39 +/arm-io/i2c2 0x235018000 -> /soc/i2c@235018000 +/arm-io/i2c2/atcrt0 /arm-io/i2c2@0x18 -> /soc/i2c@235018000/retimer@18 +/arm-io/i2c2/atcrt1 /arm-io/i2c2@0x19 -> /soc/i2c@235018000/retimer@19 +/arm-io/i2c3 0x23501c000 -> /soc/i2c@23501c000 +/arm-io/i2c3/audio-speaker-right-woofer /arm-io/i2c3@0x3b -> /soc/i2c@23501c000/codec@3b +/arm-io/i2c3/audio-speaker-right-tweeter /arm-io/i2c3@0x3c -> /soc/i2c@23501c000/codec@3c +/arm-io/i2c3/audio-codec-output /arm-io/i2c3@0x4b -> /soc/i2c@23501c000/codec@4b +/arm-io/i2c4 0x235020000 -> /soc/i2c@235020000 +/arm-io/i2c4/avellino-pre /arm-io/i2c4@0x77 -> /soc/i2c@235020000/avellino@77 +/arm-io/i2c4/avellino-post /arm-io/i2c4@0x44 -> /soc/i2c@235020000/avellino@44 +/arm-io/fpwm1 0x235044000 -> /soc/pwm@235044000 +/arm-io/fpwm1/kbd-backlight - -> /led-controller +/arm-io/alc0 - -> /soc/aop@24ac00000 +/arm-io/alc0/audio-leap-mic - -> /soc/aop@24ac00000 +/arm-io/wlan - -> /soc/pcie@690000000/pci@0,0/wifi@0,0 +/arm-io/bluetooth - -> /soc/pcie@690000000/pci@0,0/bluetooth@0,1 +/arm-io/apcie 0x690000000 -> /soc/pcie@690000000 +/arm-io/apcie/pci-bridge0 - -> /soc/pcie@690000000/pci@0,0 +/arm-io/apcie/pci-bridge0/wlan - -> /soc/pcie@690000000/pci@0,0/wifi@0,0 +/arm-io/apcie/pci-bridge0/bluetooth-pcie - -> /soc/pcie@690000000/pci@0,0/bluetooth@0,1 +/arm-io/dart-apcie0 0x681008000 -> /soc/iommu@681008000 +/arm-io/dart-apcie0/mapper-apcie0-wlan - -> /soc/iommu@681008000 +/arm-io/dart-apcie0/mapper-apcie0-bt - -> /soc/iommu@681008000 +/arm-io/apciec0 0x3b0000000 -> /soc/usb4-pcie-tunnel-0/pcie@3b0000000 +/arm-io/apciec0/pcic0-bridge - -> /soc/usb4-pcie-tunnel-0/pcie@3b0000000/pci@0,0 +/arm-io/dart-apciec0 0x3a1008000 -> /soc/usb4-pcie-tunnel-0/iommu@3a1008000 +/arm-io/dart-apciec0/mapper-pciec0-piodma - -> /soc/usb4-pcie-tunnel-0/iommu@3a1008000 +/arm-io/apciec0-piodma 0x3a2000000 -> /soc/dma-controller@3a2000000 +/arm-io/acio0 0x381f00000 -> /soc/cio@381ac0000/nhi@f00000 +/arm-io/dart-acio0 0x381a80000 -> /soc/cio@381ac0000/iommu@a80000 +/arm-io/dart-acio0/mapper-acio0 - -> /soc/cio@381ac0000/iommu@a80000 +/arm-io/acio-cpu0 0x381108000 -> /soc/mailbox@381108000 +/arm-io/acio-cpu0/iop-acio0-nub - -> /soc/mailbox@381108000 +/arm-io/apciec1 0x530000000 -> /soc/usb4-pcie-tunnel-1/pcie@530000000 +/arm-io/apciec1/pcic1-bridge - -> /soc/usb4-pcie-tunnel-1/pcie@530000000/pci@0,0 +/arm-io/dart-apciec1 0x521008000 -> /soc/usb4-pcie-tunnel-1/iommu@521008000 +/arm-io/dart-apciec1/mapper-pciec1-piodma - -> /soc/usb4-pcie-tunnel-1/iommu@521008000 +/arm-io/apciec1-piodma 0x522000000 -> /soc/dma-controller@522000000 +/arm-io/acio1 0x501f00000 -> /soc/cio@501ac0000/nhi@f00000 +/arm-io/dart-acio1 0x501a80000 -> /soc/cio@501ac0000/iommu@a80000 +/arm-io/dart-acio1/mapper-acio1 - -> /soc/cio@501ac0000/iommu@a80000 +/arm-io/acio-cpu1 0x501108000 -> /soc/mailbox@501108000 +/arm-io/acio-cpu1/iop-acio1-nub - -> /soc/mailbox@501108000 +/arm-io/display-crossbar0 - -> /soc/dcp@231c00000 +/arm-io/atc0-dpxbar 0x38304c000 -> /soc/mux@38304c000 +/arm-io/atc0-dpphy - -> /soc/phy@383000000 +/arm-io/atc0-dpin0 0x381e50000 -> /soc/displayport-input@381e50000 +/arm-io/atc0-dpin1 0x381e58000 -> /soc/displayport-input@381e58000 +/arm-io/atc1-dpxbar 0x50304c000 -> /soc/mux@50304c000 +/arm-io/atc1-dpphy - -> /soc/phy@503000000 +/arm-io/atc1-dpin0 0x501e50000 -> /soc/displayport-input@501e50000 +/arm-io/atc1-dpin1 0x501e58000 -> /soc/displayport-input@501e58000 +/arm-io/mcc 0x200100000 -> /soc/memory-controller@200100000 +/arm-io/aic 0x23b0c0000 -> /soc/interrupt-controller@23b0c0000 +/arm-io/aic-timebase 0x23b0dc000 -> /soc/timer@23b0dc000 +/arm-io/wdt 0x23d2b0000 -> /soc/watchdog@23d2b0000 +/arm-io/error-handler 0x200100000 -> /soc/error-handler@200100000 +/arm-io/dwi 0x23b200000 -> /soc/dwi@23b200000 +/arm-io/pwm 0x235040000 -> /soc/pwm@235040000 +/arm-io/aes 0x23500c000 -> /soc/aes@23500c000 +/arm-io/gpio 0x23c100000 -> /soc/pinctrl@23c100000 +/arm-io/aop-gpio 0x24a820000 -> /soc/pinctrl@24a820000 +/arm-io/nub-gpio 0x23d1f0000 -> /soc/pinctrl@23d1f0000 +/arm-io/smc-gpio 0x23e820000 -> /soc/pinctrl@23e820000 +/arm-io/aop 0x24a400000 -> /soc/aop@24ac00000 +/arm-io/aop/iop-aop-nub - -> /soc/aop@24ac00000 +/arm-io/aop/iop-aop-nub/accel - -> /soc/aop@24ac00000/accel +/arm-io/aop/iop-aop-nub/gyro - -> /soc/aop@24ac00000/gyro +/arm-io/aop/iop-aop-nub/aop-audio - -> /soc/aop@24ac00000 +/arm-io/aop/iop-aop-nub/aop-audio/audio-pdm2 - -> /soc/aop@24ac00000 +/arm-io/aop/iop-aop-nub/aop-audio/dc-800000 - -> /soc/aop@24ac00000 +/arm-io/aop/iop-aop-nub/aop-audio/dc-2400000 - -> /soc/aop@24ac00000 +/arm-io/aop/iop-aop-nub/aop-audio/audio-hp - -> /soc/aop@24ac00000 +/arm-io/aop/iop-aop-nub/aop-audio/audio-lp-mic-in - -> /soc/aop@24ac00000 +/arm-io/dart-aop 0x24a808000 -> /soc/iommu@24a808000 +/arm-io/dart-aop/mapper-aop - -> /soc/iommu@24a808000 +/arm-io/dart-aop/mapper-aop-admac - -> /soc/iommu@24a808000 +/arm-io/dart-aop/mapper-scm - -> /soc/iommu@24a808000 +/arm-io/pmgr 0x23b700000 -> /soc/power-management@23b700000 +/arm-io/pmgr/clpc - -> WAIVED: Firmware performance policy; PMGR and PMP hardware are inventoried separately. +/arm-io/pmgr/soc-tuner - -> WAIVED: Firmware tuning policy; not an independent hardware block. +/arm-io/pmgr/ppm - -> WAIVED: Firmware power policy; PMGR and PMP hardware are inventoried separately. +/arm-io/pmgr/power-devices - -> WAIVED: ADT power-device collection container; individual power-state records are checked separately. +/arm-io/pmgr/power-devices/ECPU0 0x23b700000 -> /soc/power-management@23b700000/power-controller@0 +/arm-io/pmgr/power-devices/ECPU1 0x23b700008 -> /soc/power-management@23b700000/power-controller@8 +/arm-io/pmgr/power-devices/ECPU2 0x23b700010 -> /soc/power-management@23b700000/power-controller@10 +/arm-io/pmgr/power-devices/ECPU3 0x23b700018 -> /soc/power-management@23b700000/power-controller@18 +/arm-io/pmgr/power-devices/PCPU0 0x23b700020 -> /soc/power-management@23b700000/power-controller@20 +/arm-io/pmgr/power-devices/PCPU1 0x23b700028 -> /soc/power-management@23b700000/power-controller@28 +/arm-io/pmgr/power-devices/PCPU2 0x23b700030 -> /soc/power-management@23b700000/power-controller@30 +/arm-io/pmgr/power-devices/PCPU3 0x23b700038 -> /soc/power-management@23b700000/power-controller@38 +/arm-io/pmgr/power-devices/ECPM 0x23b700040 -> /soc/power-management@23b700000/power-controller@40 +/arm-io/pmgr/power-devices/PCPM 0x23b700048 -> /soc/power-management@23b700000/power-controller@48 +/arm-io/pmgr/power-devices/SBR 0x23b700100 -> /soc/power-management@23b700000/power-controller@100 +/arm-io/pmgr/power-devices/AIC 0x23b700108 -> /soc/power-management@23b700000/power-controller@108 +/arm-io/pmgr/power-devices/DWI 0x23b700110 -> /soc/power-management@23b700000/power-controller@110 +/arm-io/pmgr/power-devices/SOC_SPMI0 0x23b700118 -> /soc/power-management@23b700000/power-controller@118 +/arm-io/pmgr/power-devices/GPIO 0x23b700120 -> /soc/power-management@23b700000/power-controller@120 +/arm-io/pmgr/power-devices/PMS_BUSIF 0x23b700128 -> /soc/power-management@23b700000/power-controller@128 +/arm-io/pmgr/power-devices/PMS 0x23b700130 -> /soc/power-management@23b700000/power-controller@130 +/arm-io/pmgr/power-devices/PMS_FPWM0 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/PMS_FPWM1 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/PMS_FPWM2 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/PMS_FPWM3 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/PMS_FPWM4 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/PMS_C1PPT 0x23b700160 -> /soc/power-management@23b700000/power-controller@160 +/arm-io/pmgr/power-devices/SOC_DPE 0x23b700168 -> /soc/power-management@23b700000/power-controller@168 +/arm-io/pmgr/power-devices/PMGR_SOC_OCLA 0x23b700170 -> /soc/power-management@23b700000/power-controller@170 +/arm-io/pmgr/power-devices/ISPSENS0 0x23b700178 -> /soc/power-management@23b700000/power-controller@178 +/arm-io/pmgr/power-devices/ISPSENS1 0x23b700180 -> /soc/power-management@23b700000/power-controller@180 +/arm-io/pmgr/power-devices/ISPSENS2 0x23b700188 -> /soc/power-management@23b700000/power-controller@188 +/arm-io/pmgr/power-devices/ISPSENS3 0x23b700190 -> /soc/power-management@23b700000/power-controller@190 +/arm-io/pmgr/power-devices/PCIE_REF 0x23b700198 -> /soc/power-management@23b700000/power-controller@198 +/arm-io/pmgr/power-devices/AFT0 0x23b7001a0 -> /soc/power-management@23b700000/power-controller@1a0 +/arm-io/pmgr/power-devices/IMX 0x23b7001a8 -> /soc/power-management@23b700000/power-controller@1a8 +/arm-io/pmgr/power-devices/SIO_BUSIF 0x23b7001b0 -> /soc/power-management@23b700000/power-controller@1b0 +/arm-io/pmgr/power-devices/SIO 0x23b7001b8 -> /soc/power-management@23b700000/power-controller@1b8 +/arm-io/pmgr/power-devices/SIO_CPU 0x23b7001c0 -> /soc/power-management@23b700000/power-controller@1c0 +/arm-io/pmgr/power-devices/FPWM0 0x23b7001c8 -> /soc/power-management@23b700000/power-controller@1c8 +/arm-io/pmgr/power-devices/FPWM1 0x23b7001d0 -> /soc/power-management@23b700000/power-controller@1d0 +/arm-io/pmgr/power-devices/FPWM2 0x23b7001d8 -> /soc/power-management@23b700000/power-controller@1d8 +/arm-io/pmgr/power-devices/I2C0 0x23b7001e0 -> /soc/power-management@23b700000/power-controller@1e0 +/arm-io/pmgr/power-devices/I2C1 0x23b7001e8 -> /soc/power-management@23b700000/power-controller@1e8 +/arm-io/pmgr/power-devices/I2C2 0x23b7001f0 -> /soc/power-management@23b700000/power-controller@1f0 +/arm-io/pmgr/power-devices/I2C3 0x23b7001f8 -> /soc/power-management@23b700000/power-controller@1f8 +/arm-io/pmgr/power-devices/I2C4 0x23b700200 -> /soc/power-management@23b700000/power-controller@200 +/arm-io/pmgr/power-devices/SPI_P 0x23b700208 -> /soc/power-management@23b700000/power-controller@208 +/arm-io/pmgr/power-devices/UART_P 0x23b700210 -> /soc/power-management@23b700000/power-controller@210 +/arm-io/pmgr/power-devices/AUDIO_P 0x23b700218 -> /soc/power-management@23b700000/power-controller@218 +/arm-io/pmgr/power-devices/AES 0x23b700220 -> /soc/power-management@23b700000/power-controller@220 +/arm-io/pmgr/power-devices/SPI0 0x23b700228 -> /soc/power-management@23b700000/power-controller@228 +/arm-io/pmgr/power-devices/SPI1 0x23b700230 -> /soc/power-management@23b700000/power-controller@230 +/arm-io/pmgr/power-devices/SPI2 0x23b700238 -> /soc/power-management@23b700000/power-controller@238 +/arm-io/pmgr/power-devices/SPI3 0x23b700240 -> /soc/power-management@23b700000/power-controller@240 +/arm-io/pmgr/power-devices/SPI4 0x23b700248 -> /soc/power-management@23b700000/power-controller@248 +/arm-io/pmgr/power-devices/SPI5 0x23b700250 -> /soc/power-management@23b700000/power-controller@250 +/arm-io/pmgr/power-devices/UART_N 0x23b700258 -> /soc/power-management@23b700000/power-controller@258 +/arm-io/pmgr/power-devices/UART0 0x23b700260 -> /soc/power-management@23b700000/power-controller@260 +/arm-io/pmgr/power-devices/UART1 0x23b700268 -> /soc/power-management@23b700000/power-controller@268 +/arm-io/pmgr/power-devices/UART2 0x23b700270 -> /soc/power-management@23b700000/power-controller@270 +/arm-io/pmgr/power-devices/UART3 0x23b700278 -> /soc/power-management@23b700000/power-controller@278 +/arm-io/pmgr/power-devices/UART4 0x23b700280 -> /soc/power-management@23b700000/power-controller@280 +/arm-io/pmgr/power-devices/UART5 0x23b700288 -> /soc/power-management@23b700000/power-controller@288 +/arm-io/pmgr/power-devices/UART6 0x23b700290 -> /soc/power-management@23b700000/power-controller@290 +/arm-io/pmgr/power-devices/UART7 0x23b700298 -> /soc/power-management@23b700000/power-controller@298 +/arm-io/pmgr/power-devices/UART8 0x23b7002a0 -> /soc/power-management@23b700000/power-controller@2a0 +/arm-io/pmgr/power-devices/SIO_ADMA 0x23b7002a8 -> /soc/power-management@23b700000/power-controller@2a8 +/arm-io/pmgr/power-devices/DPA0 0x23b7002b0 -> /soc/power-management@23b700000/power-controller@2b0 +/arm-io/pmgr/power-devices/DPA1 0x23b7002b8 -> /soc/power-management@23b700000/power-controller@2b8 +/arm-io/pmgr/power-devices/MCA0 0x23b7002c0 -> /soc/power-management@23b700000/power-controller@2c0 +/arm-io/pmgr/power-devices/MCA1 0x23b7002c8 -> /soc/power-management@23b700000/power-controller@2c8 +/arm-io/pmgr/power-devices/MCA2 0x23b7002d0 -> /soc/power-management@23b700000/power-controller@2d0 +/arm-io/pmgr/power-devices/MCA3 0x23b7002d8 -> /soc/power-management@23b700000/power-controller@2d8 +/arm-io/pmgr/power-devices/MCA4 0x23b7002e0 -> /soc/power-management@23b700000/power-controller@2e0 +/arm-io/pmgr/power-devices/MCA5 0x23b7002e8 -> /soc/power-management@23b700000/power-controller@2e8 +/arm-io/pmgr/power-devices/MCC 0x23b7002f0 -> /soc/power-management@23b700000/power-controller@2f0 +/arm-io/pmgr/power-devices/DCS0 0x23b7002f8 -> /soc/power-management@23b700000/power-controller@2f8 +/arm-io/pmgr/power-devices/DCS2 0x23b700300 -> /soc/power-management@23b700000/power-controller@300 +/arm-io/pmgr/power-devices/DCS1 0x23b700308 -> /soc/power-management@23b700000/power-controller@308 +/arm-io/pmgr/power-devices/DCS3 0x23b700310 -> /soc/power-management@23b700000/power-controller@310 +/arm-io/pmgr/power-devices/DCS4 0x23b700318 -> /soc/power-management@23b700000/power-controller@318 +/arm-io/pmgr/power-devices/DCS5 0x23b700320 -> /soc/power-management@23b700000/power-controller@320 +/arm-io/pmgr/power-devices/DCS6 0x23b700328 -> /soc/power-management@23b700000/power-controller@328 +/arm-io/pmgr/power-devices/DCS7 0x23b700330 -> /soc/power-management@23b700000/power-controller@330 +/arm-io/pmgr/power-devices/SMX0 0x23b700338 -> /soc/power-management@23b700000/power-controller@338 +/arm-io/pmgr/power-devices/SMX1 0x23b700340 -> /soc/power-management@23b700000/power-controller@340 +/arm-io/pmgr/power-devices/APCIE 0x23b700348 -> /soc/power-management@23b700000/power-controller@348 +/arm-io/pmgr/power-devices/RMX0 0x23b700350 -> /soc/power-management@23b700000/power-controller@350 +/arm-io/pmgr/power-devices/RMX1 0x23b700358 -> /soc/power-management@23b700000/power-controller@358 +/arm-io/pmgr/power-devices/CMX 0x23b700360 -> /soc/power-management@23b700000/power-controller@360 +/arm-io/pmgr/power-devices/MMX 0x23b700368 -> /soc/power-management@23b700000/power-controller@368 +/arm-io/pmgr/power-devices/DISP0_SYS 0x23b700370 -> /soc/power-management@23b700000/power-controller@370 +/arm-io/pmgr/power-devices/DISP0_FE 0x23b700378 -> /soc/power-management@23b700000/power-controller@378 +/arm-io/pmgr/power-devices/DISPEXT_SYS 0x23b700380 -> /soc/power-management@23b700000/power-controller@380 +/arm-io/pmgr/power-devices/DISPEXT_FE 0x23b700388 -> /soc/power-management@23b700000/power-controller@388 +/arm-io/pmgr/power-devices/DISPEXT_BE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT_GP0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT_GP1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT_GP2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT_PPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DPEXT - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT_DSC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT_CPU0 0x23b7003c8 -> /soc/power-management@23b700000/power-controller@3c8 +/arm-io/pmgr/power-devices/DPTX_PHY - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DPTX_EXT_PHY 0x23b7003d8 -> /soc/power-management@23b700000/power-controller@3d8 +/arm-io/pmgr/power-devices/DISPDFR_FE 0x23b7003e0 -> /soc/power-management@23b700000/power-controller@3e0 +/arm-io/pmgr/power-devices/DISPDFR_BE 0x23b7003e8 -> /soc/power-management@23b700000/power-controller@3e8 +/arm-io/pmgr/power-devices/MIPI_DSI 0x23b7003f0 -> /soc/power-management@23b700000/power-controller@3f0 +/arm-io/pmgr/power-devices/JPG 0x23b7003f8 -> /soc/power-management@23b700000/power-controller@3f8 +/arm-io/pmgr/power-devices/APCIE_GP 0x23b700400 -> /soc/power-management@23b700000/power-controller@400 +/arm-io/pmgr/power-devices/MSR 0x23b700408 -> /soc/power-management@23b700000/power-controller@408 +/arm-io/pmgr/power-devices/PMP 0x23b700410 -> /soc/power-management@23b700000/power-controller@410 +/arm-io/pmgr/power-devices/PMS_SRAM 0x23b700418 -> /soc/power-management@23b700000/power-controller@418 +/arm-io/pmgr/power-devices/MSR_ASE_CORE 0x23b700420 -> /soc/power-management@23b700000/power-controller@420 +/arm-io/pmgr/power-devices/ANS 0x23b700428 -> /soc/power-management@23b700000/power-controller@428 +/arm-io/pmgr/power-devices/GFX 0x23b700430 -> /soc/power-management@23b700000/power-controller@430 +/arm-io/pmgr/power-devices/ISP_SYS 0x23b700438 -> /soc/power-management@23b700000/power-controller@438 +/arm-io/pmgr/power-devices/VENC_SYS 0x23b700440 -> /soc/power-management@23b700000/power-controller@440 +/arm-io/pmgr/power-devices/AVD_SYS 0x23b700448 -> /soc/power-management@23b700000/power-controller@448 +/arm-io/pmgr/power-devices/APCIE_ST 0x23b700450 -> /soc/power-management@23b700000/power-controller@450 +/arm-io/pmgr/power-devices/ATC0_COMMON 0x23b700458 -> /soc/power-management@23b700000/power-controller@458 +/arm-io/pmgr/power-devices/ATC0_PCIE 0x23b700460 -> /soc/power-management@23b700000/power-controller@460 +/arm-io/pmgr/power-devices/ATC0_CIO 0x23b700468 -> /soc/power-management@23b700000/power-controller@468 +/arm-io/pmgr/power-devices/ATC0_CIO_PCIE 0x23b700470 -> /soc/power-management@23b700000/power-controller@470 +/arm-io/pmgr/power-devices/ATC0_CIO_USB 0x23b700478 -> /soc/power-management@23b700000/power-controller@478 +/arm-io/pmgr/power-devices/ATC1_COMMON 0x23b700480 -> /soc/power-management@23b700000/power-controller@480 +/arm-io/pmgr/power-devices/ATC1_PCIE 0x23b700488 -> /soc/power-management@23b700000/power-controller@488 +/arm-io/pmgr/power-devices/ATC1_CIO 0x23b700490 -> /soc/power-management@23b700000/power-controller@490 +/arm-io/pmgr/power-devices/ATC1_CIO_PCIE 0x23b700498 -> /soc/power-management@23b700000/power-controller@498 +/arm-io/pmgr/power-devices/ATC1_CIO_USB 0x23b7004a0 -> /soc/power-management@23b700000/power-controller@4a0 +/arm-io/pmgr/power-devices/ANE_SYS 0x23b7004a8 -> /soc/power-management@23b700000/power-controller@4a8 +/arm-io/pmgr/power-devices/SCODEC 0x23b7004b0 -> /soc/power-management@23b700000/power-controller@4b0 +/arm-io/pmgr/power-devices/SEP 0x23b700c00 -> /soc/power-management@23b700000/power-controller@c00 +/arm-io/pmgr/power-devices/SEP_EISP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_CPU_CORE0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_CPU_CORE1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC_DMA 0x23b708000 -> /soc/power-management@23b700000/power-controller@8000 +/arm-io/pmgr/power-devices/VENC_PIPE4 0x23b708008 -> /soc/power-management@23b700000/power-controller@8008 +/arm-io/pmgr/power-devices/VENC_PIPE5 0x23b708010 -> /soc/power-management@23b700000/power-controller@8010 +/arm-io/pmgr/power-devices/VENC_ME0 0x23b708018 -> /soc/power-management@23b700000/power-controller@8018 +/arm-io/pmgr/power-devices/VENC_ME1 0x23b708020 -> /soc/power-management@23b700000/power-controller@8020 +/arm-io/pmgr/power-devices/ANE_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_CPU0 0x23b710000 -> /soc/power-management@23b700000/power-controller@10000 +/arm-io/pmgr/power-devices/DISP0_BE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_SPI - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_SPMI - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_GP0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_GP1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_GP2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_PPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_BRC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP0_BLC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DEBUG_GATED 0x23d280058 -> /soc/power-management@23d280000/power-controller@58 +/arm-io/pmgr/power-devices/NUB_SPMI0 0x23d280060 -> /soc/power-management@23d280000/power-controller@60 +/arm-io/pmgr/power-devices/NUB_SPMI1 0x23d280068 -> /soc/power-management@23d280000/power-controller@68 +/arm-io/pmgr/power-devices/NUB_AON 0x23d280070 -> /soc/power-management@23d280000/power-controller@70 +/arm-io/pmgr/power-devices/MSG 0x23d280078 -> /soc/power-management@23d280000/power-controller@78 +/arm-io/pmgr/power-devices/NUB_GPIO 0x23d280080 -> /soc/power-management@23d280000/power-controller@80 +/arm-io/pmgr/power-devices/ATC0_USB_AON 0x23d280088 -> /soc/power-management@23d280000/power-controller@88 +/arm-io/pmgr/power-devices/ATC1_USB_AON 0x23d280090 -> /soc/power-management@23d280000/power-controller@90 +/arm-io/pmgr/power-devices/ATC0_USB 0x23d280098 -> /soc/power-management@23d280000/power-controller@98 +/arm-io/pmgr/power-devices/ATC1_USB 0x23d2800a0 -> /soc/power-management@23d280000/power-controller@a0 +/arm-io/pmgr/power-devices/NUB_FABRIC 0x23d2800a8 -> /soc/power-management@23d280000/power-controller@a8 +/arm-io/pmgr/power-devices/NUB_SRAM 0x23d2800b0 -> /soc/power-management@23d280000/power-controller@b0 +/arm-io/pmgr/power-devices/DEBUG_SWITCH 0x23d2800b8 -> /soc/power-management@23d280000/power-controller@b8 +/arm-io/pmgr/power-devices/AOP_FILTER - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_GPIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_BASE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_FR - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_LEAP_CLK - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SHIM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_ADMA0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_PIODMA - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_I2CM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_I2CM1 - -> WAIVED: Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +/arm-io/pmgr/power-devices/AOP_I2CM2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SCM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPI1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPMI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPMI1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_LEAP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_AUDIO_SHIM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_AUDIO_ADMA0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_MCA0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_MCA1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_MCA2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_MCA3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_MCA4 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_MCA5 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_PDMC_LPD - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_PDM0_REF - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_PDM1_REF - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FABRIC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_GPIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_AON - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_UART0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_UART1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM4 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_FABRIC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_GPIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_BASE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_PERIPH - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_UART0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_SCM_FABRIC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_SPI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_I2CM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_DMA - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPU_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CPU-BUSY - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPM_NRG - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPM_NRG - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-SGX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-BUSY - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-ASC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU0_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU1_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU2_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU3_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPU0_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPU1_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPU2_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPU3_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-AVE-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-MEM-FAST - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-AVE-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CLPC-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CLPC-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CLPC-DCS-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CLPC-DCS-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SDEC-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SDEC-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DP-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SIO-CPU-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/USB-AUDIO-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG1-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SEP-PEARL-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO-P-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-USB-AUD-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC1-USB-AUD-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0_PCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC1_PCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO-LLT-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-MIE-DPB - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-FB-ACTIVE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-CARVE-OUT - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DCP0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DCPEXT0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPDFR-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VDD_CIO-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/FR_SCALING-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CIO0_RECONFIG-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CIO1_RECONFIG-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DFR-MIE-DPB - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DFR-FB-ACTIVE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DFR-CARVE-OUT - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB0_AONUSB-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB1_AONUSB-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB0_AONPCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB1_AONPCIE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PRORES_VNOM-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PRORES_VMAX-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SCDC_VNOM-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SCDC_VMAX-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DP0_VMAX-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DP1_VMAX-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-USB-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC1-USB-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SIO-CPU-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SYS-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE-SYS-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG0-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SYS-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG1-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-domains - -> WAIVED: ADT power-domain collection container; individual domains require review. +/arm-io/pmgr/power-domains/MCC - -> /soc/power-management@23b700000/power-controller@2f0 +/arm-io/pmgr/power-domains/DCS0 - -> /soc/power-management@23b700000/power-controller@2f8 +/arm-io/pmgr/power-domains/DCS2 - -> /soc/power-management@23b700000/power-controller@300 +/arm-io/pmgr/power-domains/DCS1 - -> /soc/power-management@23b700000/power-controller@308 +/arm-io/pmgr/power-domains/DCS3 - -> /soc/power-management@23b700000/power-controller@310 +/arm-io/pmgr/power-domains/DCS4 - -> /soc/power-management@23b700000/power-controller@318 +/arm-io/pmgr/power-domains/DCS5 - -> /soc/power-management@23b700000/power-controller@320 +/arm-io/pmgr/power-domains/DCS6 - -> /soc/power-management@23b700000/power-controller@328 +/arm-io/pmgr/power-domains/DCS7 - -> /soc/power-management@23b700000/power-controller@330 +/arm-io/pmgr/power-domains/SMX0 - -> /soc/power-management@23b700000/power-controller@338 +/arm-io/pmgr/power-domains/SMX1 - -> /soc/power-management@23b700000/power-controller@340 +/arm-io/pmgr/power-domains/IMX - -> /soc/power-management@23b700000/power-controller@1a8 +/arm-io/pmgr/power-domains/RMX0 - -> /soc/power-management@23b700000/power-controller@350 +/arm-io/pmgr/power-domains/RMX1 - -> /soc/power-management@23b700000/power-controller@358 +/arm-io/pmgr/power-domains/CMX - -> /soc/power-management@23b700000/power-controller@360 +/arm-io/pmgr/power-domains/MMX - -> /soc/power-management@23b700000/power-controller@368 +/arm-io/pmgr/power-domains/DISP0_CPU - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISP0_GP0 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISP0_GP1 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISP0_GP2 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISP0_PPP - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISP0_BRC - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISP0_BLC - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT_CPU - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT_GP0 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT_GP1 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT_GP2 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/DISPEXT_PPP - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/PMP - -> /soc/power-management@23b700000/power-controller@410 +/arm-io/pmgr/power-domains/PMS_SRAM - -> /soc/power-management@23b700000/power-controller@418 +/arm-io/pmgr/power-domains/APCIE_SYS - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/GFX - -> /soc/power-management@23b700000/power-controller@430 +/arm-io/pmgr/power-domains/SEP - -> /soc/power-management@23b700000/power-controller@c00 +/arm-io/pmgr/power-domains/SEP_EISP - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/ISP_CPU_CORE0 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/ISP_CPU_CORE1 - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/ANS - -> /soc/power-management@23b700000/power-controller@428 +/arm-io/pmgr/power-domains/ANE_SYS - -> /soc/power-management@23b700000/power-controller@4a8 +/arm-io/pmgr/power-domains/ANE_CPU - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/NUB_FABRIC - -> /soc/power-management@23d280000/power-controller@a8 +/arm-io/pmgr/power-domains/NUB_SRAM - -> /soc/power-management@23d280000/power-controller@b0 +/arm-io/pmgr/power-domains/DEBUG_SWITCH - -> /soc/power-management@23d280000/power-controller@b8 +/arm-io/pmgr/power-domains/AOP_CPU - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/AOP_FILTER - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/SMC_CPU - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/SMC_FABRIC - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/MTP_FABRIC - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/pmgr/power-domains/MTP_CPU - -> WAIVED: Logical PMGR performance domain; physical power-state records are inventoried separately. +/arm-io/nco 0x23b044000 -> /soc/clock-controller@23b044000 +/arm-io/event-log-handler 0x23b700000 -> /soc/event-log@23b700000 +/arm-io/pmp 0x23bc00000 -> /soc/pmp@23b500000 +/arm-io/pmp/iop-pmp-nub - -> /soc/pmp@23b500000 +/arm-io/dart-pmp 0x23b300000 -> /soc/iommu@23b300000 +/arm-io/dart-pmp/mapper-pmp - -> /soc/iommu@23b300000 +/arm-io/sep 0x25e400000 -> /soc/sep@25e400000 +/arm-io/sep/iop-sep-nub - -> /soc/sep@25e400000 +/arm-io/sep/iop-sep-nub/Ocelot - -> /soc/sep@25e400000 +/arm-io/sep/iop-sep-nub/xART - -> /soc/sep@25e400000 +/arm-io/sep/iop-sep-nub/InvalidateHmac - -> /soc/sep@25e400000 +/arm-io/dart-sep 0x25d2c0000 -> /soc/iommu@25d2c0000 +/arm-io/dart-sep/mapper-sep - -> /soc/iommu@25d2c0000 +/arm-io/sio 0x236400000 -> /soc/sio@236400000 +/arm-io/sio/iop-sio-nub - -> /soc/sio@236400000 +/arm-io/sio/iop-sio-nub/sio-dma - -> /soc/sio@236400000 +/arm-io/dart-sio 0x235004000 -> /soc/iommu@235004000 +/arm-io/dart-sio/mapper-sio - -> /soc/iommu@235004000 +/arm-io/dart-sio/mapper-aes - -> /soc/iommu@235004000 +/arm-io/dart-sio/mapper-admac - -> /soc/iommu@235004000 +/arm-io/ans 0x277400000 -> /soc/nvme@27bcc0000 +/arm-io/ans/iop-ans-nub - -> /soc/nvme@27bcc0000 +/arm-io/sart-ans 0x27bc50000 -> /soc/sart@27bc50000 +/arm-io/smc 0x23e400000 -> /soc/smc@23e400000 +/arm-io/smc/iop-smc-nub - -> /soc/smc@23e400000 +/arm-io/smc/iop-smc-nub/smc-pmu - -> /soc/smc@23e400000 +/arm-io/smc/iop-smc-nub/smc-charger-util-0 - -> /soc/smc@23e400000 +/arm-io/smc/iop-smc-nub/smc-charger-util-1 - -> /soc/smc@23e400000 +/arm-io/smc/iop-smc-nub/smc-charger-util - -> /soc/smc@23e400000 +/arm-io/uart0 0x235200000 -> /soc/serial@235200000 +/arm-io/uart0/debug-console - -> /soc/serial@235200000 +/arm-io/dockchannel-uart 0x23d128000 -> /soc/serial@23d12c000 +/arm-io/dockchannel-mtp 0x24eb14000 -> /soc/fifo@24eb14000 +/arm-io/dockchannel-mtp/mtp-transport - -> /soc/fifo@24eb14000/input@8000 +/arm-io/dockchannel-mtp/mtp-transport/multi-touch - -> /soc/fifo@24eb14000/input@8000/multi-touch +/arm-io/dockchannel-mtp/mtp-transport/stm - -> /soc/fifo@24eb14000/input@8000/stm +/arm-io/dockchannel-mtp/mtp-transport/keyboard - -> /soc/fifo@24eb14000/input@8000/keyboard +/arm-io/dockchannel-mtp/mtp-transport/tp-accel - -> /soc/fifo@24eb14000/input@8000 +/arm-io/dockchannel-mtp/mtp-transport/actuator - -> /soc/fifo@24eb14000/input@8000/actuator +/arm-io/mtp 0x24e400000 -> /soc/mtp@24e400000 +/arm-io/mtp/iop-mtp-nub - -> /soc/mtp@24e400000 +/arm-io/dart-mtp 0x24e808000 -> /soc/iommu@24e808000 +/arm-io/dart-mtp/mapper-mtp - -> /soc/iommu@24e808000 +/arm-io/mtp-aop-mux - -> WAIVED: Firmware transport arbitration policy; MTP and AOP hardware are inventoried separately. +/arm-io/spi1 0x235104000 -> /soc/spi@235104000 +/arm-io/spi1/spinor /arm-io/spi1@0x0 -> /soc/spi@235104000/flash@0 +/arm-io/spi1/spinor/firmware - -> WAIVED: Firmware flash partition; parent flash hardware is inventoried separately. +/arm-io/spi1/spinor/anvram /arm-io/spi1/spinor@0x700000 -> WAIVED: Firmware NVRAM partition; parent flash hardware is inventoried separately. +/arm-io/spi1/spinor/syscfg /arm-io/spi1/spinor@0x5a0000 -> WAIVED: Firmware configuration partition; parent flash hardware is inventoried separately. +/arm-io/i2c0 0x235010000 -> /soc/i2c@235010000 +/arm-io/i2c0/hpmBusManager - -> /soc/i2c@235010000 +/arm-io/i2c0/hpmBusManager/hpm0 /arm-io/i2c0/hpmBusManager@0x38 -> /soc/i2c@235010000/usb-pd@38 +/arm-io/i2c0/hpmBusManager/hpm1 /arm-io/i2c0/hpmBusManager@0x3f -> /soc/i2c@235010000/usb-pd@3f +/arm-io/i2c0/hpmBusManager/hpm5 /arm-io/i2c0/hpmBusManager@0x3a -> /soc/i2c@235010000/usb-pd@3a +/arm-io/admac-sio 0x238200000 -> /soc/dma-controller@238200000 +/arm-io/admac-aop-audio 0x24a980000 -> /soc/dma-controller@24a980000 +/arm-io/atc-phy0 0x382a90000 -> /soc/phy@383000000 +/arm-io/dart-usb0 0x382f00000 -> /soc/iommu@382f00000 +/arm-io/dart-usb0/mapper-usb0 - -> /soc/iommu@382f00000 +/arm-io/usb-drd0 0x382280000 -> /soc/usb@382280000 +/arm-io/usb-drd0/usb-drd0-port-hs - -> /soc/usb@382280000/ports/port@0 +/arm-io/usb-drd0/usb-drd0-port-ss - -> /soc/usb@382280000/ports/port@1 +/arm-io/atc-phy1 0x502a90000 -> /soc/phy@503000000 +/arm-io/dart-usb1 0x502f00000 -> /soc/iommu@502f00000 +/arm-io/dart-usb1/mapper-usb1 - -> /soc/iommu@502f00000 +/arm-io/usb-drd1 0x502280000 -> /soc/usb@502280000 +/arm-io/usb-drd1/usb-drd1-port-hs - -> /soc/usb@502280000/ports/port@0 +/arm-io/usb-drd1/usb-drd1-port-ss - -> /soc/usb@502280000/ports/port@1 +/arm-io/nub-spmi0 0x23d714000 -> /soc/spmi@23d714000 +/arm-io/nub-spmi0/pmu-main /arm-io/nub-spmi0@0xe -> /soc/spmi@23d714000/pmic@e +/arm-io/nub-spmi0/btm /arm-io/nub-spmi0@0xe -> /soc/spmi@23d714000/pmic@e +/arm-io/nub-spmi1 0x23d794000 -> /soc/spmi@23d794000 +/arm-io/nub-spmi1/pmu-aux /arm-io/nub-spmi1@0xe -> /soc/spmi@23d794000/pmic@e +/arm-io/aop-spmi0 0x24a894000 -> /soc/spmi@24a894000 +/arm-io/aop-spmi0/spmi-wifibt /arm-io/aop-spmi0@0xe -> /soc/spmi@24a894000/radio-pmu@e +/arm-io/aop-spmi1 0x24a8d4000 -> /soc/spmi@24a8d4000 +/arm-io/aop-spmi1/stockholm-spmi /arm-io/aop-spmi1@0xc -> /soc/spmi@24a8d4000/nfc@c +/arm-io/aop-spmi1/stockholm-spmi/stockholm - -> WAIVED: NFC firmware service of the parent SPMI device, not another addressed bus device. +/arm-io/lcd0-sac - -> /soc/dcp@231c00000 +/arm-io/disp0 0x230000000 -> /soc/dcp@231c00000 +/arm-io/dcp0-expert - -> /soc/dcp@231c00000 +/arm-io/dcp 0x231c00000 -> /soc/dcp@231c00000 +/arm-io/dcp/iop-dcp-nub - -> /soc/dcp@231c00000 +/arm-io/dart-dcp 0x23130c000 -> /soc/iommu@23130c000 +/arm-io/dart-dcp/mapper-dcp - -> /soc/iommu@23130c000 +/arm-io/dart-disp0 0x231304000 -> /soc/iommu@231304000 +/arm-io/dart-disp0/mapper-disp0 - -> /soc/iommu@231304000 +/arm-io/dart-disp0/mapper-disp0-piodma - -> /soc/iommu@231304000 +/arm-io/dcp-sac-controller - -> /soc/dcp@231c00000 +/arm-io/dp-audio0 - -> WAIVED: Logical display audio DMA endpoint; SIO and display controllers are inventoried separately. +/arm-io/dispext0 0x270000000 -> /soc/dcp@271c00000 +/arm-io/dcpext-expert - -> WAIVED: Coprocessor firmware policy view; hosting coprocessor is inventoried separately. +/arm-io/dcpext 0x271c00000 -> /soc/dcp@271c00000 +/arm-io/dcpext/iop-dcpext-nub - -> /soc/dcp@271c00000 +/arm-io/dart-dcpext 0x27130c000 -> /soc/iommu@27130c000 +/arm-io/dart-dcpext/mapper-dcpext - -> /soc/iommu@27130c000 +/arm-io/dart-dispext0 0x271304000 -> /soc/iommu@271304000 +/arm-io/dart-dispext0/mapper-dispext0 - -> /soc/iommu@271304000 +/arm-io/dart-dispext0/mapper-dispext0-piodma - -> /soc/iommu@271304000 +/arm-io/dp-audio1 - -> WAIVED: Logical display audio DMA endpoint; SIO and display controllers are inventoried separately. +/arm-io/scaler0 0x263000000 -> /soc/scaler@263000000 +/arm-io/dart-scaler 0x263200000 -> /soc/iommu@263200000 +/arm-io/dart-scaler/mapper-scaler - -> /soc/iommu@263200000 +/arm-io/dart-scaler/mapper-scaler-piodma - -> /soc/iommu@263200000 +/arm-io/jpeg0 0x265000000 -> /soc/jpeg@265000000 +/arm-io/dart-jpeg0 0x265004000 -> /soc/iommu@265004000 +/arm-io/dart-jpeg0/mapper-jpeg0 - -> /soc/iommu@265004000 +/arm-io/jpeg1 0x265008000 -> /soc/jpeg@265008000 +/arm-io/dart-jpeg1 0x26500c000 -> /soc/iommu@26500c000 +/arm-io/dart-jpeg1/mapper-jpeg1 - -> /soc/iommu@26500c000 +/arm-io/ave 0x267100000 -> /soc/video-codec@267100000 +/arm-io/dart-ave 0x267030000 -> /soc/iommu@267030000 +/arm-io/dart-ave/mapper-ave - -> /soc/iommu@267030000 +/arm-io/avd 0x268000000 -> /soc/avd@269080000 +/arm-io/dart-avd 0x269010000 -> /soc/iommu@269010000 +/arm-io/dart-avd/mapper-avd - -> /soc/iommu@269010000 +/arm-io/dart-avd/mapper-avd-piodma - -> /soc/iommu@269010000 +/arm-io/dart-avd/mapper-avd-adsbuf - -> /soc/iommu@269010000 +/arm-io/apr 0x27d000000 -> /soc/video-codec@27d000000 +/arm-io/dart-apr 0x27d028000 -> /soc/iommu@27d028000 +/arm-io/dart-apr/mapper-apr - -> /soc/iommu@27d028000 +/arm-io/dart-scdc 0x27d02c000 -> /soc/iommu@27d02c000 +/arm-io/dart-scdc/mapper-scdc - -> /soc/iommu@27d02c000 +/arm-io/isp 0x22a000000 -> /soc/isp@22a000000 +/arm-io/dart-isp 0x22c4a8000 -> /soc/iommu@22c4a8000 +/arm-io/dart-isp/mapper-isp - -> /soc/iommu@22c4a8000 +/arm-io/ane 0x26a000000 -> /soc/ane@26a000000 +/arm-io/dart-ane 0x26b800000 -> /soc/iommu@26b800000 +/arm-io/dart-ane/mapper-ane - -> /soc/iommu@26b800000 +/arm-io/sgx 0x204000000 -> /soc/gpu@206400000 +/arm-io/gfx-asc 0x206400000 -> /soc/gpu@206400000 +/arm-io/gfx-asc/iop-gfx-nub - -> /soc/gpu@206400000 +/arm-io/mapper-gfx-asc - -> WAIVED: GPU firmware IOMMU stream; represented by the GPU IOMMU relationship. +/arm-io/mca-switch 0x238400000 -> /soc/i2s@238400000 +/arm-io/mca0 0x238400000 -> /soc/i2s@238400000 +/arm-io/mca0/mca0a - -> /soc/i2s@238400000 +/arm-io/mca0/mca0a/audio-speaker - -> /soc/i2s@238400000 +/arm-io/mca1 0x238404000 -> /soc/i2s@238400000 +/arm-io/mca1/mca1a - -> /soc/i2s@238400000 +/arm-io/mca1/mca1a/audio-loopback - -> /soc/i2s@238400000 +/arm-io/mca2 0x238408000 -> /soc/i2s@238400000 +/arm-io/mca2/mca2a - -> /soc/i2s@238400000 +/arm-io/mca2/mca2a/audio-codec-output - -> /soc/i2s@238400000 +/arm-io/mca2/mca2b - -> /soc/i2s@238400000 +/arm-io/mca2/mca2b/audio-codec-input - -> /soc/i2s@238400000 +/arm-io/smctempsensor0 - -> /soc/smc@23e400000/hwmon +/arm-io/cpu-debug-interface - -> /cpus +/arm-io/aft 0x200110000 -> /soc/fabric-tracker@200110000 +/arm-io/timesync - -> WAIVED: Firmware clock synchronization policy, not a separate timer device. +/arm-io/apple-processor-trace - -> WAIVED: Native diagnostic trace policy; CPU debug hardware is inventoried separately. +/buttons - -> WAIVED: Button collection container; child devices are inventoried separately. +/port-usb-c-1 - -> /soc/i2c@235010000/usb-pd@38/connector +/port-usb-c-2 - -> /soc/i2c@235010000/usb-pd@3f/connector +/port-t818-1 - -> WAIVED: Firmware accessory-port relationship of the SMC; no independently addressed bus or MMIO device. +/backlight - -> /soc/dcp@231c00000 +/sacm - -> WAIVED: Display access-control policy; display hardware is inventoried separately. diff --git a/arch/arm64/boot/dts/apple/adt-coverage/t8140-j700.txt b/arch/arm64/boot/dts/apple/adt-coverage/t8140-j700.txt new file mode 100644 index 0000000000000..cc87cbfe22276 --- /dev/null +++ b/arch/arm64/boot/dts/apple/adt-coverage/t8140-j700.txt @@ -0,0 +1,590 @@ +# SPDX-License-Identifier: GPL-2.0-only +# Device name, address and DT path only; - means no usable reg address. +/cpus - -> /cpus +/cpus/cpu0 /cpus@0x0 -> /cpus/cpu@0 +/cpus/cpu1 /cpus@0x1 -> /cpus/cpu@1 +/cpus/cpu2 /cpus@0x2 -> /cpus/cpu@2 +/cpus/cpu3 /cpus@0x3 -> /cpus/cpu@3 +/cpus/cpu4 /cpus@0x100 -> /cpus/cpu@10100 +/cpus/cpu5 /cpus@0x101 -> /cpus/cpu@10101 +/arm-io 0x210050000 -> /soc/clock-controller@300700000 +/arm-io/spi2 0x385108000 -> /soc/spi@385108000 +/arm-io/spi2/mesa /arm-io/spi2@0x0 -> /soc/spi@385108000/fingerprint@0 +/arm-io/spi3 0x38510c000 -> /soc/spi@38510c000 +/arm-io/i2c2 0x385018000 -> /soc/i2c@385018000 +/arm-io/i2c2/usb-hub-i2c /arm-io/i2c2@0x2c -> /soc/i2c@385018000/usb-hub@2c +/arm-io/i2c2/usb-repeater-i2c /arm-io/i2c2@0x21 -> /soc/i2c@385018000/phy@21 +/arm-io/iop-voicetrigger-controller - -> /soc/clock-controller@300700000 +/arm-io/iop-voicetrigger-controller/audio-vt-device - -> /soc/clock-controller@300700000 +/arm-io/sapt - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/arm-io/wlan - -> /soc/pcie@1cb0000000/pci@0,0/wifi@0,0 +/arm-io/uart4 0x385210000 -> /soc/serial@385210000 +/arm-io/uart4/wlan-debug - -> WAIVED: Logical debug endpoint of the parent UART; UART hardware is inventoried separately. +/arm-io/bluetooth - -> /soc/pcie@1cb0000000/pci@0,0/wifi@0,0 +/arm-io/uart5 0x385214000 -> /soc/serial@385214000 +/arm-io/uart5/bluetooth-debug - -> WAIVED: Logical debug endpoint of the parent UART; UART hardware is inventoried separately. +/arm-io/apcie 0x1cb0000000 -> /soc/pcie@1cb0000000 +/arm-io/apcie/pci-bridge0 - -> /soc/pcie@1cb0000000/pci@0,0 +/arm-io/apcie/pci-bridge0/wlan - -> /soc/pcie@1cb0000000/pci@0,0/wifi@0,0 +/arm-io/apcie/pci-bridge0/bluetooth-pcie - -> /soc/pcie@1cb0000000/pci@0,0/wifi@0,0 +/arm-io/dart-apcie0 0x390000000 -> /soc/iommu@390000000 +/arm-io/dart-apcie0/mapper-apcie0-wlan - -> /soc/iommu@390000000 +/arm-io/dart-apcie0/mapper-apcie0-bt - -> /soc/iommu@390000000 +/arm-io/dart-apcie0/mapper-apcie0-piodma - -> /soc/iommu@390000000 +/arm-io/apcie0-piodma 0x390030000 -> /piodma@390030000 +/arm-io/mcc 0x220000000 -> /soc/memory-controller@220000000 +/arm-io/aic 0x301000000 -> /soc/interrupt-controller@301000000 +/arm-io/aic-timebase - -> /timer +/arm-io/wdt 0x3082b0000 -> /soc/watchdog@3082b0000 +/arm-io/error-handler 0x220000000 -> /soc/error-handler@220000000 +/arm-io/dwi 0x300200000 -> /soc/dwi@300200000 +/arm-io/pwm 0x385040000 -> /soc/pwm@385040000 +/arm-io/aes 0x38500c000 -> /soc/crypto@38500c000 +/arm-io/gpio0 0x31a000000 -> /soc/pinctrl@31a000000 +/arm-io/aop-gpio 0x310824000 -> /soc/pinctrl@310824000 +/arm-io/nub-gpio 0x3081f0000 -> /soc/pinctrl@3081f0000 +/arm-io/smc-gpio 0x30c820000 -> /soc/pinctrl@30c820000 +/arm-io/mtp-gpio 0x314838000 -> /soc/pinctrl@314838000 +/arm-io/aop 0x310600000 -> /soc/aop@310c00000 +/arm-io/aop/iop-aop-nub - -> /soc/aop@310c00000 +/arm-io/aop/iop-aop-nub/aop-pio-filters - -> /soc/aop@310c00000 +/arm-io/aop/iop-aop-nub/aop-audio - -> /soc/aop@310c00000 +/arm-io/aop/iop-aop-nub/aop-voicetrigger - -> /soc/aop@310c00000 +/arm-io/aop/iop-aop-nub/aop-scm-xbar - -> /soc/aop@310c00000 +/arm-io/aop/iop-aop-nub/aop-gapf-filters - -> /soc/aop@310c00000 +/arm-io/aop/iop-aop-nub/smc-control - -> /soc/aop@310c00000 +/arm-io/aop/iop-aop-nub/dcp-control - -> /soc/aop@310c00000 +/arm-io/aop/iop-aop-nub/als - -> /soc/aop@310c00000/als +/arm-io/dart-aop 0x310fc0000 -> /soc/iommu@310fc0000 +/arm-io/dart-aop/mapper-aop - -> /soc/iommu@310fc0000 +/arm-io/dart-aop/mapper-exclave-aop - -> /soc/iommu@310fc0000 +/arm-io/dart-aop/mapper-aop2 - -> /soc/iommu@310fc0000 +/arm-io/dart-aop/mapper-exclave-aop2 - -> /soc/iommu@310fc0000 +/arm-io/dart-aop/mapper-admac-leap-s - -> /soc/iommu@310fc0000 +/arm-io/dart-aop/mapper-admac-base-ns - -> /soc/iommu@310fc0000 +/arm-io/dart-aop/mapper-admac-leap-ns - -> /soc/iommu@310fc0000 +/arm-io/dart-aop/mapper-admac-base-s - -> /soc/iommu@310fc0000 +/arm-io/dart-aop/mapper-scm - -> /soc/iommu@310fc0000 +/arm-io/aop-exclave-mailbox 0x35067c000 -> /soc/mailbox@35067c000 +/arm-io/aop2 0x311600000 -> /soc/coprocessor@311600000 +/arm-io/aop2/iop-aop2-nub - -> /soc/coprocessor@311600000 +/arm-io/aop2-exclave-mailbox 0x35167c000 -> /soc/mailbox@35167c000 +/arm-io/pmgr 0x300700000 -> /soc/power-management@300700000 +/arm-io/pmgr/clpc - -> WAIVED: Firmware performance policy; PMGR and PMP hardware are inventoried separately. +/arm-io/pmgr/soc-tuner - -> WAIVED: Firmware tuning policy; not an independent hardware block. +/arm-io/pmgr/ppm - -> WAIVED: Firmware power policy; PMGR and PMP hardware are inventoried separately. +/arm-io/pmgr/power-devices - -> WAIVED: ADT power-device collection container; individual power-state records are checked separately. +/arm-io/pmgr/power-devices/ECPU_0 0x300700000 -> /soc/power-management@300700000/power-controller@0 +/arm-io/pmgr/power-devices/ECPU_1 0x300700008 -> /soc/power-management@300700000/power-controller@8 +/arm-io/pmgr/power-devices/ECPU_2 0x300700010 -> /soc/power-management@300700000/power-controller@10 +/arm-io/pmgr/power-devices/ECPU_3 0x300700018 -> /soc/power-management@300700000/power-controller@18 +/arm-io/pmgr/power-devices/PCPU_0 0x300700030 -> /soc/power-management@300700000/power-controller@30 +/arm-io/pmgr/power-devices/PCPU_1 0x300700038 -> /soc/power-management@300700000/power-controller@38 +/arm-io/pmgr/power-devices/ECPM 0x300700050 -> /soc/power-management@300700000/power-controller@50 +/arm-io/pmgr/power-devices/PCPM 0x300700058 -> /soc/power-management@300700000/power-controller@58 +/arm-io/pmgr/power-devices/SEP_AON 0x300700060 -> /soc/power-management@300700000/power-controller@60 +/arm-io/pmgr/power-devices/SBR - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSG 0x300700108 -> /soc/power-management@300700000/power-controller@108 +/arm-io/pmgr/power-devices/AIC 0x300700110 -> /soc/power-management@300700000/power-controller@110 +/arm-io/pmgr/power-devices/DWI 0x300700118 -> /soc/power-management@300700000/power-controller@118 +/arm-io/pmgr/power-devices/GPIO 0x300700120 -> /soc/power-management@300700000/power-controller@120 +/arm-io/pmgr/power-devices/PMS_BUSIF - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PMS - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PMC 0x300700138 -> /soc/power-management@300700000/power-controller@138 +/arm-io/pmgr/power-devices/PMS_FPWM0 0x300700140 -> /soc/power-management@300700000/power-controller@140 +/arm-io/pmgr/power-devices/PMS_FPWM1 0x300700148 -> /soc/power-management@300700000/power-controller@148 +/arm-io/pmgr/power-devices/PMS_FPWM2 0x300700150 -> /soc/power-management@300700000/power-controller@150 +/arm-io/pmgr/power-devices/PMS_FPWM3 0x300700158 -> /soc/power-management@300700000/power-controller@158 +/arm-io/pmgr/power-devices/PMS_FPWM4 0x300700160 -> /soc/power-management@300700000/power-controller@160 +/arm-io/pmgr/power-devices/PMS_C1PPT 0x300700168 -> /soc/power-management@300700000/power-controller@168 +/arm-io/pmgr/power-devices/SOC_RC 0x300700170 -> /soc/power-management@300700000/power-controller@170 +/arm-io/pmgr/power-devices/SOC_DPE 0x300700178 -> /soc/power-management@300700000/power-controller@178 +/arm-io/pmgr/power-devices/PMGR_SOC_OCLA 0x300700180 -> /soc/power-management@300700000/power-controller@180 +/arm-io/pmgr/power-devices/ISPSENS0 0x300700188 -> /soc/power-management@300700000/power-controller@188 +/arm-io/pmgr/power-devices/ISPSENS1 0x300700190 -> /soc/power-management@300700000/power-controller@190 +/arm-io/pmgr/power-devices/AFIMCCNI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AP_TMM 0x3007001a0 -> /soc/power-management@300700000/power-controller@1a0 +/arm-io/pmgr/power-devices/PIOGW - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AFIAFT - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AFGGFXNI0 0x3007001b8 -> /soc/power-management@300700000/power-controller@1b8 +/arm-io/pmgr/power-devices/AFCMCCNI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AMCC0_P0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AMCC0_P1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AMCC0_P2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AMCC0_P3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AFINS0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX 0x3007001f0 -> /soc/power-management@300700000/power-controller@1f0 +/arm-io/pmgr/power-devices/DCS0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DCS1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DCS2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DCS3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AFISOCNI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AFISOCNI1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AFISOCNI2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG 0x300700230 -> /soc/power-management@300700000/power-controller@230 +/arm-io/pmgr/power-devices/MSR 0x300700238 -> /soc/power-management@300700000/power-controller@238 +/arm-io/pmgr/power-devices/VENC0_SYS 0x300700240 -> /soc/power-management@300700000/power-controller@240 +/arm-io/pmgr/power-devices/VENC1_SYS - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PRORES 0x300700250 -> /soc/power-management@300700000/power-controller@250 +/arm-io/pmgr/power-devices/APCIE_GP 0x300700258 -> /soc/power-management@300700000/power-controller@258 +/arm-io/pmgr/power-devices/SIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_SYS 0x300700268 -> /soc/power-management@300700000/power-controller@268 +/arm-io/pmgr/power-devices/AVD_SYS 0x300700270 -> /soc/power-management@300700000/power-controller@270 +/arm-io/pmgr/power-devices/ANS 0x300700278 -> /soc/power-management@300700000/power-controller@278 +/arm-io/pmgr/power-devices/DISP_SYS 0x300700280 -> /soc/power-management@300700000/power-controller@280 +/arm-io/pmgr/power-devices/DISPEXT0_SYS 0x300700288 -> /soc/power-management@300700000/power-controller@288 +/arm-io/pmgr/power-devices/ANE_SYS 0x300700290 -> /soc/power-management@300700000/power-controller@290 +/arm-io/pmgr/power-devices/MSR_ASE_CORE 0x300700298 -> /soc/power-management@300700000/power-controller@298 +/arm-io/pmgr/power-devices/APCIE_SYS_GP 0x3007002a0 -> /soc/power-management@300700000/power-controller@2a0 +/arm-io/pmgr/power-devices/SIO_CPU 0x3007002a8 -> /soc/power-management@300700000/power-controller@2a8 +/arm-io/pmgr/power-devices/FPWM0 0x3007002b0 -> /soc/power-management@300700000/power-controller@2b0 +/arm-io/pmgr/power-devices/FPWM1 0x3007002b8 -> /soc/power-management@300700000/power-controller@2b8 +/arm-io/pmgr/power-devices/FPWM2 0x3007002c0 -> /soc/power-management@300700000/power-controller@2c0 +/arm-io/pmgr/power-devices/I2C0 0x3007002c8 -> /soc/power-management@300700000/power-controller@2c8 +/arm-io/pmgr/power-devices/I2C1 0x3007002d0 -> /soc/power-management@300700000/power-controller@2d0 +/arm-io/pmgr/power-devices/I2C2 0x3007002d8 -> /soc/power-management@300700000/power-controller@2d8 +/arm-io/pmgr/power-devices/I2C3 0x3007002e0 -> /soc/power-management@300700000/power-controller@2e0 +/arm-io/pmgr/power-devices/I2C4 0x3007002e8 -> /soc/power-management@300700000/power-controller@2e8 +/arm-io/pmgr/power-devices/SPI_P 0x3007002f0 -> /soc/power-management@300700000/power-controller@2f0 +/arm-io/pmgr/power-devices/UART_P 0x3007002f8 -> /soc/power-management@300700000/power-controller@2f8 +/arm-io/pmgr/power-devices/DPA_P 0x300700300 -> /soc/power-management@300700000/power-controller@300 +/arm-io/pmgr/power-devices/AES 0x300700308 -> /soc/power-management@300700000/power-controller@308 +/arm-io/pmgr/power-devices/APCIE_ST 0x300700310 -> /soc/power-management@300700000/power-controller@310 +/arm-io/pmgr/power-devices/DISP_FE 0x300700318 -> /soc/power-management@300700000/power-controller@318 +/arm-io/pmgr/power-devices/DISPEXT0_FE 0x300700320 -> /soc/power-management@300700000/power-controller@320 +/arm-io/pmgr/power-devices/DISPEXT0_CPU 0x300700328 -> /soc/power-management@300700000/power-controller@328 +/arm-io/pmgr/power-devices/SPI0 0x300700330 -> /soc/power-management@300700000/power-controller@330 +/arm-io/pmgr/power-devices/SPI1 0x300700338 -> /soc/power-management@300700000/power-controller@338 +/arm-io/pmgr/power-devices/SPI2 0x300700340 -> /soc/power-management@300700000/power-controller@340 +/arm-io/pmgr/power-devices/SPI3 0x300700348 -> /soc/power-management@300700000/power-controller@348 +/arm-io/pmgr/power-devices/QSPI 0x300700350 -> /soc/power-management@300700000/power-controller@350 +/arm-io/pmgr/power-devices/UART_N 0x300700358 -> /soc/power-management@300700000/power-controller@358 +/arm-io/pmgr/power-devices/UART0 0x300700360 -> /soc/power-management@300700000/power-controller@360 +/arm-io/pmgr/power-devices/UART1 0x300700368 -> /soc/power-management@300700000/power-controller@368 +/arm-io/pmgr/power-devices/UART2 0x300700370 -> /soc/power-management@300700000/power-controller@370 +/arm-io/pmgr/power-devices/UART3 0x300700378 -> /soc/power-management@300700000/power-controller@378 +/arm-io/pmgr/power-devices/UART4 0x300700380 -> /soc/power-management@300700000/power-controller@380 +/arm-io/pmgr/power-devices/UART5 0x300700388 -> /soc/power-management@300700000/power-controller@388 +/arm-io/pmgr/power-devices/DPA0 0x300700390 -> /soc/power-management@300700000/power-controller@390 +/arm-io/pmgr/power-devices/DPA1 0x300700398 -> /soc/power-management@300700000/power-controller@398 +/arm-io/pmgr/power-devices/APCIE_SYS_ST 0x3007003a0 -> /soc/power-management@300700000/power-controller@3a0 +/arm-io/pmgr/power-devices/DISPEXT0_DBE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DPEXT0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISPEXT0_GPPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/APCIE_PHY_SW 0x3007003c0 -> /soc/power-management@300700000/power-controller@3c0 +/arm-io/pmgr/power-devices/DPTX_PHY - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PMP 0x3007003d0 -> /soc/power-management@300700000/power-controller@3d0 +/arm-io/pmgr/power-devices/PMS_SRAM 0x3007003d8 -> /soc/power-management@300700000/power-controller@3d8 +/arm-io/pmgr/power-devices/ATC0_USB_AON 0x3007003e0 -> /soc/power-management@300700000/power-controller@3e0 +/arm-io/pmgr/power-devices/ATC0_COMMON 0x3007003e8 -> /soc/power-management@300700000/power-controller@3e8 +/arm-io/pmgr/power-devices/ATC0_USB 0x3007003f0 -> /soc/power-management@300700000/power-controller@3f0 +/arm-io/pmgr/power-devices/SEP 0x300700c00 -> /soc/power-management@300700000/power-controller@c00 +/arm-io/pmgr/power-devices/ISP_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_CPU_CORE0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_CPU_CORE1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_FE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DPRX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_SECURE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_STS0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_STS1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_PEARL - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_BE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_CLR - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_CVD - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP_CVM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC0_DMA 0x300708000 -> /soc/power-management@300700000/power-controller@8000 +/arm-io/pmgr/power-devices/VENC0_PIPE4 0x300708008 -> /soc/power-management@300700000/power-controller@8008 +/arm-io/pmgr/power-devices/VENC0_PIPE5 0x300708010 -> /soc/power-management@300700000/power-controller@8010 +/arm-io/pmgr/power-devices/VENC0_ME0 0x300708018 -> /soc/power-management@300700000/power-controller@8018 +/arm-io/pmgr/power-devices/VENC0_ME1 0x300708020 -> /soc/power-management@300700000/power-controller@8020 +/arm-io/pmgr/power-devices/VENC1_DMA - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1_PIPE4 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1_PIPE5 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1_ME0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1_ME1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_CPU 0x300710000 -> /soc/power-management@300700000/power-controller@10000 +/arm-io/pmgr/power-devices/DISP_GP0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_GP1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_CMB - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_PPP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_HILO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_DBE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MIPI_DSI - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DEBUG_GATED 0x308280000 -> /soc/power-management@308280000/power-controller@0 +/arm-io/pmgr/power-devices/NUB_SPMI0 0x308280058 -> /soc/power-management@308280000/power-controller@58 +/arm-io/pmgr/power-devices/NUB_SPMI1 0x308280060 -> /soc/power-management@308280000/power-controller@60 +/arm-io/pmgr/power-devices/NUB_SPMI_A0 0x308280068 -> /soc/power-management@308280000/power-controller@68 +/arm-io/pmgr/power-devices/NUB_AON - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/NUB_AON_NOGATE 0x308280078 -> /soc/power-management@308280000/power-controller@78 +/arm-io/pmgr/power-devices/NUB_OCLA 0x308280080 -> /soc/power-management@308280000/power-controller@80 +/arm-io/pmgr/power-devices/NUB_GPIO 0x308280088 -> /soc/power-management@308280000/power-controller@88 +/arm-io/pmgr/power-devices/DSG - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/HPD - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/NUB_FABRIC 0x3082800a0 -> /soc/power-management@308280000/power-controller@a0 +/arm-io/pmgr/power-devices/NUB_SRAM 0x3082800a8 -> /soc/power-management@308280000/power-controller@a8 +/arm-io/pmgr/power-devices/DEBUG_SWITCH 0x3082800b0 -> /soc/power-management@308280000/power-controller@b0 +/arm-io/pmgr/power-devices/AOP_FILTER - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_GPIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_BASE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_FR - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SHIM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_PIODMA - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP2_PIODMA - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_I2CM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_I2CM1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_I2CM2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_I2CM3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SCM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPI1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPMI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SPMI1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_HE_NRCS0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_HE_NRCS1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP2_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_FR - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_UART2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AOP_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_P - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_SENSE_PDMC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_BASE_S_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_BASE_NS_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_MCA - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA0_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA1_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA2_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA3_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA4_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_MCA5_M - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_C - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_S_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_NS_A - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_RX0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_RX1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_RX2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_RX3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_RX4 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO_LEAP_TX0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PDM0_AUDIO_REF - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PDM1_AUDIO_REF - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FABRIC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_GPIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_AON - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_UART0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_UART1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_I2CM0 0x308288028 -> /soc/power-management@308280000/power-controller@8028 +/arm-io/pmgr/power-devices/SMC_I2CM1 0x308288030 -> /soc/power-management@308280000/power-controller@8030 +/arm-io/pmgr/power-devices/SMC_I2CM2 0x308288038 -> /soc/power-management@308280000/power-controller@8038 +/arm-io/pmgr/power-devices/SMC_FPWM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_FPWM3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_PTD - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SMC_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/NUB_HE_NRCS0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/NUB_HE_NRCS1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_FABRIC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_GPIO - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_BASE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_PERIPH - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_UART0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_CPU - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_SCM_FABRIC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_SPI0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_I2CM0 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MTP_DMA - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CPU-BUSY - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU_NRG - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPU_NRG - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPU_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-SGX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-BUSY - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-ASC - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/GFX-ASC1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU0_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU1_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU2_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ECPU3_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPU0_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PCPU1_SRAM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC0-AVE-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC0-MEM-FAST - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC0-AVE-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CLPC-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CLPC-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CLPC-DCS-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/CLPC-DCS-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PRORES-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/PRORES-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR-SOC-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR-SOC-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1-AVE-VNOM - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1-MEM-FAST - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1-AVE-VMAX - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SIO-CPU-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/USB-AUDIO-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC0-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC1-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AVD-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/JPG1-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/MSR-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-SYS-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ISP-CORE-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/SEP-PEARL-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO-P-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-USB-AUD-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUDIO-LLT-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/AUSB0_AONUSB-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/USB_SLP_DDR-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-MIE-DPB - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-FB-ACTIVE - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP-CARVE-OUT - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DCP0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DCPEXT0-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/FR_SCALING-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/APCIE_SYS_ST-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-USB-DART - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/VENC-CLSTR-V - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_INT_M3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/DISP_EXT0_M3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ANE-SYS-V-PMP - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-DCS-F1 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-DCS-F2 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-DCS-F3 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-DCS-F4 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/pmgr/power-devices/ATC0-DCS-F5 - -> WAIVED: Virtual PMGR vote; no independent power-state register. +/arm-io/nco - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/event-log-handler 0x300700000 -> /soc/event-log-handler@300700000 +/arm-io/pmp 0x300e00000 -> /soc/pmp@300500000 +/arm-io/pmp/iop-pmp-nub - -> /soc/pmp@300500000 +/arm-io/dart-pmp 0x300300000 -> /soc/iommu@300300000 +/arm-io/dart-pmp/mapper-pmp - -> /soc/iommu@300300000 +/arm-io/dart-pmp/mapper-pmp-ptd-fwd - -> /soc/iommu@300300000 +/arm-io/sep 0x282600000 -> /soc/sep@282600000 +/arm-io/sep/iop-sep-nub - -> /soc/sep@282600000 +/arm-io/sep/iop-sep-nub/Sandcat - -> /soc/sep@282600000 +/arm-io/sep/iop-sep-nub/xART - -> /soc/sep@282600000 +/arm-io/sep/iop-sep-nub/InvalidateHmac - -> /soc/sep@282600000 +/arm-io/dart-sep 0x280b80000 -> /soc/iommu@280b80000 +/arm-io/dart-sep/mapper-sep - -> /soc/iommu@280b80000 +/arm-io/dart-sep/mapper-sep-mpm - -> /soc/iommu@280b80000 +/arm-io/dart-sep/mapper-sep-exclave - -> /soc/iommu@280b80000 +/arm-io/esm 0x4d267c000 -> /soc/coprocessor@4d267c000 +/arm-io/sio 0x385e00000 -> /soc/dma-controller@385e00000 +/arm-io/sio/iop-sio-nub - -> /soc/dma-controller@385e00000 +/arm-io/sio/iop-sio-nub/sio-dma - -> /soc/dma-controller@385e00000 +/arm-io/dart-sio 0x385060000 -> /soc/iommu@385060000 +/arm-io/dart-sio/mapper-sio - -> /soc/iommu@385060000 +/arm-io/dart-sio/mapper-aes - -> /soc/iommu@385060000 +/arm-io/ans 0x389600000 -> /soc/nvme@3cdcc0000 +/arm-io/ans/iop-ans-nub - -> /soc/nvme@3cdcc0000 +/arm-io/sart-ans 0x38dc50000 -> /soc/iommu@38dc50000 +/arm-io/smc 0x30c600000 -> /soc/smc@30c600000 +/arm-io/smc/iop-smc-nub - -> /soc/smc@30c600000 +/arm-io/smc/iop-smc-nub/smc-pmu - -> /soc/smc@30c600000 +/arm-io/smc/iop-smc-nub/smc-mogul - -> /soc/smc@30c600000 +/arm-io/smc/iop-smc-nub/smc-power-out - -> /soc/smc@30c600000 +/arm-io/aon-ptd 0x30c840000 -> /soc/aon-ptd@30c840000 +/arm-io/pmgrtools - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/arm-io/rsm 0x309825000 -> /soc/rsm@309825000 +/arm-io/dart-rsm 0x3099a0000 -> /soc/iommu@3099a0000 +/arm-io/dart-rsm/mapper-rsm - -> /soc/iommu@3099a0000 +/arm-io/dockchannel-uart 0x308128000 -> /soc/serial@30812c000 +/arm-io/dockchannel-mtp 0x314b14000 -> /soc/fifo@314b14000 +/arm-io/dockchannel-mtp/mtp-transport - -> /soc/fifo@314b14000/input@8000 +/arm-io/dockchannel-mtp/mtp-transport/multi-touch - -> /soc/fifo@314b14000/input@8000/multi-touch +/arm-io/dockchannel-mtp/mtp-transport/keyboard - -> /soc/fifo@314b14000/input@8000/keyboard +/arm-io/mtp 0x314600000 -> /soc/mtp@314600000 +/arm-io/mtp/iop-mtp-nub - -> /soc/mtp@314600000 +/arm-io/dart-mtp 0x314800000 -> /soc/iommu@314800000 +/arm-io/dart-mtp/mapper-mtp - -> /soc/iommu@314800000 +/arm-io/mtp-aop-mux - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/qspi 0x385110000 -> /soc/spi@385110000 +/arm-io/qspi/spinor /arm-io/qspi@0x0 -> /soc/spi@385110000/flash@0 +/arm-io/qspi/spinor/anvram /arm-io/qspi/spinor@0x24000 -> WAIVED: Firmware NVRAM partition; parent flash hardware is inventoried separately. +/arm-io/qspi/spinor/syscfg /arm-io/qspi/spinor@0x0 -> WAIVED: Firmware configuration partition; parent flash hardware is inventoried separately. +/arm-io/uart0 0x385200000 -> /soc/serial@385200000 +/arm-io/uart0/debug-console - -> /soc/serial@385200000 +/arm-io/i2c0 0x385010000 -> /soc/i2c@385010000 +/arm-io/i2c0/audio-codec-output /arm-io/i2c0@0x48 -> /soc/i2c@385010000/codec@48 +/arm-io/nub-spmi0 0x308714000 -> /soc/spmi@308714000 +/arm-io/nub-spmi0/pmu-main /arm-io/nub-spmi0@0xe -> /soc/spmi@308714000/pmic@e +/arm-io/nub-spmi0/btm /arm-io/nub-spmi0@0xe -> /soc/spmi@308714000/pmic@e +/arm-io/nub-spmi1 0x308614000 -> /soc/spmi@308614000 +/arm-io/nub-spmi1/nub-xspmi1-proxy /arm-io/nub-spmi1@0xd -> /soc/spmi@308614000/proxy@d +/arm-io/aop-spmi0 0x310914000 -> /soc/spmi@310914000 +/arm-io/aop-spmi0/stockholm-spmi /arm-io/aop-spmi0@0x9 -> /soc/spmi@310914000/nfc@9 +/arm-io/aop-spmi0/stockholm-spmi/stockholm - -> WAIVED: NFC firmware service of the parent SPMI device, not another addressed bus device. +/arm-io/nub-xspmi1-controller - -> /soc/spmi-proxy-controller@348614000 +/arm-io/nub-spmi-a0 0x308908000 -> /soc/spmi@308908000 +/arm-io/nub-spmi-a0/spmi-allAce /arm-io/nub-spmi-a0@0xe -> /soc/spmi@308908000/controller@e +/arm-io/nub-spmi-a0/hpm0 /arm-io/nub-spmi-a0@0xc -> /soc/spmi@308908000/usb-pd@c +/arm-io/nub-spmi-a0/hpm1 /arm-io/nub-spmi-a0@0xa -> /soc/spmi@308908000/usb-pd@a +/arm-io/display-crossbar0 - -> /soc/display-crossbar@40b04c000 +/arm-io/atc0-dpxbar 0x40b04c000 -> /soc/display-crossbar@40b04c000 +/arm-io/atc0-dpphy - -> /soc/phy@40b000000 +/arm-io/atc-phy0 0x40aa90000 -> /soc/phy@40b000000 +/arm-io/dart-usb 0x40af00000 -> /soc/iommu@40af00000 +/arm-io/dart-usb/mapper-usb - -> /soc/iommu@40af00000 +/arm-io/usb-drd 0x40a280000 -> /soc/usb@40a280000 +/arm-io/usb-drd/usb-drd-port-hs - -> /soc/usb@40a280000/hub@1 +/arm-io/usb-drd/usb-drd-port-hs/usb-drd-hs-hub-port1 - -> /soc/usb@40a280000/hub@1/ports/port@1 +/arm-io/usb-drd/usb-drd-port-hs/usb-drd-hs-hub-port2 - -> /soc/usb@40a280000/hub@1/ports/port@2 +/arm-io/usb-drd/usb-drd-port-ss - -> /soc/usb@40a280000/ports/port@2 +/arm-io/disp0 0x410000000 -> /soc/dcp@412e00000 +/arm-io/dcp0-expert 0x3082b8044 -> /soc/dcp@412e00000 +/arm-io/dcp 0x412e00000 -> /soc/dcp@412e00000 +/arm-io/dcp/iop-dcp-nub - -> /soc/dcp@412e00000 +/arm-io/dcp-exclave-ioreporting - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/dart-dcp 0x412340000 -> /soc/iommu@412340000 +/arm-io/dart-dcp/mapper-dcp - -> /soc/iommu@412340000 +/arm-io/dart-dcp/mapper-dcp-exclave - -> /soc/iommu@412340000 +/arm-io/dart-disp0 0x412300000 -> /soc/iommu@412300000 +/arm-io/dart-disp0/mapper-disp0 - -> /soc/iommu@412300000 +/arm-io/dart-disp0/mapper-disp0-piodma - -> /soc/iommu@412300000 +/arm-io/dart-disp0/mapper-disp0-scl - -> /soc/iommu@412300000 +/arm-io/dart-disp0/mapper-disp0-sca - -> /soc/iommu@412300000 +/arm-io/dart-dispgrt 0x412320000 -> /soc/iommu@412320000 +/arm-io/dart-dispgrt/mapper-dispgrt - -> /soc/iommu@412320000 +/arm-io/dcp-sac-controller - -> /soc/dcp@412e00000 +/arm-io/exdisplaypipe - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/exdisplaypipe-s-proxy 0x450000000 -> /soc/display-secure-proxy@450000000 +/arm-io/dp-audio0 - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/dcp-exclave-mailbox 0x452e7c000 -> /soc/mailbox@452e7c000 +/arm-io/dispext0 0x414000000 -> /soc/dcp@416e00000 +/arm-io/dcpext-expert 0x4163ac050 -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/dcpext 0x416e00000 -> /soc/dcp@416e00000 +/arm-io/dcpext/iop-dcpext-nub - -> /soc/dcp@416e00000 +/arm-io/dart-dcpext0 0x416340000 -> /soc/iommu@416340000 +/arm-io/dart-dcpext0/mapper-dcpext0 - -> /soc/iommu@416340000 +/arm-io/dart-dcpext0/mapper-dcpext0-exclave - -> /soc/iommu@416340000 +/arm-io/dart-dispext0 0x416300000 -> /soc/iommu@416300000 +/arm-io/dart-dispext0/mapper-dispext0 - -> /soc/iommu@416300000 +/arm-io/dart-dispext0/mapper-dispext0-piodma - -> /soc/iommu@416300000 +/arm-io/dp-audio1 - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/scaler0 0x291000000 -> /soc/scaler@291000000 +/arm-io/dart-scaler 0x291260000 -> /soc/iommu@291260000 +/arm-io/dart-scaler/mapper-scaler - -> /soc/iommu@291260000 +/arm-io/dart-scaler/mapper-scaler-piodma - -> /soc/iommu@291260000 +/arm-io/jpeg0 0x28d000000 -> /soc/jpeg@28d000000 +/arm-io/jpeg1 0x28d060000 -> /soc/jpeg@28d060000 +/arm-io/dart-jpeg0-h17p 0x28d020000 -> /soc/iommu@28d020000 +/arm-io/dart-jpeg0-h17p/mapper-jpeg0-h17p - -> /soc/iommu@28d020000 +/arm-io/dart-jpeg1-h17p 0x28d080000 -> /soc/iommu@28d080000 +/arm-io/dart-jpeg1-h17p/mapper-jpeg1-h17p - -> /soc/iommu@28d080000 +/arm-io/ave 0x285100000 -> /soc/video-codec@285100000 +/arm-io/dart-ave 0x285080000 -> /soc/iommu@285080000 +/arm-io/dart-ave/mapper-ave - -> /soc/iommu@285080000 +/arm-io/avd 0x380000000 -> /soc/avd@381080000 +/arm-io/dart-avd 0x381020000 -> /soc/iommu@381020000 +/arm-io/dart-avd/mapper-avd - -> /soc/iommu@381020000 +/arm-io/dart-avd/mapper-avd-piodma - -> /soc/iommu@381020000 +/arm-io/dart-avd/mapper-avd-adsbuf - -> /soc/iommu@381020000 +/arm-io/apr 0x295000000 -> /soc/video-codec@295000000 +/arm-io/dart-apr 0x295020000 -> /soc/iommu@295020000 +/arm-io/dart-apr/mapper-apr - -> /soc/iommu@295020000 +/arm-io/isp 0x320000000 -> /soc/isp@320000000 +/arm-io/dart-isp 0x3228c0000 -> /soc/iommu@3228c0000 +/arm-io/dart-isp/mapper-isp - -> /soc/iommu@3228c0000 +/arm-io/dart-isp/mapper-isp-mpm - -> /soc/iommu@3228c0000 +/arm-io/dart-isp/mapper-isp-epipe0-exclave - -> /soc/iommu@3228c0000 +/arm-io/dart-isp/mapper-isp-epipe1-exclave - -> /soc/iommu@3228c0000 +/arm-io/dart-isp/mapper-isp-piodma0-exclave - -> /soc/iommu@3228c0000 +/arm-io/dart-isp/mapper-isp-piodma1-exclave - -> /soc/iommu@3228c0000 +/arm-io/dart-isp/mapper-isp-exclave-secure1 - -> /soc/iommu@3228c0000 +/arm-io/isp-exclave-proxy - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/eic - -> /soc/secure-controller@340700000 +/arm-io/ane 0x400000000 -> /soc/ane@400000000 +/arm-io/dart-ane 0x401800000 -> /soc/iommu@401800000 +/arm-io/dart-ane/mapper-ane - -> /soc/iommu@401800000 +/arm-io/dart-ane/mapper-ane-iso1 - -> /soc/iommu@401800000 +/arm-io/dart-ane/mapper-ane-iso2 - -> /soc/iommu@401800000 +/arm-io/dart-ane/mapper-ane-iso3 - -> /soc/iommu@401800000 +/arm-io/dart-ane/mapper-ane-iso4 - -> /soc/iommu@401800000 +/arm-io/dart-ane/mapper-ane-iso5 - -> /soc/iommu@401800000 +/arm-io/dart-ane/mapper-ane-iso6 - -> /soc/iommu@401800000 +/arm-io/dart-ane/mapper-ane-iso7 - -> /soc/iommu@401800000 +/arm-io/dart-ane/mapper-ane-mpm - -> /soc/iommu@401800000 +/arm-io/sgx 0x480000000 -> /soc/gpu@482600000 +/arm-io/gfx-asc 0x482600000 -> /soc/gpu@482600000 +/arm-io/gfx-asc/iop-gfx-nub - -> /soc/gpu@482600000 +/arm-io/gfx1-asc 0x482e00000 -> /soc/mailbox@482e00000 +/arm-io/gfx1-asc/iop-gfx1-nub - -> /soc/mailbox@482e00000 +/arm-io/mapper-gfx-asc - -> WAIVED: GPU firmware IOMMU stream; represented by the GPU IOMMU relationship. +/arm-io/iop-audio-controller - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-hp-mic - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-hp-mic/audio-hp-mic - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-mca-loopback - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-mca-loopback/audio-mca-loopback - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-leap-internal-loopback - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-leap-internal-loopback/audio-leap-internal-loopback - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-speaker - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-speaker~2 - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-speaker/audio-speaker - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-speaker-tap - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-speaker-tap/audio-speaker-tap - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-codec-output - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-codec-output/audio-codec-output - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-codec-input - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/audio-codec-input/audio-codec-input - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/lp-mic-device - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/lp-mic-io-buffer-device - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/siri-listening-device - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/lp-mic-injection-device - -> /soc/clock-controller@300700000 +/arm-io/iop-audio-controller/lp-mic-injection-device/lp-mic-injection-device - -> /soc/clock-controller@300700000 +/arm-io/admac-base-ns 0x313800000 -> /soc/dma-controller@313800000 +/arm-io/admac-base-ns/base-ns-adma-tx-2 - -> /soc/dma-controller@313800000 +/arm-io/admac-base-ns/base-ns-adma-rx-2 - -> /soc/dma-controller@313800000 +/arm-io/admac-base-ns/base-ns-adma-rx-1 - -> /soc/dma-controller@313800000 +/arm-io/admac-base-ns/base-ns-adma-tx-3 - -> /soc/dma-controller@313800000 +/arm-io/admac-base-ns/base-ns-adma-rx-3 - -> /soc/dma-controller@313800000 +/arm-io/admac-base-ns/base-ns-adma-tx-5 - -> /soc/dma-controller@313800000 +/arm-io/admac-leap-ns 0x313300000 -> /soc/dma-controller@313300000 +/arm-io/admac-leap-ns/leap-ns-adma-tx-0 - -> /soc/dma-controller@313300000 +/arm-io/admac-leap-ns/leap-ns-adma-tx-4 - -> /soc/dma-controller@313300000 +/arm-io/admac-leap-ns/leap-ns-adma-rx-4 - -> /soc/dma-controller@313300000 +/arm-io/admac-leap-s 0x313200000 -> /soc/dma-controller@313200000 +/arm-io/admac-leap-s/leap-s-adma-rx-0 - -> /soc/dma-controller@313200000 +/arm-io/admac-leap-s-rx-0-proxy 0x353200000 -> /soc/dma-controller@353200000 +/arm-io/audio-hp-mic-proxy - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/audio-shared-dart-proxy - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/smctempsensor0 - -> /soc/smc@30c600000/hwmon +/arm-io/cpu-debug-interface - -> /cpus +/arm-io/timesync - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/arm-io/aod2 - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/aod3 - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/aod4 - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/fillmore - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/arm-io/siri-exclave-timebase 0x3482a8000 -> /soc/secure-timebase@3482a8000 +/arm-io/isp-exclave-s-proxy 0x361800000 -> /soc/isp-secure-proxy@361800000 +/arm-io/secure-repair 0x3081f0000 -> /soc/pinctrl@3081f0000 +/arm-io/apple-processor-trace - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/arm-io/hib-exclave-watchdog 0x3482b0000 -> /soc/secure-watchdog@3482b0000 +/buttons - -> WAIVED: Button collection container; child devices are inventoried separately. +/dock-debug-wireless - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/dock-connect 0x3082d8008 -> /soc/debug-dock@3082d8008 +/port-usb-c-1 - -> /soc/spmi@308908000/usb-pd@c/connector +/port-usb-c-2 - -> /soc/spmi@308908000/usb-pd@a/connector +/backlight - -> /soc/dcp@412e00000 +/fillmore - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/sacm - -> WAIVED: Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +/exbright - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/exbright/backlight-exbright - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. +/exclaves-test - -> WAIVED: Firmware runtime policy or service metadata; not an independently addressable hardware device. diff --git a/arch/arm64/boot/dts/apple/adt-coverage/waivers.txt b/arch/arm64/boot/dts/apple/adt-coverage/waivers.txt new file mode 100644 index 0000000000000..e0b8a530999d4 --- /dev/null +++ b/arch/arm64/boot/dts/apple/adt-coverage/waivers.txt @@ -0,0 +1,948 @@ +# SPDX-License-Identifier: GPL-2.0-only +# board-glob ADT-path-glob | reason +# Patterns apply to a single path component; ** is deliberately unsupported. +# Hardware without a DT representation must remain MISSING until reviewed. +* /arm-io | ADT SoC bus container; child hardware is inventoried separately. +* /cpus | CPU collection container; individual CPUs are checked separately. +* /arm-io/pmgr/power-domains | ADT power-domain collection container; individual domains require review. +* /arm-io/pmgr/power-devices | ADT power-device collection container; individual power-state records are checked separately. + +# Reviewed logical records; exact board and path rules. +t6000-j316s /arm-io/pmgr/power-devices/ANE-SYS-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ANE-SYS-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_ADMA0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_AUDIO_ADMA0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_AUDIO_SHIM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_BASE | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_CPU | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_FILTER | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_FR | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_GPIO | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_I2CM0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_I2CM1 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_LEAP | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_LEAP_CLK | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_MCA0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_MCA1 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_PDM0_REF | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_PDM1_REF | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_PDMC_LPD | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_SCM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_SHIM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_SPI0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_SPMI0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_SPMI1 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_SRAM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_UART0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_UART1 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AOP_UART2 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/APCIE-ST-SYS-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC0-USB-AUD-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC0-USB-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC0-USB-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC0_RESET-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC1-USB-AUD-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC1-USB-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC1-USB-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC1_RESET-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC2-USB-AUD-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC2-USB-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC3-USB-AUD-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ATC3-USB-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AUDIO-LLT-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AUDIO-P-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AUSB0_AONPCIE-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AUSB0_AONUSB-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AUSB1_AONPCIE-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AUSB1_AONUSB-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AUSB2_AONPCIE-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AUSB2_AONUSB-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AUSB3_AONPCIE-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AUSB3_AONUSB-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AVD-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AVD-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AVD-SYS-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AVD-SYS-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/AVEMSR-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/C0-USBCTL-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/CIO0_RECONFIG-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/CIO1_RECONFIG-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/CIO2_RECONFIG-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/CIO3_RECONFIG-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/CPU-BUSY | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DCS-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DCS-VNOM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP-CARVE-OUT | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP-FB-ACTIVE | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP-MIE-DPB | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP0_BE | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP0_BLC | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP0_BRC | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP0_CPU0-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP0_DP | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP0_GP0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP0_GP1 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP0_PPP | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP0_SPI | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISP0_SPMI | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT0_BE | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT0_CPU0-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT0_DP | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT0_DSC | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT0_GP0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT0_GP1 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT0_PPP | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT1_BE | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT1_CPU0-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT1_DP | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT1_DSC | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT1_GP0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT1_GP1 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DISPEXT1_PPP | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DP0-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DP1-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DP2-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/DP3-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ECPU | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/FR-SCALING-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/GFX-ASC | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/GFX-BUSY | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/GFX-SGX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ISP-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ISP-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ISP-SYS-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/ISP-SYS-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/JPG-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/JPG-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/JPG0-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/JPG0-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/JPG1-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/JPG1-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/JPG1-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/JPG1-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/MSR0-AVMSR-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/MSR0-AVMSR-VMD2 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/MSR0-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/MSR0-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/MSR1-AVMSR-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/MSR1-AVMSR-VMD2 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/PCPU0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/PCPU1 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/PLACEHOLDER | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SCODEC-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SCODEC-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SCODEC-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SCODEC-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SEP-PEARL-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SEP-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SEP_EISP | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SIO-CPU-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SIO-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_AON | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_CPU | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_FABRIC | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_FPWM0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_FPWM1 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_FPWM2 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_FPWM3 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_GPIO | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_I2CM0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_I2CM1 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_I2CM2 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_I2CM3 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_I2CM4 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_I2CM5 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_I2CM6 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_UART0 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SMC_UART1 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/USB-AUDIO-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/VDD_CIO-V | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/VENC-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/VENC-FAB0-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/VENC-MEM-FAST | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/VENC-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/VENC-SOC-VMID2 | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/VENC-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/VENC-SYS-DART | Virtual PMGR vote; no independent power-state register. +t6000-j316s /arm-io/pmgr/power-devices/VENC-SYS-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/aod2 | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/apple-processor-trace | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/dcp0-expert | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/dcp0-sac-controller | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/dcpext0-expert | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/dcpext1-expert | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/dp-audio0 | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/dp-audio3 | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/dp-audio4 | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/iop-audio-controller/audio-leap-internal-loopback | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/iop-audio-controller/audio-mca-loopback | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/iop-audio-controller/lp-mic-device | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/iop-audio-controller/lp-mic-io-buffer-device | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/iop-audio-controller/siri-listening-device | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/iop-voicetrigger-controller | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/iop-voicetrigger-controller/audio-vt-device | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/mtp-aop-mux | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t6040-j616s /arm-io/pmgr/power-devices/ANE-SYS-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ANE-SYS-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ANE-SYS-V-PMP | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_BASE | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_CPU | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_FILTER | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_FR | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_GPIO | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_HE_NRCS0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_HE_NRCS1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_I2CM0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_I2CM1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_I2CM2 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_PIODMA | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_SCM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_SHIM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_SPI0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_SPI1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_SPMI0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_SPMI1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_UART0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_UART1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AOP_UART2 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/APCIE-SYS-GX-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/APCIE-SYS-STX-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ATC0-USB-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ATC0-USB-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ATC0_USB_AON_V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ATC1-USB-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ATC1-USB-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ATC1_USB_AON_V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ATC2-USB-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ATC2_USB_AON_V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ATC3-USB-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ATC3_USB_AON_V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO-LLT-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO-P-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_A | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_BASE_NS_A | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_BASE_S_A | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_FR | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_LEAP_A | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_LEAP_C | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_LEAP_MCA | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_LEAP_NS_A | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_LEAP_RX0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_LEAP_RX1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_LEAP_RX2 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_LEAP_RX3 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_LEAP_RX4 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_LEAP_S_A | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_LEAP_TX0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_MCA0_M | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_MCA1_M | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_MCA2_M | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_MCA3_M | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_MCA4_M | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_MCA5_M | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_P | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUDIO_SENSE_PDMC | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUSB0-AONPCIE-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUSB1-AONPCIE-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUSB2-AONPCIE-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AUSB3-AONPCIE-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AVD-SOC-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AVD-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AVD-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AVD-SYS-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/CIO0-RECONFIG-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/CIO1-RECONFIG-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/CIO2-RECONFIG-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/CIO3-RECONFIG-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP-CARVE-OUT | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP-CPU-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP-FB-ACTIVE | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP-MIE-DPB | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT0-CPU-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT0_DBE | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT0_DSC | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT0_GP0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT0_GP1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT0_GPL | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT0_PPP | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT1-CPU-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT1_DBE | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT1_DSC | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT1_GP0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT1_GP1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT1_GPL | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT1_PPP | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT2-CPU-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT2_DBE | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT2_DSC | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT2_GP0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT2_GP1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT2_GPL | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT2_PPP | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT3-CPU-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT3_DBE | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT3_DSC | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT3_GP0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT3_GP1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT3_GPL | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT3_PPP | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT_RAIL_V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP_BLC | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP_BRC | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP_CMB | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP_DBE | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP_GP0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP_GP1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP_GPL | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP_PPP | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP_SPI | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DISP_SPMI | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DP | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DPEXT0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DPEXT1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DPEXT2 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DPEXT3 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DPRX | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/DPTX_PHY | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/EACC0_0_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/EACC0_1_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/EACC0_2_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/EACC0_3_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ECPM0_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ECPM_NRG | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/GFX-ASC | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/GFX-BUSY | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/GFX-SGX | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ISP-CORE-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ISP-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ISP-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ISP-SYS-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ISP-SYS-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ISP_BE | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ISP_CLR | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/ISP_SECURE | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/JPG-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/JPG-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/JPG0-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/JPG0-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/JPG1-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/JPG1-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/LOGICAL_CLUSTER | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MSR0-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MSR0-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MSR0-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MSR0-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MSR1-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MSR1-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MSR1-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MSR1-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_BASE | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_CPU | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_DMA | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_FABRIC | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_FAB_V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_GPIO | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_I2CM0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_PERIPH | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_SCM_FABRIC | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_SHIM_PCLK | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_SPI0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_SPI1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/MTP_UART0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC0_0_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC0_1_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC0_2_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC0_3_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC0_4_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC0_5_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC1_0_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC1_1_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC1_2_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC1_3_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC1_4_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PACC1_5_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PCPM0_NRG | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PCPM0_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PCPM1_NRG | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PCPM1_SRAM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PDM0_AUDIO_REF | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/PDM1_AUDIO_REF | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SCODEC-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SCODEC-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SCODEC-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SCODEC-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SIO-CPU-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SIO-DART-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_AON | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_CPU | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_FABRIC | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_FAB_V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_FPWM0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_FPWM1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_FPWM2 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_FPWM3 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_GPIO | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_I2CM0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_I2CM1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_I2CM2 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_I2CM3 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_I2CM4 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_I2CM5 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_I2CM6 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_PTD | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_UART0 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/SMC_UART1 | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/TRACE_FAB | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/VENC0-FAST | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/VENC0-MEM-FAST | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/VENC0-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/VENC0-SYS-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/VENC0-SYS-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/VENC1-FAST | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/VENC1-MEM-FAST | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/VENC1-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/VENC1-SYS-DART | Virtual PMGR vote; no independent power-state register. +t6040-j616s /arm-io/pmgr/power-devices/VENC1-SYS-V | Virtual PMGR vote; no independent power-state register. +t6040-j616s /sacm | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8112-j413 /arm-io/pmgr/power-devices/ANE-SYS-DART | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ANE-SYS-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ANE_CPU | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_ADMA0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_AUDIO_ADMA0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_AUDIO_SHIM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_BASE | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_CPU | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_FILTER | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_FR | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_GPIO | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_I2CM0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_I2CM2 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_LEAP | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_LEAP_CLK | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_MCA0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_MCA1 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_MCA2 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_MCA3 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_MCA4 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_MCA5 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_PDM0_REF | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_PDM1_REF | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_PDMC_LPD | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_PIODMA | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_SCM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_SHIM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_SPI0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_SPI1 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_SPMI0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_SPMI1 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_UART0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_UART1 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AOP_UART2 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ATC0-USB-AUD-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ATC0-USB-DART | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ATC0_PCIE-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ATC1-USB-AUD-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ATC1-USB-DART | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ATC1_PCIE-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AUDIO-LLT-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AUDIO-P-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AUSB0_AONPCIE-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AUSB0_AONUSB-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AUSB1_AONPCIE-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AUSB1_AONUSB-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AVD-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AVD-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AVD-SYS-DART | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/AVD-SYS-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/CIO0_RECONFIG-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/CIO1_RECONFIG-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/CLPC-DCS-VMAX | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/CLPC-DCS-VNOM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/CLPC-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/CLPC-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/CPU-BUSY | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DCP0-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DCPEXT0-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DFR-CARVE-OUT | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DFR-FB-ACTIVE | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DFR-MIE-DPB | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP-CARVE-OUT | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP-FB-ACTIVE | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP-MIE-DPB | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP0_BE | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP0_BLC | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP0_BRC | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP0_GP0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP0_GP1 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP0_GP2 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP0_PPP | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP0_SPI | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISP0_SPMI | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISPDFR-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISPEXT_BE | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISPEXT_DSC | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISPEXT_GP0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISPEXT_GP1 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISPEXT_GP2 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DISPEXT_PPP | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DP | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DP-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DP0_VMAX-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DP1_VMAX-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DPEXT | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/DPTX_PHY | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ECPM_NRG | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ECPU0_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ECPU1_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ECPU2_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ECPU3_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ECPU_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/FR_SCALING-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/GFX-ASC | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/GFX-BUSY | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/GFX-SGX | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ISP-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ISP-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ISP-SYS-DART | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ISP-SYS-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ISP_CPU_CORE0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/ISP_CPU_CORE1 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/JPG-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/JPG-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/JPG0-DART | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/JPG0-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/JPG1-DART | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/JPG1-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MSR-DART | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MSR-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MTP_BASE | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MTP_CPU | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MTP_DMA | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MTP_FABRIC | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MTP_GPIO | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MTP_I2CM0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MTP_PERIPH | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MTP_SCM_FABRIC | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MTP_SPI0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MTP_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/MTP_UART0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/PCPM_NRG | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/PCPU0_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/PCPU1_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/PCPU2_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/PCPU3_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/PCPU_SRAM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/PRORES_VMAX-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/PRORES_VNOM-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SCDC_VMAX-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SCDC_VNOM-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SDEC-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SDEC-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SEP-PEARL-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SEP_EISP | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SIO-CPU-DART | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SIO-CPU-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_AON | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_CPU | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_FABRIC | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_FPWM0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_FPWM1 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_FPWM2 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_FPWM3 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_GPIO | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_I2CM0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_I2CM1 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_I2CM2 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_I2CM3 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_I2CM4 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_UART0 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/SMC_UART1 | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/USB-AUDIO-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/VDD_CIO-V | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/VENC-AVE-VMAX | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/VENC-AVE-VNOM | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/VENC-DART | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/VENC-MEM-FAST | Virtual PMGR vote; no independent power-state register. +t8112-j413 /arm-io/pmgr/power-devices/VENC-SYS-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/aod2 | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/aod3 | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/aod4 | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/apple-processor-trace | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/audio-hp-mic-proxy | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/audio-shared-dart-proxy | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/dcp-exclave-ioreporting | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/dcp-sac-controller | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/dcp0-expert | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/dcpext-expert | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/dp-audio0 | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/dp-audio1 | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/exdisplaypipe | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/iop-audio-controller/audio-leap-internal-loopback | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/iop-audio-controller/audio-mca-loopback | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/iop-audio-controller/audio-speaker-tap | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/iop-audio-controller/lp-mic-device | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/iop-audio-controller/lp-mic-injection-device | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/iop-audio-controller/lp-mic-io-buffer-device | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/iop-audio-controller/siri-listening-device | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/iop-voicetrigger-controller | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/iop-voicetrigger-controller/audio-vt-device | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/isp-exclave-proxy | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/mtp-aop-mux | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/nco | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /arm-io/pmgr/power-devices/AFCMCCNI0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AFIAFT | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AFIMCCNI0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AFINS0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AFISOCNI0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AFISOCNI1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AFISOCNI2 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AMCC0_P0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AMCC0_P1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AMCC0_P2 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AMCC0_P3 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ANE-SYS-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ANE-SYS-V-PMP | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ANE_CPU | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP2_CPU | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP2_PIODMA | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_BASE | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_CPU | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_FILTER | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_FR | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_GPIO | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_HE_NRCS0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_HE_NRCS1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_I2CM0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_I2CM1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_I2CM2 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_I2CM3 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_PIODMA | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_SCM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_SHIM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_SPI0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_SPI1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_SPMI0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_SPMI1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_SRAM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_UART0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_UART1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AOP_UART2 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/APCIE_SYS_ST-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ATC0-DCS-F1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ATC0-DCS-F2 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ATC0-DCS-F3 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ATC0-DCS-F4 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ATC0-DCS-F5 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ATC0-USB-AUD-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ATC0-USB-DART | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO-LLT-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO-P-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_A | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_BASE_NS_A | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_BASE_S_A | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_FR | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_LEAP_A | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_LEAP_C | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_LEAP_MCA | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_LEAP_NS_A | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_LEAP_RX0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_LEAP_RX1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_LEAP_RX2 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_LEAP_RX3 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_LEAP_RX4 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_LEAP_S_A | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_LEAP_TX0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_MCA0_M | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_MCA1_M | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_MCA2_M | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_MCA3_M | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_MCA4_M | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_MCA5_M | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_P | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUDIO_SENSE_PDMC | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AUSB0_AONUSB-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AVD-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AVD-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/AVD-SYS-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/CLPC-DCS-VMAX | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/CLPC-DCS-VNOM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/CLPC-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/CLPC-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/CPU-BUSY | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DCP0-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DCPEXT0-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DCS0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DCS1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DCS2 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DCS3 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISP-CARVE-OUT | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISP-FB-ACTIVE | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISP-MIE-DPB | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISPEXT0_DBE | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISPEXT0_GPPP | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISP_CMB | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISP_DBE | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISP_EXT0_M3 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISP_GP0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISP_GP1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISP_HILO | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISP_INT_M3 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DISP_PPP | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DP | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DPEXT0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DPRX | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DPTX_PHY | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/DSG | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ECPU0_SRAM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ECPU1_SRAM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ECPU2_SRAM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ECPU3_SRAM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ECPU_NRG | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ECPU_SRAM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/FR_SCALING-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/GFX-ASC | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/GFX-ASC1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/GFX-BUSY | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/GFX-SGX | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/HPD | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP-CORE-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP-SYS-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_BE | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_CLR | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_CPU | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_CPU_CORE0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_CPU_CORE1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_CVD | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_CVM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_FE | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_PEARL | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_SECURE | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_STS0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/ISP_STS1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/JPG-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/JPG-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/JPG0-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/JPG1-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MIPI_DSI | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MSR-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MSR-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MSR-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MTP_BASE | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MTP_CPU | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MTP_DMA | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MTP_FABRIC | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MTP_GPIO | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MTP_I2CM0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MTP_PERIPH | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MTP_SCM_FABRIC | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MTP_SPI0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MTP_SRAM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/MTP_UART0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/NUB_AON | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/NUB_HE_NRCS0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/NUB_HE_NRCS1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/PCPU0_SRAM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/PCPU1_SRAM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/PCPU_NRG | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/PCPU_SRAM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/PDM0_AUDIO_REF | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/PDM1_AUDIO_REF | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/PIOGW | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/PMS | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/PMS_BUSIF | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/PRORES-SOC-VMAX | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/PRORES-SOC-VNOM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SBR | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SEP-PEARL-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SIO | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SIO-CPU-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SMC_AON | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SMC_CPU | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SMC_FABRIC | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SMC_FPWM0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SMC_FPWM1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SMC_FPWM2 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SMC_FPWM3 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SMC_GPIO | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SMC_PTD | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SMC_UART0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/SMC_UART1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/USB-AUDIO-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/USB_SLP_DDR-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC-CLSTR-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC0-AVE-VMAX | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC0-AVE-VNOM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC0-MEM-FAST | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC0-SYS-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC1-AVE-VMAX | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC1-AVE-VNOM | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC1-MEM-FAST | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC1-SYS-V | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC1_DMA | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC1_ME0 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC1_ME1 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC1_PIPE4 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC1_PIPE5 | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/pmgr/power-devices/VENC1_SYS | Virtual PMGR vote; no independent power-state register. +t8140-j700 /arm-io/smc/iop-smc-nub/smc-mogul | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /dock-debug-wireless | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. +t8140-j700 /sacm | Logical firmware service or diagnostic view; represented through coprocessor discovery, not an independent AP device. + +# Logical relationships; their parent hardware remains independently inventoried. +* /arm-io/dart-*/mapper-* | IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. +* /arm-io/mapper-gfx-asc | GPU firmware IOMMU stream; represented by the GPU IOMMU relationship. +* /arm-io/*/iop-*-nub | Firmware endpoint container; hosting coprocessor is inventoried separately. +* /arm-io/*/iop-*-nub0 | Firmware endpoint container; hosting coprocessor is inventoried separately. +* /arm-io/*/iop-*-nub/* | Firmware-discovered coprocessor service; no independent MMIO device. +* /arm-io/*/iop-*-nub/*/* | Logical child of a firmware-discovered coprocessor service. +* /arm-io/*/adma-tx-* | DMA channel of the parent ADMAC controller, described by dmas. +* /arm-io/*/adma-rx-* | DMA channel of the parent ADMAC controller, described by dmas. +* /arm-io/spi*/spinor/firmware | Firmware flash partition; parent flash hardware is inventoried separately. +* /arm-io/spi*/spinor/anvram | Firmware NVRAM partition; parent flash hardware is inventoried separately. +* /arm-io/spi*/spinor/syscfg | Firmware configuration partition; parent flash hardware is inventoried separately. +* /arm-io/qspi/spinor/firmware | Firmware flash partition; parent flash hardware is inventoried separately. +* /arm-io/qspi/spinor/anvram | Firmware NVRAM partition; parent flash hardware is inventoried separately. +* /arm-io/qspi/spinor/syscfg | Firmware configuration partition; parent flash hardware is inventoried separately. +* /arm-io/pmgr/clpc | Firmware performance policy; PMGR and PMP hardware are inventoried separately. +* /arm-io/pmgr/ppm | Firmware power policy; PMGR and PMP hardware are inventoried separately. +* /arm-io/pmgr/soc-tuner | Firmware tuning policy; not an independent hardware block. +* /buttons | Button collection container; child devices are inventoried separately. + +# Runtime/policy objects explicitly distinguished by the board audit. +t6040-j616s /arm-io/dynamic-pil | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t6040-j616s /arm-io/dynamic-pil/cil | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t6040-j616s /arm-io/pmgrtools | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t6040-j616s /arm-io/sapt | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t6040-j616s /arm-io/timesync | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t6040-j616s /arm-io/fillmore | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t8140-j700 /arm-io/sapt | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t8140-j700 /arm-io/pmgrtools | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t8140-j700 /arm-io/timesync | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t8140-j700 /arm-io/fillmore | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t8140-j700 /fillmore | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t8140-j700 /exbright | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t8140-j700 /exbright/backlight-exbright | Firmware runtime policy or service metadata; not an independently addressable hardware device. +t8140-j700 /exclaves-test | Firmware runtime policy or service metadata; not an independently addressable hardware device. + +# PMGR performance-domain records do not have independent power-state registers. +# Exact power-state label matches take precedence over this logical-domain rule. +* /arm-io/pmgr/power-domains/* | Logical PMGR performance domain; physical power-state records are inventoried separately. +* /arm-io/admac-*/base-*-adma-* | DMA channel of the parent ADMAC controller, described by dmas. +* /arm-io/admac-*/leap-*-adma-* | DMA channel of the parent ADMAC controller, described by dmas. + +# Native OS policy and diagnostic views, not independently addressed devices. +* /arm-io/sapt | Firmware audio performance policy, not an independent hardware block. +* /arm-io/timesync | Firmware clock synchronization policy, not a separate timer device. +* /arm-io/apple-processor-trace | Native diagnostic trace policy; CPU debug hardware is inventoried separately. +* /arm-io/pmgrtools | Native PMGR diagnostic access service; PMGR hardware is inventoried separately. +* /arm-io/dp-audio? | Logical display audio DMA endpoint; SIO and display controllers are inventoried separately. +* /arm-io/*-expert | Coprocessor firmware policy view; hosting coprocessor is inventoried separately. +* /arm-io/dcp-sac-controller | Logical display firmware service; hosting DCP is inventoried separately. +* /arm-io/lcd0-sac | Display access-control policy; hosting DCP is inventoried separately. +* /arm-io/mtp-aop-mux | Firmware transport arbitration policy; MTP and AOP hardware are inventoried separately. +* /arm-io/ans/ans-pcie | Internal coprocessor PCI topology; represented by the ANS controller. +* /arm-io/*/wlan-debug | Logical debug endpoint of the parent UART; UART hardware is inventoried separately. +* /arm-io/*/bluetooth-debug | Logical debug endpoint of the parent UART; UART hardware is inventoried separately. +* /arm-io/*/pci-bridge? | PCI root-port topology; PCIe controller hardware is inventoried separately. +* /arm-io/*/pcic?-bridge | PCI root-port topology; PCIe controller hardware is inventoried separately. +* /arm-io/*/stockholm-spmi/stockholm | NFC firmware service of the parent SPMI device, not another addressed bus device. +* /sacm | Display access-control policy; display hardware is inventoried separately. + +# Services whose independently addressed providers are counted elsewhere. +* /pcie-sdreader-helper | Firmware SD-card policy helper; PCIe reader hardware is inventoried separately. +* /port-hdmi* | Logical DCP output interface; display controllers and their routes are inventoried separately. +* /arm-io/dp2hdmi-gpio | Logical display GPIO routing helper; GPIO controller hardware is inventoried separately. +* /arm-io/nub-swd0 | Native debug access service; debug hardware is inventoried separately. + +# Saved live tables: reviewed virtual votes, each without a power-state register. +t6040-j616s /arm-io/pmgr/power-devices/AMCC16 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_16 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC17 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_17 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC18 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_18 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC19 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_19 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC24 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_24 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC25 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_25 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC26 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_26 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC27 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/VENC1_SYS | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/VENC1_DMA | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/VENC1_PIPE4 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/VENC1_PIPE5 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/VENC1_ME0 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/VENC1_ME1 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT3_SYS | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT3_FE | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT3_CPU | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT2_SYS | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT2_FE | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DISPEXT2_CPU | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_27 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC20 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC21 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC22 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC23 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC28 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC29 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC30 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/AMCC31 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_20 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_21 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_22 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_23 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_28 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_29 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_30 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/DCS_31 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/MSR1 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/MSR1_ASE_CORE | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/ISP_CPU | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /arm-io/pmgr/power-devices/ISP_FE | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6040-j616s /port-t818-1 | Firmware accessory-port relationship of the SMC; no independently addressed bus or MMIO device. +t6040-j616s /arm-io/spi4/dp855/lcd-pmicwp | Firmware write-protection view of the panel power-management interface mediated by DP855; not an independent host bus device. +t6040-j616s /arm-io/spi4/dp855/lcd-pmic | Firmware panel power-management register-access view mediated by DP855; its address is internal to the TCON transport. +t6040-j616s /arm-io/spi4/dp855/lcd-sswp | Firmware write-protection view of the panel source-driver interface mediated by DP855; not an independent host bus device. +t6040-j616s /arm-io/spi4/dp855/lcd-ss | Firmware panel source-driver register-access view mediated by DP855; its address is internal to the TCON transport. +t6040-j616s /arm-io/spi4/dp855/tcon-registers | Firmware register-access view of the DP855 itself; the panel timing controller represents this hardware. +t6040-j616s /arm-io/spi4/dp855/lcd-eeprom | Firmware view of panel nonvolatile storage mediated by DP855; no independently addressed host bus endpoint. +t6000-j316s /arm-io/pmgr/power-devices/PMS_FPWM0 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6000-j316s /arm-io/pmgr/power-devices/PMS_FPWM1 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6000-j316s /arm-io/pmgr/power-devices/PMS_FPWM2 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6000-j316s /arm-io/pmgr/power-devices/PMS_FPWM3 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6000-j316s /arm-io/pmgr/power-devices/PMS_FPWM4 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6000-j316s /arm-io/pmgr/power-devices/AFNC3_IOA | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6000-j316s /arm-io/pmgr/power-devices/AFNC3_LS | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6000-j316s /arm-io/pmgr/power-devices/AFNC3_LW0 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6000-j316s /arm-io/pmgr/power-devices/GP_USB_AON | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t6000-j316s /port-t818-1 | Firmware accessory-port relationship of the SMC; no independently addressed bus or MMIO device. +t6000-j316s /arm-io/spi4/dp855/lcd-pmicwp | Firmware write-protection view of the panel power-management interface mediated by DP855; not an independent host bus device. +t6000-j316s /arm-io/spi4/dp855/lcd-pmic | Firmware panel power-management register-access view mediated by DP855; its address is internal to the TCON transport. +t6000-j316s /arm-io/spi4/dp855/lcd-sswp | Firmware write-protection view of the panel source-driver interface mediated by DP855; not an independent host bus device. +t6000-j316s /arm-io/spi4/dp855/lcd-ss | Firmware panel source-driver register-access view mediated by DP855; its address is internal to the TCON transport. +t6000-j316s /arm-io/spi4/dp855/tcon-registers | Firmware register-access view of the DP855 itself; the panel timing controller represents this hardware. +t6000-j316s /arm-io/spi4/dp855/lcd-eeprom | Firmware view of panel nonvolatile storage mediated by DP855; no independently addressed host bus endpoint. +t8112-j413 /arm-io/pmgr/power-devices/PMS_FPWM0 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t8112-j413 /arm-io/pmgr/power-devices/PMS_FPWM1 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t8112-j413 /arm-io/pmgr/power-devices/PMS_FPWM2 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t8112-j413 /arm-io/pmgr/power-devices/PMS_FPWM3 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t8112-j413 /arm-io/pmgr/power-devices/PMS_FPWM4 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t8112-j413 /arm-io/pmgr/power-devices/AOP_I2CM1 | Virtual PMGR vote marked as having no power-state register in the live table; not a separate power controller. +t8112-j413 /port-t818-1 | Firmware accessory-port relationship of the SMC; no independently addressed bus or MMIO device. +t8112-j413 /arm-io/spi4/dp855/lcd-pmicwp | Firmware write-protection view of the panel power-management interface mediated by DP855; not an independent host bus device. +t8112-j413 /arm-io/spi4/dp855/lcd-pmic | Firmware panel power-management register-access view mediated by DP855; its address is internal to the TCON transport. +t8112-j413 /arm-io/spi4/dp855/lcd-sswp | Firmware write-protection view of the panel source-driver interface mediated by DP855; not an independent host bus device. +t8112-j413 /arm-io/spi4/dp855/lcd-ss | Firmware panel source-driver register-access view mediated by DP855; its address is internal to the TCON transport. +t8112-j413 /arm-io/spi4/dp855/tcon-registers | Firmware register-access view of the DP855 itself; the panel timing controller represents this hardware. +t8112-j413 /arm-io/spi4/dp855/lcd-eeprom | Firmware view of panel nonvolatile storage mediated by DP855; no independently addressed host bus endpoint. diff --git a/arch/arm64/boot/dts/apple/t6000-aux-spmi.dtsi b/arch/arm64/boot/dts/apple/t6000-aux-spmi.dtsi new file mode 100644 index 0000000000000..9f2393caecb77 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6000-aux-spmi.dtsi @@ -0,0 +1,144 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled auxiliary SPMI resources; primary polled PMIC access is retained. */ + +&{/soc} { + primary_spmi_monitor: spmi-monitor@2920a0e00 { + compatible = "apple,t6000-spmi-monitor", "apple,spmi-monitor"; + reg = <0x2 0x920a0e00 0x0 0x100>, + <0x2 0x920a0400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + apple,controller = <&nub_spmi0>; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <0>; + status = "disabled"; + }; +}; + +&pmic1 { + battery_monitor: battery-monitor { + compatible = "apple,t6000-battery-monitor", "apple,battery-monitor"; + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <62 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + +&nub_spmi1 { + reg = <0x2 0x920a9300 0x0 0x100>, + <0x2 0x920a8e00 0x0 0x100>, + <0x2 0x920a8400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@e { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + read-only; + status = "disabled"; + }; + spmi-device@d { + compatible = "apple,t6000-viper-spmi", "apple,viper-spmi"; + reg = <0xd SPMI_USID>; + status = "disabled"; + }; +}; + +&clvr_spmi0 { + reg = <0x2 0x8e501100 0x0 0x100>, + <0x2 0x8e500e00 0x0 0x100>, + <0x2 0x8e500400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi1 { + reg = <0x2 0x8e509100 0x0 0x100>, + <0x2 0x8e508e00 0x0 0x100>, + <0x2 0x8e508400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi2 { + reg = <0x2 0x8e511100 0x0 0x100>, + <0x2 0x8e510e00 0x0 0x100>, + <0x2 0x8e510400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&aop_spmi0 { + reg = <0x2 0x93829300 0x0 0x100>, + <0x2 0x93828e00 0x0 0x100>, + <0x2 0x93828400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + spmi-device@e { + compatible = "apple,t6000-wifibt-pmu", "apple,radio-pmu"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + spmi-device@f { + compatible = "apple,t6000-uwb-pmu", "apple,radio-pmu"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; +}; + +&aop_spmi1 { + reg = <0x2 0x9382d300 0x0 0x100>, + <0x2 0x9382ce00 0x0 0x100>, + <0x2 0x9382c400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + stockholm: nfc@c { + compatible = "apple,t6000-stockholm-spmi", "apple,stockholm-spmi"; + reg = <0xc SPMI_USID>; + interrupt-parent = <&aop_spmi1>; + interrupts = <160 IRQ_TYPE_NONE>, + <161 IRQ_TYPE_NONE>, + <162 IRQ_TYPE_NONE>, + <163 IRQ_TYPE_NONE>, + <164 IRQ_TYPE_NONE>, + <165 IRQ_TYPE_NONE>, + <166 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + + +&pmic1 { + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <2 IRQ_TYPE_NONE>; +}; diff --git a/arch/arm64/boot/dts/apple/t6000-j316s.dts b/arch/arm64/boot/dts/apple/t6000-j316s.dts index 8ec8a0c91715c..5fca6c4d4a8c9 100644 --- a/arch/arm64/boot/dts/apple/t6000-j316s.dts +++ b/arch/arm64/boot/dts/apple/t6000-j316s.dts @@ -72,6 +72,54 @@ apple,machine-kind = "MacBook Pro"; }; +&aop { + accel { + compatible = "apple,t6000-aop-accel", "apple,aop-accel"; + status = "disabled"; + }; + + gyro { + compatible = "apple,t6000-aop-gyro", "apple,aop-gyro"; + status = "disabled"; + }; +}; + +&nub_spmi1 { + pmic@e { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi0 { + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi1 { + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi2 { + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + &sound { compatible = "apple,j316-macaudio", "apple,macaudio"; model = "MacBook Pro J316"; diff --git a/arch/arm64/boot/dts/apple/t6000-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6000-peripherals.dtsi new file mode 100644 index 0000000000000..57a65f7d8db0d --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6000-peripherals.dtsi @@ -0,0 +1,583 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled resource descriptions for T6000. */ + +&{/soc} { + ane0_dma: dma-controller@285804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x2 0x85804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys>; + status = "disabled"; + }; + + aic_timebase: timer@28e148000 { + compatible = "apple,t6000-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x8e148000 0x0 0x1000>; + status = "disabled"; + }; + + dwi: bus-controller@28e208000 { + compatible = "apple,t6000-dwi", "apple,dwi"; + reg = <0x2 0x8e208000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + dockchannel_uart: fifo@29250c000 { + compatible = "apple,t6000-dockchannel", "apple,dockchannel"; + reg = <0x2 0x9250c000 0x0 0x18>; + interrupt-parent = <&aic>; + interrupts = ; + reg-names = "irq"; + ranges = <0 0x2 0x92528000 0x10004>; + #address-cells = <1>; + #size-cells = <1>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + }; + + apr0: video-codec@311000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + iommus = <&apr0_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr0_dart: iommu@311008000 { + compatible = "apple,t8110-dart"; + reg = <0x3 0x11008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + aes: crypto@39b060000 { + compatible = "apple,t6000-aes", "apple,aes"; + reg = <0x3 0x9b060000 0x0 0x4000>, + <0x2 0x922d0000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&sio_dart_0 1>, <&sio_dart_1 1>; + status = "disabled"; + }; + + jpeg0: jpeg@409000000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg0_dart 0>; + status = "disabled"; + }; + + jpeg0_dart: iommu@409004000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x09004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg1: jpeg@409008000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg1_dart 0>; + status = "disabled"; + }; + + jpeg1_dart: iommu@40900c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0900c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler0: scaler@40b000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x4 0x0b000000 0x0 0x28000>, + <0x4 0x0b210000 0x0 0x4000>, + <0x4 0x0b204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0>, <&ps_msr0_ase_core>; + clocks = <&peripheral_clocks 356>; + iommus = <&scaler0_dart 0>, <&scaler0_dart 1>; + resets = <&ps_msr0>; + status = "disabled"; + }; + + scaler0_dart: iommu@40b200000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x0b200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr0>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave0_dma: dma-controller@40d020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x4 0x0d020000 0x0 0x4000>, + <0x4 0x0d044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + status = "disabled"; + }; + + atc0_dpin0: displayport@701e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc0_dpin1: displayport@701e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart 15>; + status = "disabled"; + }; + + atc1_dpin0: displayport@b01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin1: displayport@b01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart 15>; + status = "disabled"; + }; + + atc2_dpin0: displayport@f01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc2_dpin1: displayport@f01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec2_dart 15>; + status = "disabled"; + }; +}; + +&{/soc} { + + mcc: memory-controller@200000000 { + compatible = "apple,t6000-mcc", "apple,mcc"; + reg = <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>; + status = "disabled"; + }; + + soc_events: event-log@28e080000 { + compatible = "apple,t6000-event-log", "apple,soc-event-log"; + reg = <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x8e580000 0x0 0x80000>, + <0x2 0x8e680000 0x0 0x74000>, + <0x2 0x8e45c000 0x0 0x4000>, + <0x2 0x8e460000 0x0 0x4000>, + <0x2 0x8e464000 0x0 0x4000>, + <0x2 0x8e468000 0x0 0x4000>, + <0x2 0x8e46c000 0x0 0x4000>, + <0x2 0x8e458000 0x0 0x4000>, + <0x2 0x8e428000 0x0 0x8000>, + <0x2 0x8e430000 0x0 0x8000>, + <0x2 0x8e418000 0x0 0x8000>, + <0x2 0x8e410000 0x0 0x8000>, + <0x2 0x8e420000 0x0 0x8000>, + <0x2 0x8e400000 0x0 0x8000>, + <0x2 0x8e408000 0x0 0x8000>, + <0x2 0x8e438000 0x0 0x8000>, + <0x2 0x8e440000 0x0 0x8000>, + <0x2 0x92200000 0x0 0x80000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e600000 0x0 0x4c000>, + <0x2 0x92280000 0x0 0x74000>, + <0x2 0x85838000 0x0 0x8000>, + <0x5 0x09838000 0x0 0x8000>, + <0x2 0x85868000 0x0 0x4000>, + <0x5 0x09868000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + soc_errors: error-handler@395440000 { + compatible = "apple,t6000-error-handler", "apple,soc-error-handler"; + reg = <0x3 0x95440000 0x0 0x40000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x82000000 0x0 0x4000>, + <0x3 0x04000000 0x0 0x4000>, + <0x3 0x83000000 0x0 0x4000>, + <0x4 0x02000000 0x0 0x4000>, + <0x2 0x58d00000 0x0 0x20000>, + <0x2 0x59100000 0x0 0x20000>, + <0x2 0x5ad00000 0x0 0x20000>, + <0x2 0x5b100000 0x0 0x20000>, + <0x2 0x59500000 0x0 0x20000>, + <0x2 0x5b500000 0x0 0x20000>, + <0x2 0x5b900000 0x0 0x20000>, + <0x2 0x4fa00000 0x0 0x20000>, + <0x2 0x50a00000 0x0 0x20000>, + <0x2 0x50e00000 0x0 0x20000>, + <0x2 0x4fa80000 0x0 0x20000>, + <0x2 0x50a80000 0x0 0x20000>, + <0x2 0x64300000 0x0 0x20000>, + <0x2 0x65300000 0x0 0x20000>, + <0x2 0x64700000 0x0 0x20000>, + <0x2 0x66300000 0x0 0x20000>, + <0x2 0x65700000 0x0 0x20000>, + <0x2 0x67300000 0x0 0x20000>, + <0x2 0x64b00000 0x0 0x20000>, + <0x2 0x66700000 0x0 0x20000>, + <0x2 0x65b00000 0x0 0x20000>, + <0x2 0x67700000 0x0 0x20000>, + <0x2 0x58900000 0x0 0x20000>, + <0x2 0x5a900000 0x0 0x20000>, + <0x2 0x5c000000 0x0 0x20000>, + <0x2 0x5d000000 0x0 0x20000>, + <0x2 0x4f600000 0x0 0x20000>, + <0x2 0x50600000 0x0 0x20000>, + <0x2 0x52000000 0x0 0x20000>, + <0x2 0x53000000 0x0 0x20000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x4f332000 0x0 0x1000>, + <0x2 0x50032000 0x0 0x1000>, + <0x2 0x50332000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58332000 0x0 0x1000>, + <0x2 0x58632000 0x0 0x1000>, + <0x2 0x5a032000 0x0 0x1000>, + <0x2 0x5a332000 0x0 0x1000>, + <0x2 0x5a632000 0x0 0x1000>, + <0x2 0x64032000 0x0 0x1000>, + <0x2 0x66032000 0x0 0x1000>, + <0x2 0x65032000 0x0 0x1000>, + <0x2 0x67032000 0x0 0x1000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + pwm1: timer-pwm@39b030000 { + compatible = "apple,t6000-pwm", "apple,pwm"; + reg = <0x3 0x9b030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_fpwm1>; + status = "disabled"; + }; +}; + +&ave { + reg = <0x4 0x0d100000 0x0 0x45c000>, + <0x4 0x0d050000 0x0 0x8000>, + <0x4 0x0d800000 0x0 0x800000>, + <0x2 0x8e588000 0x0 0x24>, + <0x4 0x0c000000 0x0 0x1000000>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + clocks = <&peripheral_clocks 350>; +}; + +/ { + peripheral_clocks: clock-controller { + compatible = "apple,t6000-pmgr-clocks", "apple,pmgr-clocks"; + #clock-cells = <1>; + apple,pmgr = <&pmgr>; + status = "disabled"; + }; +}; + +/* CPU and cluster power states are described without granting control. */ +&pmgr { + power-controller@0 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpu0_0"; + status = "disabled"; + }; + power-controller@8 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpu0_1"; + status = "disabled"; + }; + power-controller@20 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x20 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu0_0"; + status = "disabled"; + }; + power-controller@28 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x28 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu0_1"; + status = "disabled"; + }; + power-controller@30 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x30 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu0_2"; + status = "disabled"; + }; + power-controller@38 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x38 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu0_3"; + status = "disabled"; + }; + power-controller@40 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x40 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu1_0"; + status = "disabled"; + }; + power-controller@48 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x48 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu1_1"; + status = "disabled"; + }; + power-controller@50 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x50 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu1_2"; + status = "disabled"; + }; + power-controller@58 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x58 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu1_3"; + status = "disabled"; + }; + power-controller@60 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x60 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpm"; + status = "disabled"; + }; + power-controller@68 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x68 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpm0"; + status = "disabled"; + }; + power-controller@70 { + compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x70 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpm1"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6000.dtsi b/arch/arm64/boot/dts/apple/t6000.dtsi index 75b3fcf23b573..f4551b00b25cb 100644 --- a/arch/arm64/boot/dts/apple/t6000.dtsi +++ b/arch/arm64/boot/dts/apple/t6000.dtsi @@ -10,7 +10,7 @@ /* This chip is just a cut down version of t6001, so include it and disable the missing parts */ #define GPU_REPEAT(x) - +#define APPLE_T6000_SUBSET #include "t6001.dtsi" / { @@ -90,3 +90,6 @@ power-domains = <&ps_ane_sys_cpu>, <&ps_ane_set1>, <&ps_ane_set2>, <&ps_ane_set3>, <&ps_ane_set4>, <&ps_pms_sram>; }; + +#include "t6000-peripherals.dtsi" +#include "t6000-aux-spmi.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6001-aux-spmi.dtsi b/arch/arm64/boot/dts/apple/t6001-aux-spmi.dtsi new file mode 100644 index 0000000000000..a7b887e9a3f7d --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6001-aux-spmi.dtsi @@ -0,0 +1,182 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled auxiliary SPMI resources; primary polled PMIC access is retained. */ + +&{/soc} { + primary_spmi_monitor: spmi-monitor@2920a0e00 { + compatible = "apple,t6000-spmi-monitor", "apple,spmi-monitor"; + reg = <0x2 0x920a0e00 0x0 0x100>, + <0x2 0x920a0400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + apple,controller = <&nub_spmi0>; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <0>; + status = "disabled"; + }; + + clvr_spmi3: spmi@28e519100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e519100 0x0 0x100>, + <0x2 0x8e518e00 0x0 0x100>, + <0x2 0x8e518400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi4: spmi@28e521100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e521100 0x0 0x100>, + <0x2 0x8e520e00 0x0 0x100>, + <0x2 0x8e520400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; +}; + +&pmic1 { + battery_monitor: battery-monitor { + compatible = "apple,t6000-battery-monitor", "apple,battery-monitor"; + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <62 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + +&nub_spmi1 { + reg = <0x2 0x920a9300 0x0 0x100>, + <0x2 0x920a8e00 0x0 0x100>, + <0x2 0x920a8400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@e { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + read-only; + status = "disabled"; + }; + spmi-device@d { + compatible = "apple,t6000-viper-spmi", "apple,viper-spmi"; + reg = <0xd SPMI_USID>; + status = "disabled"; + }; +}; + +&clvr_spmi0 { + reg = <0x2 0x8e501100 0x0 0x100>, + <0x2 0x8e500e00 0x0 0x100>, + <0x2 0x8e500400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi1 { + reg = <0x2 0x8e509100 0x0 0x100>, + <0x2 0x8e508e00 0x0 0x100>, + <0x2 0x8e508400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi2 { + reg = <0x2 0x8e511100 0x0 0x100>, + <0x2 0x8e510e00 0x0 0x100>, + <0x2 0x8e510400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&aop_spmi0 { + reg = <0x2 0x93829300 0x0 0x100>, + <0x2 0x93828e00 0x0 0x100>, + <0x2 0x93828400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + spmi-device@e { + compatible = "apple,t6000-wifibt-pmu", "apple,radio-pmu"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + spmi-device@f { + compatible = "apple,t6000-uwb-pmu", "apple,radio-pmu"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; +}; + +&aop_spmi1 { + reg = <0x2 0x9382d300 0x0 0x100>, + <0x2 0x9382ce00 0x0 0x100>, + <0x2 0x9382c400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + stockholm: nfc@c { + compatible = "apple,t6000-stockholm-spmi", "apple,stockholm-spmi"; + reg = <0xc SPMI_USID>; + interrupt-parent = <&aop_spmi1>; + interrupts = <160 IRQ_TYPE_NONE>, + <161 IRQ_TYPE_NONE>, + <162 IRQ_TYPE_NONE>, + <163 IRQ_TYPE_NONE>, + <164 IRQ_TYPE_NONE>, + <165 IRQ_TYPE_NONE>, + <166 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + + +&pmic1 { + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <2 IRQ_TYPE_NONE>; +}; diff --git a/arch/arm64/boot/dts/apple/t6001-display-extra.dtsi b/arch/arm64/boot/dts/apple/t6001-display-extra.dtsi new file mode 100644 index 0000000000000..d06ac3ac4c18d --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6001-display-extra.dtsi @@ -0,0 +1,132 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional display engines; firmware and route ownership are unqualified. */ + +&{/soc} { + dispext2_dart: iommu@48b304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b304000 0x0 0x4000>, + <0x4 0x8b300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2_dart: iommu@48b30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2_mbox: mailbox@48bc08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8bc08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext2_cpu0>; + resets = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2: dcp@48bc00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8bc00000 0x0 0x4000>, + <0x4 0x8a000000 0x0 0x3000000>, + <0x4 0x8b320000 0x0 0x4000>, + <0x4 0x8b344000 0x0 0x4000>, + <0x4 0x8b800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8b850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext2_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext2_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext2_cpu0>; + resets = <&ps_dispext2_cpu0>; + apple,dcp-index = <3>; + phandle = <&dcpext2>; + status = "disabled"; + + piodma { + iommus = <&dispext2_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; + + dispext3_dart: iommu@48e304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e304000 0x0 0x4000>, + <0x4 0x8e300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3_dart: iommu@48e30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3_mbox: mailbox@48ec08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8ec08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext3_cpu0>; + resets = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3: dcp@48ec00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8ec00000 0x0 0x4000>, + <0x4 0x8d000000 0x0 0x3000000>, + <0x4 0x8e320000 0x0 0x4000>, + <0x4 0x8e344000 0x0 0x4000>, + <0x4 0x8e800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8e850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext3_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext3_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext3_cpu0>; + resets = <&ps_dispext3_cpu0>; + apple,dcp-index = <4>; + phandle = <&dcpext3>; + status = "disabled"; + + piodma { + iommus = <&dispext3_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6001-j375c-control.dtsi b/arch/arm64/boot/dts/apple/t6001-j375c-control.dtsi new file mode 100644 index 0000000000000..5914e67ea7245 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6001-j375c-control.dtsi @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Populated board control clients. Transport ownership is not transferred. */ + +&i2c4 { + sd_card_control: sd-card-control@20 { + compatible = "apple,t6000-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&i2c5 { + ethernet_sideband: ethernet-sideband@32 { + compatible = "apple,t6000-aqc107-i2c", "apple,aqc107-i2c"; + reg = <0x32>; + status = "disabled"; + }; +}; + +&spi2 { + usb3hub_flash: flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6001-j375c-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6001-j375c-peripherals.dtsi new file mode 100644 index 0000000000000..9cce8435e76cd --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6001-j375c-peripherals.dtsi @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled resource descriptions for T6001. */ + +&{/soc} { + atc3_dpin0: displayport@1301e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x13 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc3_dpin1: displayport@1301e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x13 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec3_piodma: dma-controller@1322000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x13 0x22000000 0x0 0x4000>, + <0x13 0x22004000 0x0 0x4000>, + <0x13 0x22008000 0x0 0x4000>, + <0x13 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec3_dart 15>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6001-j375c.dts b/arch/arm64/boot/dts/apple/t6001-j375c.dts index f3f98f0380090..35cd50028b75b 100644 --- a/arch/arm64/boot/dts/apple/t6001-j375c.dts +++ b/arch/arm64/boot/dts/apple/t6001-j375c.dts @@ -60,3 +60,7 @@ }; #include "hwmon-fan-dual.dtsi" + +#include "t6001-j375c-peripherals.dtsi" + +#include "t6001-j375c-control.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6001-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6001-peripherals.dtsi new file mode 100644 index 0000000000000..51b94d55a5a9b --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6001-peripherals.dtsi @@ -0,0 +1,715 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled resource descriptions for T6001. */ + +&{/soc} { + ane0_dma: dma-controller@285804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x2 0x85804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys>; + status = "disabled"; + }; + + aic_timebase: timer@28e148000 { + compatible = "apple,t6000-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x8e148000 0x0 0x1000>; + status = "disabled"; + }; + + dwi: bus-controller@28e208000 { + compatible = "apple,t6000-dwi", "apple,dwi"; + reg = <0x2 0x8e208000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + dockchannel_uart: fifo@29250c000 { + compatible = "apple,t6000-dockchannel", "apple,dockchannel"; + reg = <0x2 0x9250c000 0x0 0x18>; + interrupt-parent = <&aic>; + interrupts = ; + reg-names = "irq"; + ranges = <0 0x2 0x92528000 0x10004>; + #address-cells = <1>; + #size-cells = <1>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + }; + + apr0: video-codec@311000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + iommus = <&apr0_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr0_dart: iommu@311008000 { + compatible = "apple,t8110-dart"; + reg = <0x3 0x11008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + aes: crypto@39b060000 { + compatible = "apple,t6000-aes", "apple,aes"; + reg = <0x3 0x9b060000 0x0 0x4000>, + <0x2 0x922d0000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&sio_dart_0 1>, <&sio_dart_1 1>; + status = "disabled"; + }; + + jpeg0: jpeg@409000000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg0_dart 0>; + status = "disabled"; + }; + + jpeg0_dart: iommu@409004000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x09004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg1: jpeg@409008000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg1_dart 0>; + status = "disabled"; + }; + + jpeg1_dart: iommu@40900c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0900c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler0: scaler@40b000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x4 0x0b000000 0x0 0x28000>, + <0x4 0x0b210000 0x0 0x4000>, + <0x4 0x0b204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0>, <&ps_msr0_ase_core>; + clocks = <&peripheral_clocks 356>; + iommus = <&scaler0_dart 0>, <&scaler0_dart 1>; + resets = <&ps_msr0>; + status = "disabled"; + }; + + scaler0_dart: iommu@40b200000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x0b200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr0>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave0_dma: dma-controller@40d020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x4 0x0d020000 0x0 0x4000>, + <0x4 0x0d044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + status = "disabled"; + }; + + apr1: video-codec@489000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x4 0x89000000 0x0 0x4000>, + <0x4 0x88000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + iommus = <&apr1_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr1_dart: iommu@489008000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x89008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler1: scaler@505000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x5 0x05000000 0x0 0x28000>, + <0x5 0x05210000 0x0 0x4000>, + <0x5 0x05204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr1>, <&ps_msr1_ase_core>; + clocks = <&peripheral_clocks 356>; + iommus = <&scaler1_dart 0>, <&scaler1_dart 1>; + resets = <&ps_msr1>; + status = "disabled"; + }; + + scaler1_dart: iommu@505200000 { + compatible = "apple,t8110-dart"; + reg = <0x5 0x05200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1_dma: dma-controller@507020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x5 0x07020000 0x0 0x4000>, + <0x5 0x07044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + status = "disabled"; + }; + + ave1_dart1: iommu@507030000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1_dart0: iommu@507040000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1: video-codec@507100000 { + compatible = "apple,t6000-ave"; + reg = <0x5 0x07100000 0x0 0x45c000>, + <0x5 0x07050000 0x0 0x8000>, + <0x5 0x07800000 0x0 0x800000>, + <0x2 0x8e680260 0x0 0x7dc4>, + <0x5 0x06000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc1_dma>, <&ps_venc1_pipe4>, <&ps_venc1_pipe5>, <&ps_venc1_me0>, <&ps_venc1_me1>; + clocks = <&peripheral_clocks 454>; + iommus = <&ave1_dart0 0>, <&ave1_dart1 0>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1"; + status = "disabled"; + }; + + ane1_dart0: iommu@509800000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09800000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1_dma: dma-controller@509804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x5 0x09804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + status = "disabled"; + }; + + ane1_dart1: iommu@509810000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09810000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1_dart2: iommu@509820000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09820000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1: ane@509c04000 { + compatible = "apple,t6001-ane", "apple,ane"; + reg = <0x5 0x09c04000 0x0 0x24000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_cpu>; + clocks = <&peripheral_clocks 318>, <&peripheral_clocks 319>, <&peripheral_clocks 320>, <&peripheral_clocks 321>; + iommus = <&ane1_dart0 0>, <&ane1_dart1 0>, <&ane1_dart2 0>; + reg-names = "engine"; + interrupt-names = "ane"; + status = "disabled"; + }; + + atc0_dpin0: displayport@701e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc0_dpin1: displayport@701e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart 15>; + status = "disabled"; + }; + + atc1_dpin0: displayport@b01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin1: displayport@b01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart 15>; + status = "disabled"; + }; + + atc2_dpin0: displayport@f01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc2_dpin1: displayport@f01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec2_dart 15>; + status = "disabled"; + }; +}; + +&{/soc} { + + mcc: memory-controller@200000000 { + compatible = "apple,t6000-mcc", "apple,mcc"; + reg = <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>; + status = "disabled"; + }; + + soc_events: event-log@28e080000 { + compatible = "apple,t6001-event-log", "apple,soc-event-log"; + reg = <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x8e580000 0x0 0x80000>, + <0x2 0x8e680000 0x0 0x74000>, + <0x2 0x8e45c000 0x0 0x4000>, + <0x2 0x8e460000 0x0 0x4000>, + <0x2 0x8e464000 0x0 0x4000>, + <0x2 0x8e468000 0x0 0x4000>, + <0x2 0x8e46c000 0x0 0x4000>, + <0x2 0x8e458000 0x0 0x4000>, + <0x2 0x8e428000 0x0 0x8000>, + <0x2 0x8e430000 0x0 0x8000>, + <0x2 0x8e418000 0x0 0x8000>, + <0x2 0x8e410000 0x0 0x8000>, + <0x2 0x8e420000 0x0 0x8000>, + <0x2 0x8e400000 0x0 0x8000>, + <0x2 0x8e408000 0x0 0x8000>, + <0x2 0x8e438000 0x0 0x8000>, + <0x2 0x8e440000 0x0 0x8000>, + <0x2 0x92200000 0x0 0x80000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e600000 0x0 0x4c000>, + <0x2 0x92280000 0x0 0x74000>, + <0x2 0x85838000 0x0 0x8000>, + <0x5 0x09838000 0x0 0x8000>, + <0x2 0x85868000 0x0 0x4000>, + <0x5 0x09868000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + soc_errors: error-handler@395440000 { + compatible = "apple,t6001-error-handler", "apple,soc-error-handler"; + reg = <0x3 0x95440000 0x0 0x40000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>, + <0x2 0x82000000 0x0 0x4000>, + <0x3 0x04000000 0x0 0x4000>, + <0x3 0x83000000 0x0 0x4000>, + <0x4 0x02000000 0x0 0x4000>, + <0x4 0x82000000 0x0 0x4000>, + <0x5 0x02000000 0x0 0x4000>, + <0x2 0x58d00000 0x0 0x20000>, + <0x2 0x59100000 0x0 0x20000>, + <0x2 0x5ad00000 0x0 0x20000>, + <0x2 0x5b100000 0x0 0x20000>, + <0x2 0x60000000 0x0 0x20000>, + <0x2 0x60000000 0x0 0x20000>, + <0x2 0x59500000 0x0 0x20000>, + <0x2 0x5b500000 0x0 0x20000>, + <0x2 0x5b900000 0x0 0x20000>, + <0x2 0x4fa00000 0x0 0x20000>, + <0x2 0x50a00000 0x0 0x20000>, + <0x2 0x50e00000 0x0 0x20000>, + <0x2 0x4fa80000 0x0 0x20000>, + <0x2 0x50a80000 0x0 0x20000>, + <0x2 0x64300000 0x0 0x20000>, + <0x2 0x65300000 0x0 0x20000>, + <0x2 0x64700000 0x0 0x20000>, + <0x2 0x66300000 0x0 0x20000>, + <0x2 0x65700000 0x0 0x20000>, + <0x2 0x67300000 0x0 0x20000>, + <0x2 0x6a300000 0x0 0x20000>, + <0x2 0x68600000 0x0 0x20000>, + <0x2 0x6b300000 0x0 0x20000>, + <0x2 0x69600000 0x0 0x20000>, + <0x2 0x64b00000 0x0 0x20000>, + <0x2 0x66700000 0x0 0x20000>, + <0x2 0x65b00000 0x0 0x20000>, + <0x2 0x67700000 0x0 0x20000>, + <0x2 0x6a700000 0x0 0x20000>, + <0x2 0x68a00000 0x0 0x20000>, + <0x2 0x6b700000 0x0 0x20000>, + <0x2 0x69a00000 0x0 0x20000>, + <0x2 0x58900000 0x0 0x20000>, + <0x2 0x5a900000 0x0 0x20000>, + <0x2 0x5c000000 0x0 0x20000>, + <0x2 0x5d000000 0x0 0x20000>, + <0x2 0x5e900000 0x0 0x20000>, + <0x2 0x5fc00000 0x0 0x20000>, + <0x2 0x61000000 0x0 0x20000>, + <0x2 0x62000000 0x0 0x20000>, + <0x2 0x4f600000 0x0 0x20000>, + <0x2 0x50600000 0x0 0x20000>, + <0x2 0x52000000 0x0 0x20000>, + <0x2 0x53000000 0x0 0x20000>, + <0x2 0x54600000 0x0 0x20000>, + <0x2 0x55600000 0x0 0x20000>, + <0x2 0x56000000 0x0 0x20000>, + <0x2 0x57000000 0x0 0x20000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x4f332000 0x0 0x1000>, + <0x2 0x50032000 0x0 0x1000>, + <0x2 0x50332000 0x0 0x1000>, + <0x2 0x54032000 0x0 0x1000>, + <0x2 0x55032000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58332000 0x0 0x1000>, + <0x2 0x58632000 0x0 0x1000>, + <0x2 0x5a032000 0x0 0x1000>, + <0x2 0x5a332000 0x0 0x1000>, + <0x2 0x5a632000 0x0 0x1000>, + <0x2 0x5e032000 0x0 0x1000>, + <0x2 0x5f632000 0x0 0x1000>, + <0x2 0x5f032000 0x0 0x1000>, + <0x2 0x5f332000 0x0 0x1000>, + <0x2 0x5e332000 0x0 0x1000>, + <0x2 0x64032000 0x0 0x1000>, + <0x2 0x66032000 0x0 0x1000>, + <0x2 0x65032000 0x0 0x1000>, + <0x2 0x67032000 0x0 0x1000>, + <0x2 0x6a032000 0x0 0x1000>, + <0x2 0x68032000 0x0 0x1000>, + <0x2 0x6b032000 0x0 0x1000>, + <0x2 0x69032000 0x0 0x1000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + pwm1: timer-pwm@39b030000 { + compatible = "apple,t6000-pwm", "apple,pwm"; + reg = <0x3 0x9b030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_fpwm1>; + status = "disabled"; + }; +}; + +&ave { + reg = <0x4 0x0d100000 0x0 0x45c000>, + <0x4 0x0d050000 0x0 0x8000>, + <0x4 0x0d800000 0x0 0x800000>, + <0x2 0x8e588000 0x0 0x24>, + <0x4 0x0c000000 0x0 0x1000000>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + clocks = <&peripheral_clocks 350>; +}; + +/ { + peripheral_clocks: clock-controller { + compatible = "apple,t6000-pmgr-clocks", "apple,pmgr-clocks"; + #clock-cells = <1>; + apple,pmgr = <&pmgr>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6001.dtsi b/arch/arm64/boot/dts/apple/t6001.dtsi index e617f7f3f41a9..d4eaf064e2ad0 100644 --- a/arch/arm64/boot/dts/apple/t6001.dtsi +++ b/arch/arm64/boot/dts/apple/t6001.dtsi @@ -148,3 +148,9 @@ power-domains = <&ps_ane_sys_cpu>, <&ps_ane_set1>, <&ps_ane_set2>, <&ps_ane_set3>, <&ps_ane_set4>, <&ps_pms_sram>; }; + +#ifndef APPLE_T6000_SUBSET +#include "t6001-peripherals.dtsi" +#include "t6001-aux-spmi.dtsi" +#include "t6001-display-extra.dtsi" +#endif diff --git a/arch/arm64/boot/dts/apple/t6002-aux-spmi.dtsi b/arch/arm64/boot/dts/apple/t6002-aux-spmi.dtsi new file mode 100644 index 0000000000000..40b3b632a554b --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6002-aux-spmi.dtsi @@ -0,0 +1,317 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled auxiliary SPMI resources; primary polled PMIC access is retained. */ + +&die0 { + primary_spmi_monitor: spmi-monitor@2920a0e00 { + compatible = "apple,t6000-spmi-monitor", "apple,spmi-monitor"; + reg = <0x2 0x920a0e00 0x0 0x100>, + <0x2 0x920a0400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + apple,controller = <&nub_spmi0>; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <0>; + status = "disabled"; + }; + + clvr_spmi3: spmi@28e519100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e519100 0x0 0x100>, + <0x2 0x8e518e00 0x0 0x100>, + <0x2 0x8e518400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi4: spmi@28e521100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e521100 0x0 0x100>, + <0x2 0x8e520e00 0x0 0x100>, + <0x2 0x8e520400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; +}; + +&die1 { + nub_spmi0_die1: spmi@2920a1300 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x920a1300 0x0 0x100>, + <0x2 0x920a0e00 0x0 0x100>, + <0x2 0x920a0400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + nub_spmi1_die1: spmi@2920a9300 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x920a9300 0x0 0x100>, + <0x2 0x920a8e00 0x0 0x100>, + <0x2 0x920a8400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@e { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi0_die1: spmi@28e501100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e501100 0x0 0x100>, + <0x2 0x8e500e00 0x0 0x100>, + <0x2 0x8e500400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi1_die1: spmi@28e509100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e509100 0x0 0x100>, + <0x2 0x8e508e00 0x0 0x100>, + <0x2 0x8e508400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi2_die1: spmi@28e511100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e511100 0x0 0x100>, + <0x2 0x8e510e00 0x0 0x100>, + <0x2 0x8e510400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi3_die1: spmi@28e519100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e519100 0x0 0x100>, + <0x2 0x8e518e00 0x0 0x100>, + <0x2 0x8e518400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi4_die1: spmi@28e521100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e521100 0x0 0x100>, + <0x2 0x8e520e00 0x0 0x100>, + <0x2 0x8e520400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; +}; + +&pmic1 { + battery_monitor: battery-monitor { + compatible = "apple,t6000-battery-monitor", "apple,battery-monitor"; + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <62 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + +&nub_spmi1 { + reg = <0x2 0x920a9300 0x0 0x100>, + <0x2 0x920a8e00 0x0 0x100>, + <0x2 0x920a8400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@e { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + read-only; + status = "disabled"; + }; + spmi-device@d { + compatible = "apple,t6000-viper-spmi", "apple,viper-spmi"; + reg = <0xd SPMI_USID>; + status = "disabled"; + }; +}; + +&clvr_spmi0 { + reg = <0x2 0x8e501100 0x0 0x100>, + <0x2 0x8e500e00 0x0 0x100>, + <0x2 0x8e500400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi1 { + reg = <0x2 0x8e509100 0x0 0x100>, + <0x2 0x8e508e00 0x0 0x100>, + <0x2 0x8e508400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi2 { + reg = <0x2 0x8e511100 0x0 0x100>, + <0x2 0x8e510e00 0x0 0x100>, + <0x2 0x8e510400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&aop_spmi0 { + reg = <0x2 0x93829300 0x0 0x100>, + <0x2 0x93828e00 0x0 0x100>, + <0x2 0x93828400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + spmi-device@e { + compatible = "apple,t6000-wifibt-pmu", "apple,radio-pmu"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + spmi-device@f { + compatible = "apple,t6000-uwb-pmu", "apple,radio-pmu"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; +}; + +&aop_spmi1 { + reg = <0x2 0x9382d300 0x0 0x100>, + <0x2 0x9382ce00 0x0 0x100>, + <0x2 0x9382c400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + stockholm: nfc@c { + compatible = "apple,t6000-stockholm-spmi", "apple,stockholm-spmi"; + reg = <0xc SPMI_USID>; + interrupt-parent = <&aop_spmi1>; + interrupts = <160 IRQ_TYPE_NONE>, + <161 IRQ_TYPE_NONE>, + <162 IRQ_TYPE_NONE>, + <163 IRQ_TYPE_NONE>, + <164 IRQ_TYPE_NONE>, + <165 IRQ_TYPE_NONE>, + <166 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + + +&pmic1 { + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <2 IRQ_TYPE_NONE>; +}; diff --git a/arch/arm64/boot/dts/apple/t6002-display-extra.dtsi b/arch/arm64/boot/dts/apple/t6002-display-extra.dtsi new file mode 100644 index 0000000000000..17cc7c497550c --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6002-display-extra.dtsi @@ -0,0 +1,262 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional display engines; firmware and route ownership are unqualified. */ + +&die0 { + dispext2_dart: iommu@48b304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b304000 0x0 0x4000>, + <0x4 0x8b300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2_dart: iommu@48b30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2_mbox: mailbox@48bc08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8bc08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext2_cpu0>; + resets = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2: dcp@48bc00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8bc00000 0x0 0x4000>, + <0x4 0x8a000000 0x0 0x3000000>, + <0x4 0x8b320000 0x0 0x4000>, + <0x4 0x8b344000 0x0 0x4000>, + <0x4 0x8b800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8b850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext2_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext2_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext2_cpu0>; + resets = <&ps_dispext2_cpu0>; + apple,dcp-index = <3>; + phandle = <&dcpext2>; + status = "disabled"; + + piodma { + iommus = <&dispext2_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; + + dispext3_dart: iommu@48e304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e304000 0x0 0x4000>, + <0x4 0x8e300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3_dart: iommu@48e30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3_mbox: mailbox@48ec08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8ec08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext3_cpu0>; + resets = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3: dcp@48ec00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8ec00000 0x0 0x4000>, + <0x4 0x8d000000 0x0 0x3000000>, + <0x4 0x8e320000 0x0 0x4000>, + <0x4 0x8e344000 0x0 0x4000>, + <0x4 0x8e800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8e850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext3_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext3_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext3_cpu0>; + resets = <&ps_dispext3_cpu0>; + apple,dcp-index = <4>; + phandle = <&dcpext3>; + status = "disabled"; + + piodma { + iommus = <&dispext3_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; +}; + +&die1 { + dispext6_dart: iommu@48b304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b304000 0x0 0x4000>, + <0x4 0x8b300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0_die1>; + status = "disabled"; + }; + + dcpext6_dart: iommu@48b30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0_die1>; + status = "disabled"; + }; + + dcpext6_mbox: mailbox@48bc08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8bc08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext2_cpu0_die1>; + resets = <&ps_dispext2_cpu0_die1>; + status = "disabled"; + }; + + dcpext6: dcp@48bc00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8bc00000 0x0 0x4000>, + <0x4 0x8a000000 0x0 0x3000000>, + <0x4 0x8b320000 0x0 0x4000>, + <0x4 0x8b344000 0x0 0x4000>, + <0x4 0x8b800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8b850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext6_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext6_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext2_cpu0_die1>; + resets = <&ps_dispext2_cpu0_die1>; + apple,dcp-index = <3>; + phandle = <&dcpext6>; + status = "disabled"; + + piodma { + iommus = <&dispext6_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; + + dispext7_dart: iommu@48e304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e304000 0x0 0x4000>, + <0x4 0x8e300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0_die1>; + status = "disabled"; + }; + + dcpext7_dart: iommu@48e30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0_die1>; + status = "disabled"; + }; + + dcpext7_mbox: mailbox@48ec08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8ec08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext3_cpu0_die1>; + resets = <&ps_dispext3_cpu0_die1>; + status = "disabled"; + }; + + dcpext7: dcp@48ec00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8ec00000 0x0 0x4000>, + <0x4 0x8d000000 0x0 0x3000000>, + <0x4 0x8e320000 0x0 0x4000>, + <0x4 0x8e344000 0x0 0x4000>, + <0x4 0x8e800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8e850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext7_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext7_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext3_cpu0_die1>; + resets = <&ps_dispext3_cpu0_die1>; + apple,dcp-index = <4>; + phandle = <&dcpext7>; + status = "disabled"; + + piodma { + iommus = <&dispext7_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6002-j375d-control.dtsi b/arch/arm64/boot/dts/apple/t6002-j375d-control.dtsi new file mode 100644 index 0000000000000..dc1ca66240a53 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6002-j375d-control.dtsi @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Populated board control clients. Transport ownership is not transferred. */ + +&i2c4 { + sd_card_control: sd-card-control@20 { + compatible = "apple,t6000-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&i2c5 { + ethernet_sideband: ethernet-sideband@32 { + compatible = "apple,t6000-aqc107-i2c", "apple,aqc107-i2c"; + reg = <0x32>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6002-j375d.dts b/arch/arm64/boot/dts/apple/t6002-j375d.dts index 885744417f0ab..a16df355852ef 100644 --- a/arch/arm64/boot/dts/apple/t6002-j375d.dts +++ b/arch/arm64/boot/dts/apple/t6002-j375d.dts @@ -300,3 +300,5 @@ }; #include "hwmon-fan-dual.dtsi" + +#include "t6002-j375d-control.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6002-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6002-peripherals.dtsi new file mode 100644 index 0000000000000..ba6616910477e --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6002-peripherals.dtsi @@ -0,0 +1,1822 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled resource descriptions for T6002. */ + +&die0 { + ane0_dma: dma-controller@285804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x2 0x85804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys>; + status = "disabled"; + }; + + aic_timebase: timer@28e148000 { + compatible = "apple,t6000-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x8e148000 0x0 0x1000>; + status = "disabled"; + }; + + dwi: bus-controller@28e208000 { + compatible = "apple,t6000-dwi", "apple,dwi"; + reg = <0x2 0x8e208000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + dockchannel_uart: fifo@29250c000 { + compatible = "apple,t6000-dockchannel", "apple,dockchannel"; + reg = <0x2 0x9250c000 0x0 0x18>; + interrupt-parent = <&aic>; + interrupts = ; + reg-names = "irq"; + ranges = <0 0x2 0x92528000 0x10004>; + #address-cells = <1>; + #size-cells = <1>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + }; + + ausb_phy0: phy@30d000000 { + compatible = "apple,t6000-ausb-phy", "apple,ausb-phy"; + reg = <0x3 0x0d000000 0x0 0x4000>; + power-domains = <&ps_c0_usbctl>; + #phy-cells = <0>; + phys = <&ausb_usb3phy>; + status = "disabled"; + }; + + ausb_drd0: usb@30d010000 { + compatible = "apple,t6000-ausb-drd", "apple,ausb-drd"; + reg = <0x3 0x0d010000 0x0 0x11800>, + <0x3 0x0d020000 0x0 0x4000>, + <0x3 0x0d01c100 0x0 0x4000>, + <0x3 0x0d000000 0x0 0x2c000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + power-domains = <&ps_c0_usb31drd>; + iommus = <&ausb0_dart0 3>, <&ausb0_dart1 3>; + phys = <&ausb_phy0>; + status = "disabled"; + }; + + ausb0_dart0: iommu@30d024000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x3 0x0d024000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ausb0_dart1: iommu@30d028000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x3 0x0d028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ausb_phy1: phy@30d400000 { + compatible = "apple,t6000-ausb-phy", "apple,ausb-phy"; + reg = <0x3 0x0d400000 0x0 0x4000>; + power-domains = <&ps_c1_usbctl>; + #phy-cells = <0>; + phys = <&ausb_usb3phy>; + status = "disabled"; + }; + + ausb_drd1: usb@30d410000 { + compatible = "apple,t6000-ausb-drd", "apple,ausb-drd"; + reg = <0x3 0x0d410000 0x0 0x11800>, + <0x3 0x0d420000 0x0 0x4000>, + <0x3 0x0d41c100 0x0 0x4000>, + <0x3 0x0d400000 0x0 0x2c000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + power-domains = <&ps_c1_usb31drd>; + iommus = <&ausb1_dart0 3>, <&ausb1_dart1 3>; + phys = <&ausb_phy1>; + status = "disabled"; + }; + + ausb1_dart0: iommu@30d424000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x3 0x0d424000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ausb1_dart1: iommu@30d428000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x3 0x0d428000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ausb_usb3phy: phy@30d900000 { + compatible = "apple,t6000-ausb-usb3-phy", "apple,ausb-usb3-phy"; + reg = <0x3 0x0d900000 0x0 0x4000>, + <0x3 0x0d980000 0x0 0x4000>, + <0x3 0x0d982000 0x0 0x4000>, + <0x3 0x0d982200 0x0 0x4000>, + <0x3 0x0d982800 0x0 0x4000>, + <0x3 0x0d982a00 0x0 0x4000>, + <0x3 0x0d980a00 0x0 0x4000>, + <0x3 0x0d980800 0x0 0x4000>, + <0x3 0x0d98d000 0x0 0x4000>, + <0x3 0x0d994000 0x0 0x4000>, + <0x3 0x0d98c000 0x0 0x4000>, + <0x3 0x0d993000 0x0 0x4000>, + <0x3 0x0d98b000 0x0 0x4000>, + <0x3 0x0d992000 0x0 0x4000>, + <0x3 0x0d989000 0x0 0x4000>, + <0x3 0x0d990000 0x0 0x4000>, + <0x3 0x0d981000 0x0 0x4000>, + <0x2 0x922bc000 0x0 0x2000>, + <0x3 0x0c000000 0x0 0x1000000>, + <0x3 0x0d98a000 0x0 0x4000>, + <0x3 0x0d991000 0x0 0x4000>; + power-domains = <&ps_gp_usb_aon>, <&ps_usb>; + #phy-cells = <0>; + status = "disabled"; + }; + + apr0: video-codec@311000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + iommus = <&apr0_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr0_dart: iommu@311008000 { + compatible = "apple,t8110-dart"; + reg = <0x3 0x11008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + aes: crypto@39b060000 { + compatible = "apple,t6000-aes", "apple,aes"; + reg = <0x3 0x9b060000 0x0 0x4000>, + <0x2 0x922d0000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&sio_dart_0 1>, <&sio_dart_1 1>; + status = "disabled"; + }; + + jpeg0: jpeg@409000000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg0_dart 0>; + status = "disabled"; + }; + + jpeg0_dart: iommu@409004000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x09004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg1: jpeg@409008000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg1_dart 0>; + status = "disabled"; + }; + + jpeg1_dart: iommu@40900c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0900c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler0: scaler@40b000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x4 0x0b000000 0x0 0x28000>, + <0x4 0x0b210000 0x0 0x4000>, + <0x4 0x0b204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0>, <&ps_msr0_ase_core>; + clocks = <&peripheral_clocks 356>; + iommus = <&scaler0_dart 0>, <&scaler0_dart 1>; + resets = <&ps_msr0>; + status = "disabled"; + }; + + scaler0_dart: iommu@40b200000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x0b200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr0>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave0_dma: dma-controller@40d020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x4 0x0d020000 0x0 0x4000>, + <0x4 0x0d044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + status = "disabled"; + }; + + apr1: video-codec@489000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x4 0x89000000 0x0 0x4000>, + <0x4 0x88000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + iommus = <&apr1_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr1_dart: iommu@489008000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x89008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler1: scaler@505000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x5 0x05000000 0x0 0x28000>, + <0x5 0x05210000 0x0 0x4000>, + <0x5 0x05204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr1>, <&ps_msr1_ase_core>; + clocks = <&peripheral_clocks 356>; + iommus = <&scaler1_dart 0>, <&scaler1_dart 1>; + resets = <&ps_msr1>; + status = "disabled"; + }; + + scaler1_dart: iommu@505200000 { + compatible = "apple,t8110-dart"; + reg = <0x5 0x05200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1_dma: dma-controller@507020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x5 0x07020000 0x0 0x4000>, + <0x5 0x07044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + status = "disabled"; + }; + + ave1_dart1: iommu@507030000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1_dart0: iommu@507040000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1: video-codec@507100000 { + compatible = "apple,t6000-ave"; + reg = <0x5 0x07100000 0x0 0x45c000>, + <0x5 0x07050000 0x0 0x8000>, + <0x5 0x07800000 0x0 0x800000>, + <0x2 0x8e680260 0x0 0x7dc4>, + <0x5 0x06000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc1_dma>, <&ps_venc1_pipe4>, <&ps_venc1_pipe5>, <&ps_venc1_me0>, <&ps_venc1_me1>; + clocks = <&peripheral_clocks 454>; + iommus = <&ave1_dart0 0>, <&ave1_dart1 0>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1"; + status = "disabled"; + }; + + ane1_dart0: iommu@509800000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09800000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1_dma: dma-controller@509804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x5 0x09804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + status = "disabled"; + }; + + ane1_dart1: iommu@509810000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09810000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1_dart2: iommu@509820000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09820000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1: ane@509c04000 { + compatible = "apple,t6001-ane", "apple,ane"; + reg = <0x5 0x09c04000 0x0 0x24000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_cpu>; + clocks = <&peripheral_clocks 318>, <&peripheral_clocks 319>, <&peripheral_clocks 320>, <&peripheral_clocks 321>; + iommus = <&ane1_dart0 0>, <&ane1_dart1 0>, <&ane1_dart2 0>; + reg-names = "engine"; + interrupt-names = "ane"; + status = "disabled"; + }; + + atc0_dpin0: displayport@701e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc0_dpin1: displayport@701e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec0_dart: iommu@721008000 { + compatible = "apple,t8110-dart"; + reg = <0x7 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart 15>; + status = "disabled"; + }; + + apciec0: pcie@730000000 { + compatible = "apple,t6000-pciec"; + reg = <0x7 0x30000000 0x0 0x10000000>, + <0x7 0x20000000 0x0 0x4000>, + <0x7 0x21000000 0x0 0x8000>, + <0x7 0x20004000 0x0 0x4000>, + <0x7 0x20200000 0x0 0x4000>, + <0x7 0x21010000 0x0 0x4000>, + <0x7 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc0_pcie>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec0>; + msi-ranges = <&aic AIC_IRQ 0 1614 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec0_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x8 0x0 0x8 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0xa 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0xa 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; + + atc1_dpin0: displayport@b01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin1: displayport@b01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec1_dart: iommu@b21008000 { + compatible = "apple,t8110-dart"; + reg = <0xb 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart 15>; + status = "disabled"; + }; + + apciec1: pcie@b30000000 { + compatible = "apple,t6000-pciec"; + reg = <0xb 0x30000000 0x0 0x10000000>, + <0xb 0x20000000 0x0 0x4000>, + <0xb 0x21000000 0x0 0x8000>, + <0xb 0x20004000 0x0 0x4000>, + <0xb 0x20200000 0x0 0x4000>, + <0xb 0x21010000 0x0 0x4000>, + <0xb 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc1_pcie>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec1>; + msi-ranges = <&aic AIC_IRQ 0 1646 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec1_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0xc 0x0 0xc 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0xe 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0xe 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; + + atc2_dpin0: displayport@f01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc2_dpin1: displayport@f01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec2_dart: iommu@f21008000 { + compatible = "apple,t8110-dart"; + reg = <0xf 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec2_dart 15>; + status = "disabled"; + }; + + apciec2: pcie@f30000000 { + compatible = "apple,t6000-pciec"; + reg = <0xf 0x30000000 0x0 0x10000000>, + <0xf 0x20000000 0x0 0x4000>, + <0xf 0x21000000 0x0 0x8000>, + <0xf 0x20004000 0x0 0x4000>, + <0xf 0x20200000 0x0 0x4000>, + <0xf 0x21010000 0x0 0x4000>, + <0xf 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc2_pcie>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec2>; + msi-ranges = <&aic AIC_IRQ 0 1678 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec2_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x10 0x0 0x10 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0x12 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0x12 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; + + atc3_dpin0: displayport@1301e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x13 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc3_dpin1: displayport@1301e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x13 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec3_dart: iommu@1321008000 { + compatible = "apple,t8110-dart"; + reg = <0x13 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec3_piodma: dma-controller@1322000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x13 0x22000000 0x0 0x4000>, + <0x13 0x22004000 0x0 0x4000>, + <0x13 0x22008000 0x0 0x4000>, + <0x13 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec3_dart 15>; + status = "disabled"; + }; + + apciec3: pcie@1330000000 { + compatible = "apple,t6000-pciec"; + reg = <0x13 0x30000000 0x0 0x10000000>, + <0x13 0x20000000 0x0 0x4000>, + <0x13 0x21000000 0x0 0x8000>, + <0x13 0x20004000 0x0 0x4000>, + <0x13 0x20200000 0x0 0x4000>, + <0x13 0x21010000 0x0 0x4000>, + <0x13 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc3_pcie>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec3>; + msi-ranges = <&aic AIC_IRQ 0 1710 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec3_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x14 0x0 0x14 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0x16 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0x16 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; +}; + +&die1 { + ane2_dart0: iommu@285800000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x2 0x85800000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane2_dma: dma-controller@285804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x2 0x85804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + status = "disabled"; + }; + + ane2_dart1: iommu@285810000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x2 0x85810000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane2_dart2: iommu@285820000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x2 0x85820000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane2: ane@285c04000 { + compatible = "apple,t6001-ane", "apple,ane"; + reg = <0x2 0x85c04000 0x0 0x24000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_cpu_die1>; + clocks = <&peripheral_clocks_die1 318>, <&peripheral_clocks_die1 319>, <&peripheral_clocks_die1 320>, <&peripheral_clocks_die1 321>; + iommus = <&ane2_dart0 0>, <&ane2_dart1 0>, <&ane2_dart2 0>; + reg-names = "engine"; + interrupt-names = "ane"; + status = "disabled"; + }; + + apr2: video-codec@311000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec_die1>; + iommus = <&apr2_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr2_dart: iommu@311008000 { + compatible = "apple,t8110-dart"; + reg = <0x3 0x11008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg2: jpeg@409000000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + clocks = <&peripheral_clocks_die1 354>, <&peripheral_clocks_die1 355>; + iommus = <&jpeg2_dart 0>; + status = "disabled"; + }; + + jpeg2_dart: iommu@409004000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x09004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg3: jpeg@409008000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + clocks = <&peripheral_clocks_die1 354>, <&peripheral_clocks_die1 355>; + iommus = <&jpeg3_dart 0>; + status = "disabled"; + }; + + jpeg3_dart: iommu@40900c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0900c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler2: scaler@40b000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x4 0x0b000000 0x0 0x28000>, + <0x4 0x0b210000 0x0 0x4000>, + <0x4 0x0b204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0_die1>, <&ps_msr0_ase_core_die1>; + clocks = <&peripheral_clocks_die1 356>; + iommus = <&scaler2_dart 0>, <&scaler2_dart 1>; + resets = <&ps_msr0_die1>; + status = "disabled"; + }; + + scaler2_dart: iommu@40b200000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x0b200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr0_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave2_dma: dma-controller@40d020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x4 0x0d020000 0x0 0x4000>, + <0x4 0x0d044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys_die1>; + status = "disabled"; + }; + + ave2_dart1: iommu@40d030000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0d030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave2_dart0: iommu@40d040000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0d040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave2: video-codec@40d100000 { + compatible = "apple,t6000-ave"; + reg = <0x4 0x0d100000 0x0 0x45c000>, + <0x4 0x0d050000 0x0 0x8000>, + <0x4 0x0d800000 0x0 0x800000>, + <0x2 0x8e588000 0x0 0x24>, + <0x4 0x0c000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc_dma_die1>, <&ps_venc_pipe4_die1>, <&ps_venc_pipe5_die1>, <&ps_venc_me0_die1>, <&ps_venc_me1_die1>; + clocks = <&peripheral_clocks_die1 350>; + iommus = <&ave2_dart0 0>, <&ave2_dart1 0>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1"; + status = "disabled"; + }; + + apr3: video-codec@489000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x4 0x89000000 0x0 0x4000>, + <0x4 0x88000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores_die1>; + iommus = <&apr3_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr3_dart: iommu@489008000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x89008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler3: scaler@505000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x5 0x05000000 0x0 0x28000>, + <0x5 0x05210000 0x0 0x4000>, + <0x5 0x05204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr1_die1>, <&ps_msr1_ase_core_die1>; + clocks = <&peripheral_clocks_die1 356>; + iommus = <&scaler3_dart 0>, <&scaler3_dart 1>; + resets = <&ps_msr1_die1>; + status = "disabled"; + }; + + scaler3_dart: iommu@505200000 { + compatible = "apple,t8110-dart"; + reg = <0x5 0x05200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr1_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave3_dma: dma-controller@507020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x5 0x07020000 0x0 0x4000>, + <0x5 0x07044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys_die1>; + status = "disabled"; + }; + + ave3_dart1: iommu@507030000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave3_dart0: iommu@507040000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave3: video-codec@507100000 { + compatible = "apple,t6000-ave"; + reg = <0x5 0x07100000 0x0 0x45c000>, + <0x5 0x07050000 0x0 0x8000>, + <0x5 0x07800000 0x0 0x800000>, + <0x2 0x8e680260 0x0 0x7dc4>, + <0x5 0x06000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc1_dma_die1>, <&ps_venc1_pipe4_die1>, <&ps_venc1_pipe5_die1>, <&ps_venc1_me0_die1>, <&ps_venc1_me1_die1>; + clocks = <&peripheral_clocks_die1 454>; + iommus = <&ave3_dart0 0>, <&ave3_dart1 0>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1"; + status = "disabled"; + }; + + ane3_dart0: iommu@509800000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09800000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane3_dma: dma-controller@509804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x5 0x09804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_die1>; + status = "disabled"; + }; + + ane3_dart1: iommu@509810000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09810000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane3_dart2: iommu@509820000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09820000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane3: ane@509c04000 { + compatible = "apple,t6001-ane", "apple,ane"; + reg = <0x5 0x09c04000 0x0 0x24000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_cpu_die1>; + clocks = <&peripheral_clocks_die1 318>, <&peripheral_clocks_die1 319>, <&peripheral_clocks_die1 320>, <&peripheral_clocks_die1 321>; + iommus = <&ane3_dart0 0>, <&ane3_dart1 0>, <&ane3_dart2 0>; + reg-names = "engine"; + interrupt-names = "ane"; + status = "disabled"; + }; + + atc4_dpin0: displayport@701e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc4_dpin1: displayport@701e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec4_dart: iommu@721008000 { + compatible = "apple,t8110-dart"; + reg = <0x7 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec4_piodma: dma-controller@722000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec4_dart 15>; + status = "disabled"; + }; + + apciec4: pcie@730000000 { + compatible = "apple,t6000-pciec"; + reg = <0x7 0x30000000 0x0 0x10000000>, + <0x7 0x20000000 0x0 0x4000>, + <0x7 0x21000000 0x0 0x8000>, + <0x7 0x20004000 0x0 0x4000>, + <0x7 0x20200000 0x0 0x4000>, + <0x7 0x21010000 0x0 0x4000>, + <0x7 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc0_pcie_die1>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec4>; + msi-ranges = <&aic AIC_IRQ 1 1614 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec4_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x28 0x0 0x8 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0xa 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0xa 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; + + atc5_dpin0: displayport@b01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc5_dpin1: displayport@b01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec5_dart: iommu@b21008000 { + compatible = "apple,t8110-dart"; + reg = <0xb 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec5_piodma: dma-controller@b22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec5_dart 15>; + status = "disabled"; + }; + + apciec5: pcie@b30000000 { + compatible = "apple,t6000-pciec"; + reg = <0xb 0x30000000 0x0 0x10000000>, + <0xb 0x20000000 0x0 0x4000>, + <0xb 0x21000000 0x0 0x8000>, + <0xb 0x20004000 0x0 0x4000>, + <0xb 0x20200000 0x0 0x4000>, + <0xb 0x21010000 0x0 0x4000>, + <0xb 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc1_pcie_die1>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec5>; + msi-ranges = <&aic AIC_IRQ 1 1646 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec5_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x2c 0x0 0xc 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0xe 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0xe 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; +}; + +/ { + peripheral_clocks: clock-controller { + compatible = "apple,t6000-pmgr-clocks", "apple,pmgr-clocks"; + #clock-cells = <1>; + apple,pmgr = <&pmgr>; + status = "disabled"; + }; + + peripheral_clocks_die1: clock-controller-die1 { + compatible = "apple,t6000-pmgr-clocks", "apple,pmgr-clocks"; + #clock-cells = <1>; + apple,pmgr = <&pmgr_die1>; + status = "disabled"; + }; +}; + +&die0 { + mcc: memory-controller@200000000 { + compatible = "apple,t6000-mcc", "apple,mcc"; + reg = <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>; + status = "disabled"; + }; + + soc_errors: error-handler@395440000 { + compatible = "apple,t6002-error-handler", "apple,soc-error-handler"; + reg = <0x3 0x95440000 0x0 0x40000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>, + <0x2 0x82000000 0x0 0x4000>, + <0x3 0x04000000 0x0 0x4000>, + <0x3 0x83000000 0x0 0x4000>, + <0x4 0x02000000 0x0 0x4000>, + <0x4 0x82000000 0x0 0x4000>, + <0x5 0x02000000 0x0 0x4000>, + <0x2 0x58d00000 0x0 0x20000>, + <0x2 0x59100000 0x0 0x20000>, + <0x2 0x5ad00000 0x0 0x20000>, + <0x2 0x5b100000 0x0 0x20000>, + <0x2 0x60000000 0x0 0x20000>, + <0x2 0x60000000 0x0 0x20000>, + <0x2 0x59500000 0x0 0x20000>, + <0x2 0x5b500000 0x0 0x20000>, + <0x2 0x5b900000 0x0 0x20000>, + <0x2 0x4fa00000 0x0 0x20000>, + <0x2 0x50a00000 0x0 0x20000>, + <0x2 0x50e00000 0x0 0x20000>, + <0x2 0x4fa80000 0x0 0x20000>, + <0x2 0x50a80000 0x0 0x20000>, + <0x2 0x64300000 0x0 0x20000>, + <0x2 0x65300000 0x0 0x20000>, + <0x2 0x64700000 0x0 0x20000>, + <0x2 0x66300000 0x0 0x20000>, + <0x2 0x65700000 0x0 0x20000>, + <0x2 0x67300000 0x0 0x20000>, + <0x2 0x6a300000 0x0 0x20000>, + <0x2 0x68600000 0x0 0x20000>, + <0x2 0x6b300000 0x0 0x20000>, + <0x2 0x69600000 0x0 0x20000>, + <0x2 0x64b00000 0x0 0x20000>, + <0x2 0x66700000 0x0 0x20000>, + <0x2 0x65b00000 0x0 0x20000>, + <0x2 0x67700000 0x0 0x20000>, + <0x2 0x6a700000 0x0 0x20000>, + <0x2 0x68a00000 0x0 0x20000>, + <0x2 0x6b700000 0x0 0x20000>, + <0x2 0x69a00000 0x0 0x20000>, + <0x2 0x58900000 0x0 0x20000>, + <0x2 0x5a900000 0x0 0x20000>, + <0x2 0x5c000000 0x0 0x20000>, + <0x2 0x5d000000 0x0 0x20000>, + <0x2 0x5e900000 0x0 0x20000>, + <0x2 0x5fc00000 0x0 0x20000>, + <0x2 0x61000000 0x0 0x20000>, + <0x2 0x62000000 0x0 0x20000>, + <0x2 0x4f600000 0x0 0x20000>, + <0x2 0x50600000 0x0 0x20000>, + <0x2 0x52000000 0x0 0x20000>, + <0x2 0x53000000 0x0 0x20000>, + <0x2 0x54600000 0x0 0x20000>, + <0x2 0x55600000 0x0 0x20000>, + <0x2 0x56000000 0x0 0x20000>, + <0x2 0x57000000 0x0 0x20000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x4f332000 0x0 0x1000>, + <0x2 0x50032000 0x0 0x1000>, + <0x2 0x50332000 0x0 0x1000>, + <0x2 0x54032000 0x0 0x1000>, + <0x2 0x55032000 0x0 0x1000>, + <0x2 0x54332000 0x0 0x1000>, + <0x2 0x55332000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58332000 0x0 0x1000>, + <0x2 0x58632000 0x0 0x1000>, + <0x2 0x5a032000 0x0 0x1000>, + <0x2 0x5a332000 0x0 0x1000>, + <0x2 0x5a632000 0x0 0x1000>, + <0x2 0x5e032000 0x0 0x1000>, + <0x2 0x5f632000 0x0 0x1000>, + <0x2 0x5f032000 0x0 0x1000>, + <0x2 0x5f332000 0x0 0x1000>, + <0x2 0x5e332000 0x0 0x1000>, + <0x2 0x5e632000 0x0 0x1000>, + <0x2 0x5f932000 0x0 0x1000>, + <0x2 0x64032000 0x0 0x1000>, + <0x2 0x66032000 0x0 0x1000>, + <0x2 0x65032000 0x0 0x1000>, + <0x2 0x67032000 0x0 0x1000>, + <0x2 0x6a032000 0x0 0x1000>, + <0x2 0x68032000 0x0 0x1000>, + <0x2 0x6b032000 0x0 0x1000>, + <0x2 0x69032000 0x0 0x1000>, + <0x2 0x6ab32000 0x0 0x1000>, + <0x2 0x6bb32000 0x0 0x1000>, + <0x2 0x54400000 0x0 0x4000>, + <0x2 0x55400000 0x0 0x4000>, + <0x2 0x5e700000 0x0 0x4000>, + <0x2 0x5fa00000 0x0 0x4000>, + <0x2 0x6ac00000 0x0 0x4000>, + <0x2 0x6ac80000 0x0 0x4000>, + <0x2 0x6bc00000 0x0 0x4000>, + <0x2 0x6bc80000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + soc_events: event-log@28e080000 { + compatible = "apple,t6002-event-log", "apple,soc-event-log"; + reg = <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x8e580000 0x0 0x80000>, + <0x2 0x8e680000 0x0 0x74000>, + <0x2 0x8e45c000 0x0 0x4000>, + <0x2 0x8e460000 0x0 0x4000>, + <0x2 0x8e464000 0x0 0x4000>, + <0x2 0x8e468000 0x0 0x4000>, + <0x2 0x8e46c000 0x0 0x4000>, + <0x2 0x8e458000 0x0 0x4000>, + <0x2 0x8e428000 0x0 0x8000>, + <0x2 0x8e430000 0x0 0x8000>, + <0x2 0x8e418000 0x0 0x8000>, + <0x2 0x8e410000 0x0 0x8000>, + <0x2 0x8e420000 0x0 0x8000>, + <0x2 0x8e400000 0x0 0x8000>, + <0x2 0x8e408000 0x0 0x8000>, + <0x2 0x8e438000 0x0 0x8000>, + <0x2 0x8e440000 0x0 0x8000>, + <0x2 0x92200000 0x0 0x80000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e600000 0x0 0x4c000>, + <0x2 0x92280000 0x0 0x74000>, + <0x2 0x85838000 0x0 0x8000>, + <0x5 0x09838000 0x0 0x8000>, + <0x2 0x85868000 0x0 0x4000>, + <0x5 0x09868000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + pwm1: timer-pwm@39b030000 { + compatible = "apple,t6000-pwm", "apple,pwm"; + reg = <0x3 0x9b030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_fpwm1>; + status = "disabled"; + }; +}; + +&die1 { + mcc_die1: memory-controller@200000000 { + compatible = "apple,t6000-mcc", "apple,mcc"; + reg = <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>; + status = "disabled"; + }; + + soc_errors_die1: error-handler@200000000 { + compatible = "apple,t6002-error-handler", "apple,soc-error-handler"; + reg = <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>, + <0x2 0x82000000 0x0 0x4000>, + <0x3 0x04000000 0x0 0x4000>, + <0x3 0x83000000 0x0 0x4000>, + <0x4 0x02000000 0x0 0x4000>, + <0x4 0x82000000 0x0 0x4000>, + <0x5 0x02000000 0x0 0x4000>, + <0x2 0x58d00000 0x0 0x20000>, + <0x2 0x59100000 0x0 0x20000>, + <0x2 0x5ad00000 0x0 0x20000>, + <0x2 0x5b100000 0x0 0x20000>, + <0x2 0x60000000 0x0 0x20000>, + <0x2 0x60400000 0x0 0x20000>, + <0x2 0x59500000 0x0 0x20000>, + <0x2 0x5b500000 0x0 0x20000>, + <0x2 0x5b900000 0x0 0x20000>, + <0x2 0x4fa00000 0x0 0x20000>, + <0x2 0x50a00000 0x0 0x20000>, + <0x2 0x50e00000 0x0 0x20000>, + <0x2 0x4fa80000 0x0 0x20000>, + <0x2 0x50a80000 0x0 0x20000>, + <0x2 0x64300000 0x0 0x20000>, + <0x2 0x65300000 0x0 0x20000>, + <0x2 0x64700000 0x0 0x20000>, + <0x2 0x66300000 0x0 0x20000>, + <0x2 0x65700000 0x0 0x20000>, + <0x2 0x67300000 0x0 0x20000>, + <0x2 0x6a300000 0x0 0x20000>, + <0x2 0x68600000 0x0 0x20000>, + <0x2 0x6b300000 0x0 0x20000>, + <0x2 0x69600000 0x0 0x20000>, + <0x2 0x64b00000 0x0 0x20000>, + <0x2 0x66700000 0x0 0x20000>, + <0x2 0x65b00000 0x0 0x20000>, + <0x2 0x67700000 0x0 0x20000>, + <0x2 0x6a700000 0x0 0x20000>, + <0x2 0x68a00000 0x0 0x20000>, + <0x2 0x6b700000 0x0 0x20000>, + <0x2 0x69a00000 0x0 0x20000>, + <0x2 0x58900000 0x0 0x20000>, + <0x2 0x5a900000 0x0 0x20000>, + <0x2 0x5c000000 0x0 0x20000>, + <0x2 0x5d000000 0x0 0x20000>, + <0x2 0x5e900000 0x0 0x20000>, + <0x2 0x5fc00000 0x0 0x20000>, + <0x2 0x61000000 0x0 0x20000>, + <0x2 0x62000000 0x0 0x20000>, + <0x2 0x4f600000 0x0 0x20000>, + <0x2 0x50600000 0x0 0x20000>, + <0x2 0x52000000 0x0 0x20000>, + <0x2 0x53000000 0x0 0x20000>, + <0x2 0x54600000 0x0 0x20000>, + <0x2 0x55600000 0x0 0x20000>, + <0x2 0x56000000 0x0 0x20000>, + <0x2 0x57000000 0x0 0x20000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x4f332000 0x0 0x1000>, + <0x2 0x50032000 0x0 0x1000>, + <0x2 0x50332000 0x0 0x1000>, + <0x2 0x54032000 0x0 0x1000>, + <0x2 0x55032000 0x0 0x1000>, + <0x2 0x54332000 0x0 0x1000>, + <0x2 0x55332000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58332000 0x0 0x1000>, + <0x2 0x58632000 0x0 0x1000>, + <0x2 0x5a032000 0x0 0x1000>, + <0x2 0x5a332000 0x0 0x1000>, + <0x2 0x5a632000 0x0 0x1000>, + <0x2 0x5e032000 0x0 0x1000>, + <0x2 0x5f632000 0x0 0x1000>, + <0x2 0x5f032000 0x0 0x1000>, + <0x2 0x5f332000 0x0 0x1000>, + <0x2 0x5e332000 0x0 0x1000>, + <0x2 0x5e632000 0x0 0x1000>, + <0x2 0x5f932000 0x0 0x1000>, + <0x2 0x64032000 0x0 0x1000>, + <0x2 0x66032000 0x0 0x1000>, + <0x2 0x65032000 0x0 0x1000>, + <0x2 0x67032000 0x0 0x1000>, + <0x2 0x6a032000 0x0 0x1000>, + <0x2 0x68032000 0x0 0x1000>, + <0x2 0x6b032000 0x0 0x1000>, + <0x2 0x69032000 0x0 0x1000>, + <0x2 0x6ab32000 0x0 0x1000>, + <0x2 0x6bb32000 0x0 0x1000>, + <0x2 0x54400000 0x0 0x4000>, + <0x2 0x55400000 0x0 0x4000>, + <0x2 0x5e700000 0x0 0x4000>, + <0x2 0x5fa00000 0x0 0x4000>, + <0x2 0x6ac00000 0x0 0x4000>, + <0x2 0x6ac80000 0x0 0x4000>, + <0x2 0x6bc00000 0x0 0x4000>, + <0x2 0x6bc80000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + soc_events_die1: event-log@28e080000 { + compatible = "apple,t6002-event-log", "apple,soc-event-log"; + reg = <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x8e580000 0x0 0x80000>, + <0x2 0x8e680000 0x0 0x74000>, + <0x2 0x8e45c000 0x0 0x4000>, + <0x2 0x8e460000 0x0 0x4000>, + <0x2 0x8e464000 0x0 0x4000>, + <0x2 0x8e468000 0x0 0x4000>, + <0x2 0x8e46c000 0x0 0x4000>, + <0x2 0x8e458000 0x0 0x4000>, + <0x2 0x8e428000 0x0 0x8000>, + <0x2 0x8e430000 0x0 0x8000>, + <0x2 0x8e418000 0x0 0x8000>, + <0x2 0x8e410000 0x0 0x8000>, + <0x2 0x8e420000 0x0 0x8000>, + <0x2 0x8e400000 0x0 0x8000>, + <0x2 0x8e408000 0x0 0x8000>, + <0x2 0x8e438000 0x0 0x8000>, + <0x2 0x8e440000 0x0 0x8000>, + <0x2 0x92200000 0x0 0x80000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e600000 0x0 0x4c000>, + <0x2 0x92280000 0x0 0x74000>, + <0x2 0x85838000 0x0 0x8000>, + <0x5 0x09838000 0x0 0x8000>, + <0x2 0x85868000 0x0 0x4000>, + <0x5 0x09868000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; +}; + +&ave { + reg = <0x4 0x0d100000 0x0 0x45c000>, + <0x4 0x0d050000 0x0 0x8000>, + <0x4 0x0d800000 0x0 0x800000>, + <0x2 0x8e588000 0x0 0x24>, + <0x4 0x0c000000 0x0 0x1000000>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + clocks = <&peripheral_clocks 350>; +}; diff --git a/arch/arm64/boot/dts/apple/t6002.dtsi b/arch/arm64/boot/dts/apple/t6002.dtsi index d34a03b374df5..cba784ce56c18 100644 --- a/arch/arm64/boot/dts/apple/t6002.dtsi +++ b/arch/arm64/boot/dts/apple/t6002.dtsi @@ -380,3 +380,7 @@ }; #include "hwmon-common.dtsi" + +#include "t6002-peripherals.dtsi" +#include "t6002-aux-spmi.dtsi" +#include "t6002-display-extra.dtsi" diff --git a/arch/arm64/boot/dts/apple/t600x-die0.dtsi b/arch/arm64/boot/dts/apple/t600x-die0.dtsi index 8ccbc3e45971f..63da88e035da3 100644 --- a/arch/arm64/boot/dts/apple/t600x-die0.dtsi +++ b/arch/arm64/boot/dts/apple/t600x-die0.dtsi @@ -8,9 +8,9 @@ &SOC_NODE { - ave_dart1: iommu@20d030000 { + ave_dart1: iommu@40d030000 { compatible = "apple,t6000-dart"; - reg = <0x2 0x0d030000 0 0x4000>; + reg = <0x4 0x0d030000 0 0x4000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_venc_sys>; @@ -18,9 +18,9 @@ status = "disabled"; }; - ave_dart0: iommu@20d040000 { + ave_dart0: iommu@40d040000 { compatible = "apple,t6000-dart"; - reg = <0x2 0x0d040000 0 0x4000>; + reg = <0x4 0x0d040000 0 0x4000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_venc_sys>; @@ -28,11 +28,11 @@ status = "disabled"; }; - ave: video-codec@20d100000 { + ave: video-codec@40d100000 { compatible = "apple,t6000-ave"; - reg = <0x2 0x0d100000 0 0x45c000>, - <0x2 0x0d050000 0 0x8000>, - <0x2 0x0d800000 0 0x800000>; + reg = <0x4 0x0d100000 0 0x45c000>, + <0x4 0x0d050000 0 0x8000>, + <0x4 0x0d800000 0 0x800000>; reg-names = "codec", "mailbox", "coproc"; interrupt-parent = <&aic>; interrupts = , @@ -90,6 +90,30 @@ status = "disabled"; }; + clvr_spmi0: spmi@28e501100 { + compatible = "apple,t6000-spmi", "apple,t8103-spmi"; + reg = <0x2 0x8e501100 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + clvr_spmi1: spmi@28e509100 { + compatible = "apple,t6000-spmi", "apple,t8103-spmi"; + reg = <0x2 0x8e509100 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + clvr_spmi2: spmi@28e511100 { + compatible = "apple,t6000-spmi", "apple,t8103-spmi"; + reg = <0x2 0x8e511100 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + nco: clock-controller@28e03c000 { compatible = "apple,t6000-nco", "apple,nco"; reg = <0x2 0x8e03c000 0x0 0x14000>; @@ -435,6 +459,14 @@ }; }; + nub_spmi1: spmi@2920a9300 { + compatible = "apple,t6000-spmi", "apple,t8103-spmi"; + reg = <0x2 0x920a9300 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + wdt: watchdog@2922b0000 { compatible = "apple,t6000-wdt", "apple,wdt"; reg = <0x2 0x922b0000 0x0 0x4000>; @@ -466,6 +498,22 @@ status = "disabled"; }; + aop_spmi0: spmi@293829300 { + compatible = "apple,t6000-spmi", "apple,t8103-spmi"; + reg = <0x2 0x93829300 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + aop_spmi1: spmi@29382d300 { + compatible = "apple,t6000-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9382d300 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + aop_admac: dma-controller@293980000 { compatible = "apple,t6000-admac", "apple,admac"; reg = <0x2 0x93980000 0x0 0x34000>; @@ -787,6 +835,18 @@ status = "disabled"; }; + spi4: spi@39b110000 { + compatible = "apple,t6000-spi", "apple,t8103-spi"; + reg = <0x3 0x9b110000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clkref>; + power-domains = <&ps_spi4>; + status = "disabled"; + }; + serial0: serial@39b200000 { compatible = "apple,s5l-uart"; reg = <0x3 0x9b200000 0x0 0x1000>; diff --git a/arch/arm64/boot/dts/apple/t600x-j314-j316-control.dtsi b/arch/arm64/boot/dts/apple/t600x-j314-j316-control.dtsi new file mode 100644 index 0000000000000..39de40bcac695 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t600x-j314-j316-control.dtsi @@ -0,0 +1,41 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Populated board control clients. Transport ownership is not transferred. */ + +&i2c4 { + sd_card_control: sd-card-control@20 { + compatible = "apple,t6000-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&spi4 { + clocks = <&peripheral_clocks 380>; + + panel_controller: panel-timing-controller@0 { + compatible = "parade,dp855"; + reg = <0>; + status = "disabled"; + + i2c { + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + temperature-sensor@70 { + compatible = "ti,tmp103"; + reg = <0x70>; + status = "disabled"; + }; + temperature-sensor@71 { + compatible = "ti,tmp103"; + reg = <0x71>; + status = "disabled"; + }; + temperature-sensor@72 { + compatible = "ti,tmp103"; + reg = <0x72>; + status = "disabled"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi b/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi index a15e5d77a70f5..8055596720149 100644 --- a/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi +++ b/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi @@ -997,3 +997,7 @@ &pmp_report_isp_sys { status = "okay"; }; + +#ifdef APPLE_T600X_NON_ULTRA +#include "t600x-j314-j316-control.dtsi" +#endif diff --git a/arch/arm64/boot/dts/apple/t600x-pmgr.dtsi b/arch/arm64/boot/dts/apple/t600x-pmgr.dtsi index 77469a62242a6..e1abbd1c6dfe1 100644 --- a/arch/arm64/boot/dts/apple/t600x-pmgr.dtsi +++ b/arch/arm64/boot/dts/apple/t600x-pmgr.dtsi @@ -1925,8 +1925,7 @@ power-domains = <&DIE_NODE(ps_afnc5_lw0)>, <&DIE_NODE(ps_afr)>; }; - /* Seems to be disabled on shipping hardware */ -#if 0 + /* Unqualified secondary ANE power states are described but remain off. */ DIE_NODE(ps_ane1_sys): power-controller@268 { compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; reg = <0x268 4>; @@ -1934,6 +1933,7 @@ #reset-cells = <0>; label = DIE_LABEL(ane1_sys); power-domains = <&DIE_NODE(ps_afnc5_lw0)>; + status = "disabled"; }; DIE_NODE(ps_ane1_sys_cpu): power-controller@270 { @@ -1943,8 +1943,8 @@ #reset-cells = <0>; label = DIE_LABEL(ane1_sys_cpu); power-domains = <&DIE_NODE(ps_ane1_sys)>; + status = "disabled"; }; -#endif DIE_NODE(ps_venc1_dma): power-controller@8000 { compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; diff --git a/arch/arm64/boot/dts/apple/t6020-j414s-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6020-j414s-peripherals.dtsi new file mode 100644 index 0000000000000..f853d86d18c93 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6020-j414s-peripherals.dtsi @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T6020 hardware resources. Keep unqualified blocks disabled. */ + +&{/soc} { + m2_apcie1_piodma: dma-controller@595010000 { + compatible = "apple,t6020-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x95010000 0x0 0x4000>, + <0x5 0x95014000 0x0 0x4000>, + <0x5 0x95018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_1 15>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6020-j414s.dts b/arch/arm64/boot/dts/apple/t6020-j414s.dts index a227069727dd8..d25ddc974bd5a 100644 --- a/arch/arm64/boot/dts/apple/t6020-j414s.dts +++ b/arch/arm64/boot/dts/apple/t6020-j414s.dts @@ -45,3 +45,7 @@ &mtp_mt { firmware-name = "apple/tpmtfw-j414s.bin"; }; + +#include "t6020-peripherals.dtsi" + +#include "t6020-j414s-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6020-j416s-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6020-j416s-peripherals.dtsi new file mode 100644 index 0000000000000..f853d86d18c93 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6020-j416s-peripherals.dtsi @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T6020 hardware resources. Keep unqualified blocks disabled. */ + +&{/soc} { + m2_apcie1_piodma: dma-controller@595010000 { + compatible = "apple,t6020-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x95010000 0x0 0x4000>, + <0x5 0x95014000 0x0 0x4000>, + <0x5 0x95018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_1 15>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6020-j416s.dts b/arch/arm64/boot/dts/apple/t6020-j416s.dts index 3ea2b1d52593e..75d2ce2083807 100644 --- a/arch/arm64/boot/dts/apple/t6020-j416s.dts +++ b/arch/arm64/boot/dts/apple/t6020-j416s.dts @@ -45,3 +45,7 @@ &mtp_mt { firmware-name = "apple/tpmtfw-j416s.bin"; }; + +#include "t6020-peripherals.dtsi" + +#include "t6020-j416s-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6020-j474s-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6020-j474s-peripherals.dtsi new file mode 100644 index 0000000000000..0b35b916d95e4 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6020-j474s-peripherals.dtsi @@ -0,0 +1,54 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T6020 hardware resources. Keep unqualified blocks disabled. */ + +&{/soc} { + m2_apcie2_piodma: dma-controller@596010000 { + compatible = "apple,t6020-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x96010000 0x0 0x4000>, + <0x5 0x96014000 0x0 0x4000>, + <0x5 0x96018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_2 15>; + status = "disabled"; + }; + + m2_apcie3_piodma: dma-controller@597010000 { + compatible = "apple,t6020-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x97010000 0x0 0x4000>, + <0x5 0x97014000 0x0 0x4000>, + <0x5 0x97018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_3 15>; + status = "disabled"; + }; + + m2_atc3_dpin0: displayport-input@1301e50000 { + compatible = "apple,t6020-dpin", "apple,dpin"; + reg = <0x13 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc3_dpin1: displayport-input@1301e58000 { + compatible = "apple,t6020-dpin", "apple,dpin"; + reg = <0x13 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec3_piodma: dma-controller@1322000000 { + compatible = "apple,t6020-pciec-piodma", "apple,pciec-piodma"; + reg = <0x13 0x22000000 0x0 0x4000>, + <0x13 0x22004000 0x0 0x4000>, + <0x13 0x22008000 0x0 0x4000>, + <0x13 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec3_dart 15>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6020-j474s.dts b/arch/arm64/boot/dts/apple/t6020-j474s.dts index 1084e0cb71904..3d2b4c3e0211b 100644 --- a/arch/arm64/boot/dts/apple/t6020-j474s.dts +++ b/arch/arm64/boot/dts/apple/t6020-j474s.dts @@ -126,3 +126,7 @@ }; #include "hwmon-mini.dtsi" + +#include "t6020-peripherals.dtsi" + +#include "t6020-j474s-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6020-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6020-peripherals.dtsi new file mode 100644 index 0000000000000..9f0547e65bf03 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6020-peripherals.dtsi @@ -0,0 +1,780 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T6020 hardware resources. Keep unqualified blocks disabled. */ + +&{/soc} { + m2_dart_dispext0_1: iommu@289300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x2 0x89300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_event_log_handler: event-log@28e080000 { + compatible = "apple,t6020-event-log", "apple,soc-event-log"; + reg = <0x2 0x8e080000 0x0 0x8000>, + <0x2 0x8e08c000 0x0 0x4000>, + <0x2 0x8e0d4000 0x0 0x4000>, + <0x2 0x8e094000 0x0 0x4000>, + <0x2 0x8e0a0000 0x0 0x1c000>, + <0x2 0x8e0cc000 0x0 0x4000>, + <0x2 0x8e0f0000 0x0 0x8000>, + <0x2 0x8e0ec000 0x0 0x4000>, + <0x2 0x8e09c000 0x0 0x4000>, + <0x2 0x8e0e0000 0x0 0xc000>, + <0x2 0x90280000 0x0 0x10000>, + <0x2 0x90290000 0x0 0x4000>, + <0x2 0x90298000 0x0 0x4000>, + <0x2 0x9029c000 0x0 0x4000>, + <0x2 0x902b0000 0x0 0x4000>, + <0x2 0x902b8000 0x0 0x8000>, + <0x2 0x902ac000 0x0 0x4000>, + <0x2 0x8e680000 0x0 0xc000>, + <0x2 0x8e68c000 0x0 0x4000>, + <0x2 0x8e6a0000 0x0 0x8000>, + <0x2 0x8e69c000 0x0 0x4000>, + <0x2 0x8e424000 0x0 0x4000>, + <0x2 0x8e428000 0x0 0x4000>, + <0x2 0x8e42c000 0x0 0x4000>, + <0x2 0x8e430000 0x0 0x4000>, + <0x2 0x8e434000 0x0 0x4000>, + <0x2 0x8e440000 0x0 0x4000>, + <0x2 0x8e444000 0x0 0x4000>, + <0x2 0x8e448000 0x0 0x4000>, + <0x2 0x8e420000 0x0 0x4000>, + <0x2 0x8e400000 0x0 0x8000>, + <0x2 0x8e408000 0x0 0x8000>, + <0x2 0x9e200000 0x0 0x80000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e600000 0x0 0x58000>, + <0x2 0x9e280000 0x0 0x58000>, + <0x2 0x85838000 0x0 0x8000>, + <0x2 0x85868000 0x0 0x4000>, + <0x4 0x4e1c000 0x0 0x4000>, + <0x4 0x4e5c000 0x0 0x4000>, + <0x4 0x4ea8000 0x0 0x4000>, + <0x4 0x4eac000 0x0 0x4000>, + <0x4 0x4e8c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + m2_dwi: dwi@28e0fc000 { + compatible = "apple,t6020-dwi", "apple,dwi"; + reg = <0x2 0x8e0fc000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + m2_aic_timebase: timer@28e148000 { + compatible = "apple,t6020-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x8e148000 0x0 0x1000>; + status = "disabled"; + }; + + m2_mcc: memory-controller@28e3c0000 { + compatible = "apple,t6020-mcc", "apple,mcc"; + reg = <0x2 0x8e3c0000 0x0 0x20000>, + <0x2 0x8e4d0000 0x0 0x149c>, + <0x2 0x0 0x0 0x1000000>, + <0x2 0x1000000 0x0 0x1000000>, + <0x2 0x2000000 0x0 0x1000000>, + <0x2 0x3000000 0x0 0x1000000>; + status = "disabled"; + }; + + m2_clvr_spmi0_sideband: spmi-sideband@290004000 { + compatible = "apple,t6020-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90004000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi0: spmi@29000c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9000c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_clvr_spmi1_sideband: spmi-sideband@290044000 { + compatible = "apple,t6020-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90044000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi1: spmi@29004c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9004c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_clvr_spmi2_sideband: spmi-sideband@290084000 { + compatible = "apple,t6020-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90084000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi2: spmi@29008c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9008c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_nub_spmi0_sideband: spmi-sideband@29e104000 { + compatible = "apple,t6020-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x9e104000 0x0 0x4000>; + status = "disabled"; + }; + + m2_nub_spmi1_sideband: spmi-sideband@29e144000 { + compatible = "apple,t6020-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x9e144000 0x0 0x4000>; + status = "disabled"; + }; + + m2_nub_spmi1: spmi@29e154000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9e154000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@a { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xa SPMI_USID>; + read-only; + status = "disabled"; + }; + + peripheral@d { + compatible = "apple,t6020-spmi-peripheral", + "apple,spmi-peripheral"; + reg = <0xd SPMI_USID>; + status = "disabled"; + }; + }; + + m2_dockchannel_uart: serial@29e52c000 { + compatible = "apple,t6020-dockchannel-uart", "apple,dockchannel-uart"; + reg-names = "data", "config", "irq"; + reg = <0x2 0x9e52c000 0x0 0x4000>, + <0x2 0x9e528000 0x0 0x4000>, + <0x2 0x9e50c000 0x0 0x18>; + apple,sw-drain; + status = "disabled"; + }; + + m2_aop_spmi0_sideband: spmi-sideband@2a6884000 { + compatible = "apple,t6020-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0xa6884000 0x0 0x4000>; + status = "disabled"; + }; + + m2_aop_spmi0: spmi@2a6894000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa6894000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + nfc@8 { + compatible = "apple,t6020-spmi-nfc", + "apple,spmi-nfc"; + reg = <0x8 SPMI_USID>; + interrupt-parent = <&m2_aop_spmi0>; + interrupts = <176 IRQ_TYPE_LEVEL_HIGH>, + <177 IRQ_TYPE_LEVEL_HIGH>, + <178 IRQ_TYPE_LEVEL_HIGH>, + <179 IRQ_TYPE_LEVEL_HIGH>, + <180 IRQ_TYPE_LEVEL_HIGH>, + <181 IRQ_TYPE_LEVEL_HIGH>, + <182 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + peripheral@e { + compatible = "apple,t6020-spmi-peripheral", + "apple,spmi-peripheral"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + }; + + m2_aop_spmi1_sideband: spmi-sideband@2a68c4000 { + compatible = "apple,t6020-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0xa68c4000 0x0 0x4000>; + status = "disabled"; + }; + + m2_aop_spmi1: spmi@2a68d4000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa68d4000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + nfc@8 { + compatible = "apple,t6020-spmi-nfc", + "apple,spmi-nfc"; + reg = <0x8 SPMI_USID>; + interrupt-parent = <&m2_aop_spmi1>; + interrupts = <176 IRQ_TYPE_LEVEL_HIGH>, + <177 IRQ_TYPE_LEVEL_HIGH>, + <178 IRQ_TYPE_LEVEL_HIGH>, + <179 IRQ_TYPE_LEVEL_HIGH>, + <180 IRQ_TYPE_LEVEL_HIGH>, + <181 IRQ_TYPE_LEVEL_HIGH>, + <182 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + }; + + m2_apr0: video-codec@311000000 { + compatible = "apple,t6020-prores", "apple,prores"; + reg-names = "core", "wrapper"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_apr0_0 1>, <&m2_dart_apr0_1 1>; + power-domains = <&ps_scodec>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_apr0_1: iommu@311024000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x11024000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_apr0_0: iommu@311028000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x11028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_scdc0: iommu@31102c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x1102c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_scdc0: coprocessor@312400000 { + compatible = "apple,t6020-scdc", "apple,scdc"; + reg = <0x3 0x12400000 0x0 0x6c000>, + <0x3 0x12050000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>, + <0x3 0x11040000 0x0 0x1c000>, + <0x3 0x11070000 0x0 0x4000>, + <0x3 0x11074000 0x0 0x4000>, + <0x3 0x11100000 0x0 0x3c000>, + <0x3 0x11140000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + iommus = <&m2_dart_scdc0 0>, <&m2_dart_apr0_0 0>, <&m2_dart_apr0_1 0>; + power-domains = <&ps_scodec>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_dispext1_1: iommu@315300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x15300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_jpeg0: jpeg@38d000000 { + compatible = "apple,t6020-jpeg", "apple,jpeg"; + reg = <0x3 0x8d000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_jpeg0 0>; + power-domains = <&ps_jpg>; + status = "disabled"; + }; + + m2_dart_jpeg0: iommu@38d004000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x8d004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_jpeg1: jpeg@38d008000 { + compatible = "apple,t6020-jpeg", "apple,jpeg"; + reg = <0x3 0x8d008000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_jpeg1 0>; + power-domains = <&ps_jpg>; + status = "disabled"; + }; + + m2_dart_jpeg1: iommu@38d00c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x8d00c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_error_handler: error-handler@394c40000 { + compatible = "apple,t6020-error-handler", "apple,soc-error-handler"; + reg = <0x3 0x94c40000 0x0 0x40000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x9e2cc000 0x0 0x4000>, + <0x2 0x0 0x0 0x1000000>, + <0x2 0x1000000 0x0 0x1000000>, + <0x2 0x2000000 0x0 0x1000000>, + <0x2 0x3000000 0x0 0x1000000>, + <0x2 0x80000000 0x0 0x4000>, + <0x3 0x0 0x0 0x4000>, + <0x3 0x80000000 0x0 0x4000>, + <0x4 0x0 0x0 0x4000>, + <0x3 0x40000000 0x0 0x4000>, + <0x2 0x59000000 0x0 0x3c000>, + <0x2 0x59400000 0x0 0x3c000>, + <0x2 0x59c00000 0x0 0x3c000>, + <0x2 0x5b000000 0x0 0x3c000>, + <0x2 0x5b400000 0x0 0x3c000>, + <0x2 0x59800000 0x0 0x3c000>, + <0x2 0x5b800000 0x0 0x3c000>, + <0x2 0x5bc00000 0x0 0x3c000>, + <0x2 0x4fc00000 0x0 0x3c000>, + <0x2 0x50c00000 0x0 0x3c000>, + <0x2 0x51000000 0x0 0x3c000>, + <0x2 0x4fcc0000 0x0 0x3c000>, + <0x2 0x510c0000 0x0 0x3c000>, + <0x4 0x7180000 0x0 0x18000>, + <0x4 0x7380000 0x0 0x18000>, + <0x4 0x71a0000 0x0 0x18000>, + <0x4 0x73a0000 0x0 0x18000>, + <0x4 0x7000000 0x0 0x18000>, + <0x4 0x7200000 0x0 0x18000>, + <0x4 0x7080000 0x0 0x18000>, + <0x4 0x7280000 0x0 0x18000>, + <0x4 0x7040000 0x0 0x18000>, + <0x4 0x7240000 0x0 0x18000>, + <0x4 0x70c0000 0x0 0x18000>, + <0x4 0x72c0000 0x0 0x18000>, + <0x2 0x58c00000 0x0 0x3c000>, + <0x2 0x5ac00000 0x0 0x3c000>, + <0x2 0x5c000000 0x0 0x3c000>, + <0x2 0x5d000000 0x0 0x3c000>, + <0x2 0x4f800000 0x0 0x3c000>, + <0x2 0x50800000 0x0 0x3c000>, + <0x2 0x52000000 0x0 0x3c000>, + <0x2 0x53000000 0x0 0x3c000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x4f432000 0x0 0x1000>, + <0x2 0x50032000 0x0 0x1000>, + <0x2 0x50432000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58432000 0x0 0x1000>, + <0x2 0x58832000 0x0 0x1000>, + <0x2 0x5a032000 0x0 0x1000>, + <0x2 0x5a432000 0x0 0x1000>, + <0x2 0x5a832000 0x0 0x1000>, + <0x4 0x7114000 0x0 0x1000>, + <0x4 0x7314000 0x0 0x1000>, + <0x4 0x7134000 0x0 0x1000>, + <0x4 0x7334000 0x0 0x1000>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x71e0000 0x0 0x4000>, + <0x4 0x73e0000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + power-domains = <&ps_gfx>; + status = "disabled"; + }; + + m2_aes: aes@39b070000 { + compatible = "apple,t6020-aes", "apple,aes"; + reg = <0x3 0x9b070000 0x0 0x4000>, + <0x2 0x9e2b0000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&sio_dart 1>; + power-domains = <&ps_aes>; + status = "disabled"; + }; + + m2_scaler0: scaler@40b000000 { + compatible = "apple,t6020-scaler", "apple,scaler"; + reg = <0x4 0xb000000 0x0 0x28000>, + <0x4 0xb210000 0x0 0x4000>, + <0x4 0xb204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + iommus = <&m2_dart_scaler0 0>, <&m2_dart_scaler0 1>; + power-domains = <&ps_msr0>, <&ps_afr>, <&ps_msr0_ase_core>; + status = "disabled"; + }; + + m2_dart_scaler0: iommu@40b200000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xb200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_avd_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_2: iommu@40d020000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd020000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_0: iommu@40d030000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_1: iommu@40d040000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_3: iommu@40d044000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_ave0: video-codec@40d100000 { + compatible = "apple,t6020-ave", "apple,ave"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1", "perf"; + reg-names = "codec", "mailbox", "coproc", "power-control", "fabric"; + reg = <0x4 0xd100000 0x0 0x45c000>, + <0x4 0xd050000 0x0 0x8000>, + <0x4 0xd800000 0x0 0x800000>, + <0x2 0x902803e0 0x0 0x7c44>, + <0x4 0xc000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + iommus = <&m2_dart_ave0_0 0>, <&m2_dart_ave0_1 0>, <&m2_dart_ave0_2 0>, <&m2_dart_ave0_3 0>; + power-domains = <&ps_venc_dma>, <&ps_venc_pipe4>, <&ps_venc_pipe5>, <&ps_venc_me0>, <&ps_venc_me1>, <&ps_afr>; + status = "disabled"; + }; + + m2_apcie0_piodma: dma-controller@594010000 { + compatible = "apple,t6020-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x94010000 0x0 0x4000>, + <0x5 0x94014000 0x0 0x4000>, + <0x5 0x94018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_0 15>; + status = "disabled"; + }; + + m2_atc0_dpin0: displayport-input@701e50000 { + compatible = "apple,t6020-dpin", "apple,dpin"; + reg = <0x7 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc0_dpin1: displayport-input@701e58000 { + compatible = "apple,t6020-dpin", "apple,dpin"; + reg = <0x7 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6020-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart 15>; + status = "disabled"; + }; + + m2_atc1_dpin0: displayport-input@b01e50000 { + compatible = "apple,t6020-dpin", "apple,dpin"; + reg = <0xb 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc1_dpin1: displayport-input@b01e58000 { + compatible = "apple,t6020-dpin", "apple,dpin"; + reg = <0xb 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6020-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart 15>; + status = "disabled"; + }; + + m2_atc2_dpin0: displayport-input@f01e50000 { + compatible = "apple,t6020-dpin", "apple,dpin"; + reg = <0xf 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc2_dpin1: displayport-input@f01e58000 { + compatible = "apple,t6020-dpin", "apple,dpin"; + reg = <0xf 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6020-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec2_dart 15>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6021-j414c.dts b/arch/arm64/boot/dts/apple/t6021-j414c.dts index 2521633009343..3b5c7091d781f 100644 --- a/arch/arm64/boot/dts/apple/t6021-j414c.dts +++ b/arch/arm64/boot/dts/apple/t6021-j414c.dts @@ -64,3 +64,5 @@ spi-cs-setup-delay-ns = <20>; spi-cs-hold-delay-ns = <20>; }; + +#include "t6021-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6021-j416c.dts b/arch/arm64/boot/dts/apple/t6021-j416c.dts index 1c95fce375000..a1d140d80af8c 100644 --- a/arch/arm64/boot/dts/apple/t6021-j416c.dts +++ b/arch/arm64/boot/dts/apple/t6021-j416c.dts @@ -66,3 +66,5 @@ &mtp_mt { firmware-name = "apple/tpmtfw-j416c.bin"; }; + +#include "t6021-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6021-j475c-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6021-j475c-peripherals.dtsi new file mode 100644 index 0000000000000..cd4b961328eeb --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6021-j475c-peripherals.dtsi @@ -0,0 +1,183 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T6021 hardware resources. Keep unqualified blocks disabled. */ + +&{/soc} { + + m2_dart_dispext2_0: iommu@48d304000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x8d304000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dcpext2: iommu@48d30c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x8d30c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dcpext2_mbox: mailbox@48dc08000 { + compatible = "apple,t6020-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8dc08000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + m2_dcpext2: dcp@48dc00000 { + compatible = "apple,t6020-dcpext", "apple,dcpext"; + mbox-names = "mbox"; + mboxes = <&m2_dcpext2_mbox>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3"; + reg = <0x4 0x8dc00000 0 0x4000>, + <0x4 0x8c000000 0 0x4000000>, + <0x4 0x8d320000 0 0x4000>, + <0x4 0x8d344000 0 0x4000>, + <0x4 0x8d800000 0 0x800000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&m2_dart_dcpext2 5>; + power-domains = <&ps_dispext2_cpu0>; + status = "disabled"; + + piodma { + iommus = <&m2_dart_dispext2_0 4>; + }; + }; + + m2_dart_dispext3_0: iommu@50d304000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0xd304000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dcpext3: iommu@50d30c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0xd30c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dcpext3_mbox: mailbox@50dc08000 { + compatible = "apple,t6020-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x5 0xdc08000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + m2_dcpext3: dcp@50dc00000 { + compatible = "apple,t6020-dcpext", "apple,dcpext"; + mbox-names = "mbox"; + mboxes = <&m2_dcpext3_mbox>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3"; + reg = <0x5 0xdc00000 0 0x4000>, + <0x5 0xc000000 0 0x4000000>, + <0x5 0xd320000 0 0x4000>, + <0x5 0xd344000 0 0x4000>, + <0x5 0xd800000 0 0x800000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&m2_dart_dcpext3 5>; + power-domains = <&ps_dispext3_cpu0>; + status = "disabled"; + + piodma { + iommus = <&m2_dart_dispext3_0 4>; + }; + }; + + m2_apcie2_piodma: dma-controller@596010000 { + compatible = "apple,t6021-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x96010000 0x0 0x4000>, + <0x5 0x96014000 0x0 0x4000>, + <0x5 0x96018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_2 15>; + status = "disabled"; + }; + + m2_apcie3_piodma: dma-controller@597010000 { + compatible = "apple,t6021-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x97010000 0x0 0x4000>, + <0x5 0x97014000 0x0 0x4000>, + <0x5 0x97018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_3 15>; + status = "disabled"; + }; + + m2_atc3_dpin0: displayport-input@1301e50000 { + compatible = "apple,t6021-dpin", "apple,dpin"; + reg = <0x13 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc3_dpin1: displayport-input@1301e58000 { + compatible = "apple,t6021-dpin", "apple,dpin"; + reg = <0x13 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec3_piodma: dma-controller@1322000000 { + compatible = "apple,t6021-pciec-piodma", "apple,pciec-piodma"; + reg = <0x13 0x22000000 0x0 0x4000>, + <0x13 0x22004000 0x0 0x4000>, + <0x13 0x22008000 0x0 0x4000>, + <0x13 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec3_dart 15>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6021-j475c.dts b/arch/arm64/boot/dts/apple/t6021-j475c.dts index 89ba95bc8cf12..c3fce206ab662 100644 --- a/arch/arm64/boot/dts/apple/t6021-j475c.dts +++ b/arch/arm64/boot/dts/apple/t6021-j475c.dts @@ -125,3 +125,7 @@ }; #include "hwmon-fan-dual.dtsi" + +#include "t6021-peripherals.dtsi" + +#include "t6021-j475c-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6021-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6021-peripherals.dtsi new file mode 100644 index 0000000000000..8ea7aff6e313d --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6021-peripherals.dtsi @@ -0,0 +1,1070 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T6021 hardware resources. Keep unqualified blocks disabled. */ + +&{/soc} { + m2_dart_dispext0_1: iommu@289300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x2 0x89300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_event_log_handler: event-log@28e080000 { + compatible = "apple,t6021-event-log", "apple,soc-event-log"; + reg = <0x2 0x8e080000 0x0 0x8000>, + <0x2 0x8e08c000 0x0 0x4000>, + <0x2 0x8e0d4000 0x0 0x4000>, + <0x2 0x8e094000 0x0 0x4000>, + <0x2 0x8e0a0000 0x0 0x1c000>, + <0x2 0x8e0cc000 0x0 0x4000>, + <0x2 0x8e0f0000 0x0 0x8000>, + <0x2 0x8e0ec000 0x0 0x4000>, + <0x2 0x8e09c000 0x0 0x4000>, + <0x2 0x8e0e0000 0x0 0xc000>, + <0x2 0x90280000 0x0 0x10000>, + <0x2 0x90290000 0x0 0x4000>, + <0x2 0x90298000 0x0 0x4000>, + <0x2 0x9029c000 0x0 0x4000>, + <0x2 0x902b0000 0x0 0x4000>, + <0x2 0x902b8000 0x0 0x8000>, + <0x2 0x902ac000 0x0 0x4000>, + <0x2 0x8e680000 0x0 0xc000>, + <0x2 0x8e68c000 0x0 0x4000>, + <0x2 0x8e6a0000 0x0 0x8000>, + <0x2 0x8e69c000 0x0 0x4000>, + <0x2 0x8e424000 0x0 0x4000>, + <0x2 0x8e428000 0x0 0x4000>, + <0x2 0x8e42c000 0x0 0x4000>, + <0x2 0x8e430000 0x0 0x4000>, + <0x2 0x8e434000 0x0 0x4000>, + <0x2 0x8e440000 0x0 0x4000>, + <0x2 0x8e444000 0x0 0x4000>, + <0x2 0x8e448000 0x0 0x4000>, + <0x2 0x8e420000 0x0 0x4000>, + <0x2 0x8e400000 0x0 0x8000>, + <0x2 0x8e408000 0x0 0x8000>, + <0x2 0x9e200000 0x0 0x80000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e600000 0x0 0x58000>, + <0x2 0x9e280000 0x0 0x58000>, + <0x2 0x85838000 0x0 0x8000>, + <0x2 0x85868000 0x0 0x4000>, + <0x4 0x4e1c000 0x0 0x4000>, + <0x4 0x4e5c000 0x0 0x4000>, + <0x4 0x4ea8000 0x0 0x4000>, + <0x4 0x4eac000 0x0 0x4000>, + <0x4 0x4e8c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + m2_dwi: dwi@28e0fc000 { + compatible = "apple,t6021-dwi", "apple,dwi"; + reg = <0x2 0x8e0fc000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + m2_aic_timebase: timer@28e148000 { + compatible = "apple,t6021-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x8e148000 0x0 0x1000>; + status = "disabled"; + }; + + m2_mcc: memory-controller@28e3c0000 { + compatible = "apple,t6021-mcc", "apple,mcc"; + reg = <0x2 0x8e3c0000 0x0 0x20000>, + <0x2 0x8e4d0000 0x0 0x149c>, + <0x2 0x0 0x0 0x1000000>, + <0x2 0x1000000 0x0 0x1000000>, + <0x2 0x2000000 0x0 0x1000000>, + <0x2 0x3000000 0x0 0x1000000>, + <0x2 0x4000000 0x0 0x1000000>, + <0x2 0x5000000 0x0 0x1000000>, + <0x2 0x6000000 0x0 0x1000000>, + <0x2 0x7000000 0x0 0x1000000>; + status = "disabled"; + }; + + m2_clvr_spmi0_sideband: spmi-sideband@290004000 { + compatible = "apple,t6021-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90004000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi0: spmi@29000c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9000c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_clvr_spmi1_sideband: spmi-sideband@290044000 { + compatible = "apple,t6021-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90044000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi1: spmi@29004c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9004c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_clvr_spmi2_sideband: spmi-sideband@290084000 { + compatible = "apple,t6021-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90084000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi2: spmi@29008c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9008c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_clvr_spmi3_sideband: spmi-sideband@2900c4000 { + compatible = "apple,t6021-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x900c4000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi3: spmi@2900cc000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x900cc000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_clvr_spmi4_sideband: spmi-sideband@290104000 { + compatible = "apple,t6021-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90104000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi4: spmi@29010c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9010c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_nub_spmi0_sideband: spmi-sideband@29e104000 { + compatible = "apple,t6021-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x9e104000 0x0 0x4000>; + status = "disabled"; + }; + + m2_nub_spmi1_sideband: spmi-sideband@29e144000 { + compatible = "apple,t6021-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x9e144000 0x0 0x4000>; + status = "disabled"; + }; + + m2_nub_spmi1: spmi@29e154000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9e154000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@a { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xa SPMI_USID>; + read-only; + status = "disabled"; + }; + + peripheral@d { + compatible = "apple,t6021-spmi-peripheral", + "apple,spmi-peripheral"; + reg = <0xd SPMI_USID>; + status = "disabled"; + }; + }; + + m2_dockchannel_uart: serial@29e52c000 { + compatible = "apple,t6021-dockchannel-uart", "apple,dockchannel-uart"; + reg-names = "data", "config", "irq"; + reg = <0x2 0x9e52c000 0x0 0x4000>, + <0x2 0x9e528000 0x0 0x4000>, + <0x2 0x9e50c000 0x0 0x18>; + apple,sw-drain; + status = "disabled"; + }; + + m2_aop_spmi0_sideband: spmi-sideband@2a6884000 { + compatible = "apple,t6021-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0xa6884000 0x0 0x4000>; + status = "disabled"; + }; + + m2_aop_spmi0: spmi@2a6894000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa6894000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + nfc@8 { + compatible = "apple,t6021-spmi-nfc", + "apple,spmi-nfc"; + reg = <0x8 SPMI_USID>; + interrupt-parent = <&m2_aop_spmi0>; + interrupts = <176 IRQ_TYPE_LEVEL_HIGH>, + <177 IRQ_TYPE_LEVEL_HIGH>, + <178 IRQ_TYPE_LEVEL_HIGH>, + <179 IRQ_TYPE_LEVEL_HIGH>, + <180 IRQ_TYPE_LEVEL_HIGH>, + <181 IRQ_TYPE_LEVEL_HIGH>, + <182 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + peripheral@e { + compatible = "apple,t6021-spmi-peripheral", + "apple,spmi-peripheral"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + }; + + m2_aop_spmi1_sideband: spmi-sideband@2a68c4000 { + compatible = "apple,t6021-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0xa68c4000 0x0 0x4000>; + status = "disabled"; + }; + + m2_aop_spmi1: spmi@2a68d4000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa68d4000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + nfc@8 { + compatible = "apple,t6021-spmi-nfc", + "apple,spmi-nfc"; + reg = <0x8 SPMI_USID>; + interrupt-parent = <&m2_aop_spmi1>; + interrupts = <176 IRQ_TYPE_LEVEL_HIGH>, + <177 IRQ_TYPE_LEVEL_HIGH>, + <178 IRQ_TYPE_LEVEL_HIGH>, + <179 IRQ_TYPE_LEVEL_HIGH>, + <180 IRQ_TYPE_LEVEL_HIGH>, + <181 IRQ_TYPE_LEVEL_HIGH>, + <182 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + }; + + m2_apr0: video-codec@311000000 { + compatible = "apple,t6021-prores", "apple,prores"; + reg-names = "core", "wrapper"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_apr0_0 1>, <&m2_dart_apr0_1 1>; + power-domains = <&ps_scodec>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_apr0_1: iommu@311024000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x11024000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_apr0_0: iommu@311028000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x11028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_scdc0: iommu@31102c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x1102c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_scdc0: coprocessor@312400000 { + compatible = "apple,t6021-scdc", "apple,scdc"; + reg = <0x3 0x12400000 0x0 0x6c000>, + <0x3 0x12050000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>, + <0x3 0x11040000 0x0 0x1c000>, + <0x3 0x11070000 0x0 0x4000>, + <0x3 0x11074000 0x0 0x4000>, + <0x3 0x11100000 0x0 0x3c000>, + <0x3 0x11140000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + iommus = <&m2_dart_scdc0 0>, <&m2_dart_apr0_0 0>, <&m2_dart_apr0_1 0>; + power-domains = <&ps_scodec>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_dispext1_1: iommu@315300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x15300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_jpeg0: jpeg@38d000000 { + compatible = "apple,t6021-jpeg", "apple,jpeg"; + reg = <0x3 0x8d000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_jpeg0 0>; + power-domains = <&ps_jpg>; + status = "disabled"; + }; + + m2_dart_jpeg0: iommu@38d004000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x8d004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_jpeg1: jpeg@38d008000 { + compatible = "apple,t6021-jpeg", "apple,jpeg"; + reg = <0x3 0x8d008000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_jpeg1 0>; + power-domains = <&ps_jpg>; + status = "disabled"; + }; + + m2_dart_jpeg1: iommu@38d00c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x8d00c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_error_handler: error-handler@394c40000 { + compatible = "apple,t6021-error-handler", "apple,soc-error-handler"; + reg = <0x3 0x94c40000 0x0 0x40000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x9e2cc000 0x0 0x4000>, + <0x2 0x0 0x0 0x1000000>, + <0x2 0x1000000 0x0 0x1000000>, + <0x2 0x2000000 0x0 0x1000000>, + <0x2 0x3000000 0x0 0x1000000>, + <0x2 0x4000000 0x0 0x1000000>, + <0x2 0x5000000 0x0 0x1000000>, + <0x2 0x6000000 0x0 0x1000000>, + <0x2 0x7000000 0x0 0x1000000>, + <0x2 0x80000000 0x0 0x4000>, + <0x3 0x0 0x0 0x4000>, + <0x3 0x80000000 0x0 0x4000>, + <0x4 0x0 0x0 0x4000>, + <0x4 0x80000000 0x0 0x4000>, + <0x5 0x0 0x0 0x4000>, + <0x3 0x40000000 0x0 0x4000>, + <0x2 0x59000000 0x0 0x3c000>, + <0x2 0x59400000 0x0 0x3c000>, + <0x2 0x59c00000 0x0 0x3c000>, + <0x2 0x5b000000 0x0 0x3c000>, + <0x2 0x5b400000 0x0 0x3c000>, + <0x2 0x60400000 0x0 0x3c000>, + <0x2 0x60800000 0x0 0x3c000>, + <0x2 0x59800000 0x0 0x3c000>, + <0x2 0x5b800000 0x0 0x3c000>, + <0x2 0x5bc00000 0x0 0x3c000>, + <0x2 0x4fc00000 0x0 0x3c000>, + <0x2 0x50c00000 0x0 0x3c000>, + <0x2 0x51000000 0x0 0x3c000>, + <0x2 0x4fcc0000 0x0 0x3c000>, + <0x2 0x510c0000 0x0 0x3c000>, + <0x4 0x7180000 0x0 0x18000>, + <0x4 0x7380000 0x0 0x18000>, + <0x4 0x71a0000 0x0 0x18000>, + <0x4 0x73a0000 0x0 0x18000>, + <0x4 0x7000000 0x0 0x18000>, + <0x4 0x7200000 0x0 0x18000>, + <0x4 0x7080000 0x0 0x18000>, + <0x4 0x7280000 0x0 0x18000>, + <0x4 0x7040000 0x0 0x18000>, + <0x4 0x7240000 0x0 0x18000>, + <0x4 0x70c0000 0x0 0x18000>, + <0x4 0x72c0000 0x0 0x18000>, + <0x4 0x7400000 0x0 0x18000>, + <0x4 0x7600000 0x0 0x18000>, + <0x4 0x7480000 0x0 0x18000>, + <0x4 0x7680000 0x0 0x18000>, + <0x4 0x7440000 0x0 0x18000>, + <0x4 0x7640000 0x0 0x18000>, + <0x4 0x74c0000 0x0 0x18000>, + <0x4 0x76c0000 0x0 0x18000>, + <0x2 0x58c00000 0x0 0x3c000>, + <0x2 0x5ac00000 0x0 0x3c000>, + <0x2 0x5c000000 0x0 0x3c000>, + <0x2 0x5d000000 0x0 0x3c000>, + <0x2 0x5ec00000 0x0 0x3c000>, + <0x2 0x60000000 0x0 0x3c000>, + <0x2 0x61000000 0x0 0x3c000>, + <0x2 0x62000000 0x0 0x3c000>, + <0x2 0x4f800000 0x0 0x3c000>, + <0x2 0x50800000 0x0 0x3c000>, + <0x2 0x52000000 0x0 0x3c000>, + <0x2 0x53000000 0x0 0x3c000>, + <0x2 0x54800000 0x0 0x3c000>, + <0x2 0x55800000 0x0 0x3c000>, + <0x2 0x56000000 0x0 0x3c000>, + <0x2 0x57000000 0x0 0x3c000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x4f432000 0x0 0x1000>, + <0x2 0x50032000 0x0 0x1000>, + <0x2 0x50432000 0x0 0x1000>, + <0x2 0x54032000 0x0 0x1000>, + <0x2 0x55032000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58432000 0x0 0x1000>, + <0x2 0x58832000 0x0 0x1000>, + <0x2 0x5a032000 0x0 0x1000>, + <0x2 0x5a432000 0x0 0x1000>, + <0x2 0x5a832000 0x0 0x1000>, + <0x2 0x5e032000 0x0 0x1000>, + <0x2 0x5e432000 0x0 0x1000>, + <0x2 0x5f032000 0x0 0x1000>, + <0x2 0x5f432000 0x0 0x1000>, + <0x2 0x5f832000 0x0 0x1000>, + <0x4 0x7114000 0x0 0x1000>, + <0x4 0x7314000 0x0 0x1000>, + <0x4 0x7134000 0x0 0x1000>, + <0x4 0x7334000 0x0 0x1000>, + <0x4 0x7514000 0x0 0x1000>, + <0x4 0x7714000 0x0 0x1000>, + <0x4 0x7534000 0x0 0x1000>, + <0x4 0x7734000 0x0 0x1000>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x7430000 0x0 0x4000>, + <0x4 0x7630000 0x0 0x4000>, + <0x4 0x7430000 0x0 0x4000>, + <0x4 0x7630000 0x0 0x4000>, + <0x4 0x7430000 0x0 0x4000>, + <0x4 0x7630000 0x0 0x4000>, + <0x4 0x7430000 0x0 0x4000>, + <0x4 0x7630000 0x0 0x4000>, + <0x4 0x71e0000 0x0 0x4000>, + <0x4 0x73e0000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + power-domains = <&ps_gfx>; + status = "disabled"; + }; + + m2_aes: aes@39b070000 { + compatible = "apple,t6021-aes", "apple,aes"; + reg = <0x3 0x9b070000 0x0 0x4000>, + <0x2 0x9e2b0000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&sio_dart 1>; + power-domains = <&ps_aes>; + status = "disabled"; + }; + + m2_apr1: video-codec@409000000 { + compatible = "apple,t6021-prores", "apple,prores"; + reg-names = "core", "wrapper"; + reg = <0x4 0x9000000 0x0 0x4000>, + <0x4 0x8000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_apr1 0>; + power-domains = <&ps_prores>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_apr1: iommu@409008000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x9008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_scaler0: scaler@40b000000 { + compatible = "apple,t6021-scaler", "apple,scaler"; + reg = <0x4 0xb000000 0x0 0x28000>, + <0x4 0xb210000 0x0 0x4000>, + <0x4 0xb204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + iommus = <&m2_dart_scaler0 0>, <&m2_dart_scaler0 1>; + power-domains = <&ps_msr0>, <&ps_afr>, <&ps_msr0_ase_core>; + status = "disabled"; + }; + + m2_dart_scaler0: iommu@40b200000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xb200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_avd_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_2: iommu@40d020000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd020000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_0: iommu@40d030000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_1: iommu@40d040000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_3: iommu@40d044000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_ave0: video-codec@40d100000 { + compatible = "apple,t6021-ave", "apple,ave"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1", "perf"; + reg-names = "codec", "mailbox", "coproc", "power-control", "fabric"; + reg = <0x4 0xd100000 0x0 0x45c000>, + <0x4 0xd050000 0x0 0x8000>, + <0x4 0xd800000 0x0 0x800000>, + <0x2 0x902803e0 0x0 0x7c44>, + <0x4 0xc000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + iommus = <&m2_dart_ave0_0 0>, <&m2_dart_ave0_1 0>, <&m2_dart_ave0_2 0>, <&m2_dart_ave0_3 0>; + power-domains = <&ps_venc_dma>, <&ps_venc_pipe4>, <&ps_venc_pipe5>, <&ps_venc_me0>, <&ps_venc_me1>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_dispext2_1: iommu@48d300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x8d300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_scaler1: scaler@491000000 { + compatible = "apple,t6021-scaler", "apple,scaler"; + reg = <0x4 0x91000000 0x0 0x28000>, + <0x4 0x91210000 0x0 0x4000>, + <0x4 0x91204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + iommus = <&m2_dart_scaler1 0>, <&m2_dart_scaler1 1>; + power-domains = <&ps_msr1>, <&ps_afr>, <&ps_msr1_ase_core>; + status = "disabled"; + }; + + m2_dart_scaler1: iommu@491200000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x91200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave1_2: iommu@507020000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7020000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave1_0: iommu@507030000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave1_1: iommu@507040000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave1_3: iommu@507044000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_ave1: video-codec@507100000 { + compatible = "apple,t6021-ave", "apple,ave"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1", "perf"; + reg-names = "codec", "mailbox", "coproc", "power-control", "fabric"; + reg = <0x5 0x7100000 0x0 0x45c000>, + <0x5 0x7050000 0x0 0x8000>, + <0x5 0x7800000 0x0 0x800000>, + <0x2 0x8e680228 0x0 0x3dfc>, + <0x5 0x6000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + iommus = <&m2_dart_ave1_0 0>, <&m2_dart_ave1_1 0>, <&m2_dart_ave1_2 0>, <&m2_dart_ave1_3 0>; + power-domains = <&ps_venc1_dma>, <&ps_venc1_pipe4>, <&ps_venc1_pipe5>, <&ps_venc1_me0>, <&ps_venc1_me1>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_dispext3_1: iommu@50d300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0xd300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_apcie0_piodma: dma-controller@594010000 { + compatible = "apple,t6021-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x94010000 0x0 0x4000>, + <0x5 0x94014000 0x0 0x4000>, + <0x5 0x94018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_0 15>; + status = "disabled"; + }; + + m2_apcie1_piodma: dma-controller@595010000 { + compatible = "apple,t6021-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x95010000 0x0 0x4000>, + <0x5 0x95014000 0x0 0x4000>, + <0x5 0x95018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_1 15>; + status = "disabled"; + }; + + m2_atc0_dpin0: displayport-input@701e50000 { + compatible = "apple,t6021-dpin", "apple,dpin"; + reg = <0x7 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc0_dpin1: displayport-input@701e58000 { + compatible = "apple,t6021-dpin", "apple,dpin"; + reg = <0x7 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6021-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart 15>; + status = "disabled"; + }; + + m2_atc1_dpin0: displayport-input@b01e50000 { + compatible = "apple,t6021-dpin", "apple,dpin"; + reg = <0xb 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc1_dpin1: displayport-input@b01e58000 { + compatible = "apple,t6021-dpin", "apple,dpin"; + reg = <0xb 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6021-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart 15>; + status = "disabled"; + }; + + m2_atc2_dpin0: displayport-input@f01e50000 { + compatible = "apple,t6021-dpin", "apple,dpin"; + reg = <0xf 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc2_dpin1: displayport-input@f01e58000 { + compatible = "apple,t6021-dpin", "apple,dpin"; + reg = <0xf 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6021-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec2_dart 15>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6022-j180d-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6022-j180d-peripherals.dtsi new file mode 100644 index 0000000000000..7efb9c961a1ef --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6022-j180d-peripherals.dtsi @@ -0,0 +1,103 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T6022 hardware resources. Keep unqualified blocks disabled. */ + +&die0 { + m2_aop_spmi0: spmi@2a6894000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa6894000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + peripheral@e { + compatible = "apple,t6022-spmi-peripheral", + "apple,spmi-peripheral"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + }; + + m2_apcie_ge0_piodma: dma-controller@1694010000 { + compatible = "apple,t6022-pcie-piodma", "apple,pcie-piodma"; + reg = <0x16 0x94010000 0x0 0x4000>, + <0x16 0x94014000 0x0 0x4000>, + <0x16 0x94018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie_ge_dart 15>; + status = "disabled"; + }; +}; + +&die1 { + m2_atc6_dpin0: displayport-input@f01e50000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0xf 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc6_dpin1: displayport-input@f01e58000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0xf 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec6_piodma: dma-controller@f22000000 { + compatible = "apple,t6022-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec2_dart_die1 15>; + status = "disabled"; + }; + + m2_atc7_dpin0: displayport-input@1301e50000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0x13 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc7_dpin1: displayport-input@1301e58000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0x13 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec7_piodma: dma-controller@1322000000 { + compatible = "apple,t6022-pciec-piodma", "apple,pciec-piodma"; + reg = <0x13 0x22000000 0x0 0x4000>, + <0x13 0x22004000 0x0 0x4000>, + <0x13 0x22008000 0x0 0x4000>, + <0x13 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec3_dart_die1 15>; + status = "disabled"; + }; + + m2_apcie_ge1_piodma: dma-controller@1694010000 { + compatible = "apple,t6022-pcie-piodma", "apple,pcie-piodma"; + reg = <0x16 0x94010000 0x0 0x4000>, + <0x16 0x94014000 0x0 0x4000>, + <0x16 0x94018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie_ge_dart_die1 15>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6022-j180d.dts b/arch/arm64/boot/dts/apple/t6022-j180d.dts index 91677000cc120..1d1705144e732 100644 --- a/arch/arm64/boot/dts/apple/t6022-j180d.dts +++ b/arch/arm64/boot/dts/apple/t6022-j180d.dts @@ -1233,3 +1233,7 @@ }; #include "spi1-nvram.dtsi" + +#include "t6022-peripherals.dtsi" + +#include "t6022-j180d-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6022-j475d-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6022-j475d-peripherals.dtsi new file mode 100644 index 0000000000000..a19c6daf3253a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6022-j475d-peripherals.dtsi @@ -0,0 +1,82 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T6022 hardware resources. Keep unqualified blocks disabled. */ + +&die0 { + m2_aop_spmi0: spmi@2a6894000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa6894000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + nfc@8 { + compatible = "apple,t6022-spmi-nfc", + "apple,spmi-nfc"; + reg = <0x8 SPMI_USID>; + interrupt-parent = <&m2_aop_spmi0>; + interrupts = <176 IRQ_TYPE_LEVEL_HIGH>, + <177 IRQ_TYPE_LEVEL_HIGH>, + <178 IRQ_TYPE_LEVEL_HIGH>, + <179 IRQ_TYPE_LEVEL_HIGH>, + <180 IRQ_TYPE_LEVEL_HIGH>, + <181 IRQ_TYPE_LEVEL_HIGH>, + <182 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + peripheral@e { + compatible = "apple,t6022-spmi-peripheral", + "apple,spmi-peripheral"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + }; + + m2_apcie0_piodma: dma-controller@594010000 { + compatible = "apple,t6022-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x94010000 0x0 0x4000>, + <0x5 0x94014000 0x0 0x4000>, + <0x5 0x94018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_0 15>; + status = "disabled"; + }; + + m2_apcie1_piodma: dma-controller@595010000 { + compatible = "apple,t6022-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x95010000 0x0 0x4000>, + <0x5 0x95014000 0x0 0x4000>, + <0x5 0x95018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_1 15>; + status = "disabled"; + }; + + m2_apcie2_piodma: dma-controller@596010000 { + compatible = "apple,t6022-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x96010000 0x0 0x4000>, + <0x5 0x96014000 0x0 0x4000>, + <0x5 0x96018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_2 15>; + status = "disabled"; + }; + + m2_apcie3_piodma: dma-controller@597010000 { + compatible = "apple,t6022-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x97010000 0x0 0x4000>, + <0x5 0x97014000 0x0 0x4000>, + <0x5 0x97018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_3 15>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6022-j475d.dts b/arch/arm64/boot/dts/apple/t6022-j475d.dts index 6c09afcffc9a6..27b7fdae0dba3 100644 --- a/arch/arm64/boot/dts/apple/t6022-j475d.dts +++ b/arch/arm64/boot/dts/apple/t6022-j475d.dts @@ -110,3 +110,7 @@ compatible = "apple,j475-macaudio", "apple,j375-macaudio", "apple,macaudio"; model = "Mac Studio J475"; }; + +#include "t6022-peripherals.dtsi" + +#include "t6022-j475d-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6022-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6022-peripherals.dtsi new file mode 100644 index 0000000000000..f3822ce78279d --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6022-peripherals.dtsi @@ -0,0 +1,2329 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T6022 hardware resources. Keep unqualified blocks disabled. */ + +&{/} { + m2_event_log_handler: event-log@28e080000 { + compatible = "apple,t6022-event-log", "apple,soc-event-log"; + reg = <0x2 0x8e080000 0x0 0x8000>, + <0x2 0x8e08c000 0x0 0x4000>, + <0x2 0x8e0d4000 0x0 0x4000>, + <0x2 0x8e094000 0x0 0x4000>, + <0x2 0x8e0a0000 0x0 0x1c000>, + <0x2 0x8e0cc000 0x0 0x4000>, + <0x2 0x8e0f0000 0x0 0x8000>, + <0x2 0x8e0ec000 0x0 0x4000>, + <0x2 0x8e09c000 0x0 0x4000>, + <0x2 0x8e0e0000 0x0 0xc000>, + <0x2 0x90280000 0x0 0x10000>, + <0x2 0x90290000 0x0 0x4000>, + <0x2 0x90298000 0x0 0x4000>, + <0x2 0x9029c000 0x0 0x4000>, + <0x2 0x902b0000 0x0 0x4000>, + <0x2 0x902b8000 0x0 0x8000>, + <0x2 0x902ac000 0x0 0x4000>, + <0x2 0x8e680000 0x0 0xc000>, + <0x2 0x8e68c000 0x0 0x4000>, + <0x2 0x8e6a0000 0x0 0x8000>, + <0x2 0x8e69c000 0x0 0x4000>, + <0x2 0x8e424000 0x0 0x4000>, + <0x2 0x8e428000 0x0 0x4000>, + <0x2 0x8e42c000 0x0 0x4000>, + <0x2 0x8e430000 0x0 0x4000>, + <0x2 0x8e434000 0x0 0x4000>, + <0x2 0x8e440000 0x0 0x4000>, + <0x2 0x8e444000 0x0 0x4000>, + <0x2 0x8e448000 0x0 0x4000>, + <0x2 0x8e420000 0x0 0x4000>, + <0x2 0x8e400000 0x0 0x8000>, + <0x2 0x8e408000 0x0 0x8000>, + <0x2 0x9e200000 0x0 0x80000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e600000 0x0 0x58000>, + <0x2 0x9e280000 0x0 0x58000>, + <0x2 0x85838000 0x0 0x8000>, + <0x2 0x85868000 0x0 0x4000>, + <0x4 0x4e1c000 0x0 0x4000>, + <0x4 0x4e5c000 0x0 0x4000>, + <0x4 0x4ea8000 0x0 0x4000>, + <0x4 0x4eac000 0x0 0x4000>, + <0x4 0x4e8c000 0x0 0x4000>, + <0x22 0x8e080000 0x0 0x8000>, + <0x22 0x8e08c000 0x0 0x4000>, + <0x22 0x8e0d4000 0x0 0x4000>, + <0x22 0x8e094000 0x0 0x4000>, + <0x22 0x8e0a0000 0x0 0x1c000>, + <0x22 0x8e0cc000 0x0 0x4000>, + <0x22 0x8e0f0000 0x0 0x8000>, + <0x22 0x8e0ec000 0x0 0x4000>, + <0x22 0x8e09c000 0x0 0x4000>, + <0x22 0x8e0e0000 0x0 0xc000>, + <0x22 0x90280000 0x0 0x10000>, + <0x22 0x90290000 0x0 0x4000>, + <0x22 0x90298000 0x0 0x4000>, + <0x22 0x9029c000 0x0 0x4000>, + <0x22 0x902b0000 0x0 0x4000>, + <0x22 0x902b8000 0x0 0x8000>, + <0x22 0x902ac000 0x0 0x4000>, + <0x22 0x8e680000 0x0 0xc000>, + <0x22 0x8e68c000 0x0 0x4000>, + <0x22 0x8e6a0000 0x0 0x8000>, + <0x22 0x8e69c000 0x0 0x4000>, + <0x22 0x8e424000 0x0 0x4000>, + <0x22 0x8e428000 0x0 0x4000>, + <0x22 0x8e42c000 0x0 0x4000>, + <0x22 0x8e430000 0x0 0x4000>, + <0x22 0x8e434000 0x0 0x4000>, + <0x22 0x8e440000 0x0 0x4000>, + <0x22 0x8e444000 0x0 0x4000>, + <0x22 0x8e448000 0x0 0x4000>, + <0x22 0x8e420000 0x0 0x4000>, + <0x22 0x8e400000 0x0 0x8000>, + <0x22 0x8e408000 0x0 0x8000>, + <0x22 0x9e200000 0x0 0x80000>, + <0x22 0x8e000000 0x0 0x80000>, + <0x22 0x8e600000 0x0 0x58000>, + <0x22 0x9e280000 0x0 0x58000>, + <0x22 0x85838000 0x0 0x8000>, + <0x22 0x85868000 0x0 0x4000>, + <0x24 0x4e1c000 0x0 0x4000>, + <0x24 0x4e5c000 0x0 0x4000>, + <0x24 0x4ea8000 0x0 0x4000>, + <0x24 0x4eac000 0x0 0x4000>, + <0x24 0x4e8c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + m2_mcc: memory-controller@28e3c0000 { + compatible = "apple,t6022-mcc", "apple,mcc"; + reg = <0x2 0x8e3c0000 0x0 0x20000>, + <0x2 0x8e4d0000 0x0 0x149c>, + <0x2 0x0 0x0 0x1000000>, + <0x2 0x1000000 0x0 0x1000000>, + <0x2 0x2000000 0x0 0x1000000>, + <0x2 0x3000000 0x0 0x1000000>, + <0x2 0x4000000 0x0 0x1000000>, + <0x2 0x5000000 0x0 0x1000000>, + <0x2 0x6000000 0x0 0x1000000>, + <0x2 0x7000000 0x0 0x1000000>, + <0x22 0x0 0x0 0x1000000>, + <0x22 0x1000000 0x0 0x1000000>, + <0x22 0x2000000 0x0 0x1000000>, + <0x22 0x3000000 0x0 0x1000000>, + <0x22 0x4000000 0x0 0x1000000>, + <0x22 0x5000000 0x0 0x1000000>, + <0x22 0x6000000 0x0 0x1000000>, + <0x22 0x7000000 0x0 0x1000000>; + status = "disabled"; + }; + + m2_error_handler: error-handler@394c40000 { + compatible = "apple,t6022-error-handler", "apple,soc-error-handler"; + reg = <0x3 0x94c40000 0x0 0x40000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x9e2cc000 0x0 0x4000>, + <0x22 0x9e2cc000 0x0 0x4000>, + <0x2 0x0 0x0 0x1000000>, + <0x2 0x1000000 0x0 0x1000000>, + <0x2 0x2000000 0x0 0x1000000>, + <0x2 0x3000000 0x0 0x1000000>, + <0x2 0x4000000 0x0 0x1000000>, + <0x2 0x5000000 0x0 0x1000000>, + <0x2 0x6000000 0x0 0x1000000>, + <0x2 0x7000000 0x0 0x1000000>, + <0x22 0x0 0x0 0x1000000>, + <0x22 0x1000000 0x0 0x1000000>, + <0x22 0x2000000 0x0 0x1000000>, + <0x22 0x3000000 0x0 0x1000000>, + <0x22 0x4000000 0x0 0x1000000>, + <0x22 0x5000000 0x0 0x1000000>, + <0x22 0x6000000 0x0 0x1000000>, + <0x22 0x7000000 0x0 0x1000000>, + <0x2 0x80000000 0x0 0x4000>, + <0x3 0x0 0x0 0x4000>, + <0x3 0x80000000 0x0 0x4000>, + <0x4 0x0 0x0 0x4000>, + <0x4 0x80000000 0x0 0x4000>, + <0x5 0x0 0x0 0x4000>, + <0x3 0x40000000 0x0 0x4000>, + <0x22 0x80000000 0x0 0x4000>, + <0x23 0x0 0x0 0x4000>, + <0x23 0x80000000 0x0 0x4000>, + <0x24 0x0 0x0 0x4000>, + <0x24 0x80000000 0x0 0x4000>, + <0x25 0x0 0x0 0x4000>, + <0x23 0x40000000 0x0 0x4000>, + <0x2 0x59000000 0x0 0x3c000>, + <0x2 0x59400000 0x0 0x3c000>, + <0x2 0x59c00000 0x0 0x3c000>, + <0x2 0x5b000000 0x0 0x3c000>, + <0x2 0x5b400000 0x0 0x3c000>, + <0x2 0x60400000 0x0 0x3c000>, + <0x2 0x60800000 0x0 0x3c000>, + <0x22 0x59000000 0x0 0x3c000>, + <0x22 0x59400000 0x0 0x3c000>, + <0x22 0x59c00000 0x0 0x3c000>, + <0x22 0x5b000000 0x0 0x3c000>, + <0x22 0x5b400000 0x0 0x3c000>, + <0x22 0x60400000 0x0 0x3c000>, + <0x22 0x60800000 0x0 0x3c000>, + <0x2 0x59800000 0x0 0x3c000>, + <0x2 0x5b800000 0x0 0x3c000>, + <0x2 0x5bc00000 0x0 0x3c000>, + <0x22 0x59800000 0x0 0x3c000>, + <0x22 0x5b800000 0x0 0x3c000>, + <0x22 0x5bc00000 0x0 0x3c000>, + <0x2 0x4fc00000 0x0 0x3c000>, + <0x2 0x50c00000 0x0 0x3c000>, + <0x2 0x51000000 0x0 0x3c000>, + <0x22 0x4fc00000 0x0 0x3c000>, + <0x22 0x50c00000 0x0 0x3c000>, + <0x22 0x51000000 0x0 0x3c000>, + <0x2 0x4fcc0000 0x0 0x3c000>, + <0x2 0x510c0000 0x0 0x3c000>, + <0x22 0x4fcc0000 0x0 0x3c000>, + <0x22 0x510c0000 0x0 0x3c000>, + <0x4 0x7180000 0x0 0x18000>, + <0x4 0x7380000 0x0 0x18000>, + <0x4 0x71a0000 0x0 0x18000>, + <0x4 0x73a0000 0x0 0x18000>, + <0x4 0x7180000 0x0 0x18000>, + <0x4 0x7380000 0x0 0x18000>, + <0x4 0x71a0000 0x0 0x18000>, + <0x4 0x73a0000 0x0 0x18000>, + <0x4 0x7000000 0x0 0x18000>, + <0x4 0x7200000 0x0 0x18000>, + <0x4 0x7080000 0x0 0x18000>, + <0x4 0x7280000 0x0 0x18000>, + <0x4 0x7040000 0x0 0x18000>, + <0x4 0x7240000 0x0 0x18000>, + <0x4 0x70c0000 0x0 0x18000>, + <0x4 0x72c0000 0x0 0x18000>, + <0x4 0x7400000 0x0 0x18000>, + <0x4 0x7600000 0x0 0x18000>, + <0x4 0x7480000 0x0 0x18000>, + <0x4 0x7680000 0x0 0x18000>, + <0x4 0x7440000 0x0 0x18000>, + <0x4 0x7640000 0x0 0x18000>, + <0x4 0x74c0000 0x0 0x18000>, + <0x4 0x76c0000 0x0 0x18000>, + <0x4 0x7800000 0x0 0x18000>, + <0x4 0x7a00000 0x0 0x18000>, + <0x4 0x7880000 0x0 0x18000>, + <0x4 0x7a80000 0x0 0x18000>, + <0x4 0x7840000 0x0 0x18000>, + <0x4 0x7a40000 0x0 0x18000>, + <0x4 0x78c0000 0x0 0x18000>, + <0x4 0x7ac0000 0x0 0x18000>, + <0x4 0x7c00000 0x0 0x18000>, + <0x4 0x7e00000 0x0 0x18000>, + <0x4 0x7c80000 0x0 0x18000>, + <0x4 0x7e80000 0x0 0x18000>, + <0x4 0x7c40000 0x0 0x18000>, + <0x4 0x7e40000 0x0 0x18000>, + <0x4 0x7cc0000 0x0 0x18000>, + <0x4 0x7ec0000 0x0 0x18000>, + <0x2 0x58c00000 0x0 0x3c000>, + <0x2 0x5ac00000 0x0 0x3c000>, + <0x2 0x5c000000 0x0 0x3c000>, + <0x2 0x5d000000 0x0 0x3c000>, + <0x2 0x5ec00000 0x0 0x3c000>, + <0x2 0x60000000 0x0 0x3c000>, + <0x2 0x61000000 0x0 0x3c000>, + <0x2 0x62000000 0x0 0x3c000>, + <0x22 0x58c00000 0x0 0x3c000>, + <0x22 0x5ac00000 0x0 0x3c000>, + <0x22 0x5c000000 0x0 0x3c000>, + <0x22 0x5d000000 0x0 0x3c000>, + <0x22 0x5ec00000 0x0 0x3c000>, + <0x22 0x60000000 0x0 0x3c000>, + <0x22 0x61000000 0x0 0x3c000>, + <0x22 0x62000000 0x0 0x3c000>, + <0x2 0x4f800000 0x0 0x3c000>, + <0x2 0x50800000 0x0 0x3c000>, + <0x2 0x52000000 0x0 0x3c000>, + <0x2 0x53000000 0x0 0x3c000>, + <0x2 0x54800000 0x0 0x3c000>, + <0x2 0x55800000 0x0 0x3c000>, + <0x2 0x56000000 0x0 0x3c000>, + <0x2 0x57000000 0x0 0x3c000>, + <0x22 0x4f800000 0x0 0x3c000>, + <0x22 0x50800000 0x0 0x3c000>, + <0x22 0x52000000 0x0 0x3c000>, + <0x22 0x53000000 0x0 0x3c000>, + <0x22 0x54800000 0x0 0x3c000>, + <0x22 0x55800000 0x0 0x3c000>, + <0x22 0x56000000 0x0 0x3c000>, + <0x22 0x57000000 0x0 0x3c000>, + <0x2 0x5e800000 0x0 0x3c000>, + <0x2 0x5fc00000 0x0 0x3c000>, + <0x22 0x5e800000 0x0 0x3c000>, + <0x22 0x5fc00000 0x0 0x3c000>, + <0x2 0x54400000 0x0 0x3c000>, + <0x2 0x55400000 0x0 0x3c000>, + <0x22 0x54400000 0x0 0x3c000>, + <0x22 0x55400000 0x0 0x3c000>, + <0x2 0x544c0000 0x0 0x3c000>, + <0x2 0x554c0000 0x0 0x3c000>, + <0x22 0x544c0000 0x0 0x3c000>, + <0x22 0x554c0000 0x0 0x3c000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x4f432000 0x0 0x1000>, + <0x2 0x50032000 0x0 0x1000>, + <0x2 0x50432000 0x0 0x1000>, + <0x2 0x54032000 0x0 0x1000>, + <0x2 0x55032000 0x0 0x1000>, + <0x22 0x4f032000 0x0 0x1000>, + <0x22 0x4f432000 0x0 0x1000>, + <0x22 0x50032000 0x0 0x1000>, + <0x22 0x50432000 0x0 0x1000>, + <0x22 0x54032000 0x0 0x1000>, + <0x22 0x55032000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58432000 0x0 0x1000>, + <0x2 0x58832000 0x0 0x1000>, + <0x2 0x5a032000 0x0 0x1000>, + <0x2 0x5a432000 0x0 0x1000>, + <0x2 0x5a832000 0x0 0x1000>, + <0x2 0x5e032000 0x0 0x1000>, + <0x2 0x5e432000 0x0 0x1000>, + <0x2 0x5f032000 0x0 0x1000>, + <0x2 0x5f432000 0x0 0x1000>, + <0x2 0x5f832000 0x0 0x1000>, + <0x22 0x58032000 0x0 0x1000>, + <0x22 0x58432000 0x0 0x1000>, + <0x22 0x58832000 0x0 0x1000>, + <0x22 0x5a032000 0x0 0x1000>, + <0x22 0x5a432000 0x0 0x1000>, + <0x22 0x5a832000 0x0 0x1000>, + <0x22 0x5e032000 0x0 0x1000>, + <0x22 0x5e432000 0x0 0x1000>, + <0x22 0x5f032000 0x0 0x1000>, + <0x22 0x5f432000 0x0 0x1000>, + <0x22 0x5f832000 0x0 0x1000>, + <0x4 0x7114000 0x0 0x1000>, + <0x4 0x7314000 0x0 0x1000>, + <0x4 0x7134000 0x0 0x1000>, + <0x4 0x7334000 0x0 0x1000>, + <0x4 0x7514000 0x0 0x1000>, + <0x4 0x7714000 0x0 0x1000>, + <0x4 0x7534000 0x0 0x1000>, + <0x4 0x7734000 0x0 0x1000>, + <0x4 0x7934000 0x0 0x1000>, + <0x4 0x7b34000 0x0 0x1000>, + <0x4 0x7914000 0x0 0x1000>, + <0x4 0x7b14000 0x0 0x1000>, + <0x4 0x7f34000 0x0 0x1000>, + <0x4 0x7d34000 0x0 0x1000>, + <0x4 0x7f14000 0x0 0x1000>, + <0x4 0x7d14000 0x0 0x1000>, + <0x2 0x54500000 0x0 0x4000>, + <0x2 0x55500000 0x0 0x4000>, + <0x22 0x54500000 0x0 0x4000>, + <0x22 0x55500000 0x0 0x4000>, + <0x2 0x5e900000 0x0 0x4000>, + <0x2 0x5fd00000 0x0 0x4000>, + <0x22 0x5e900000 0x0 0x4000>, + <0x22 0x5fd00000 0x0 0x4000>, + <0x2 0x5e980000 0x0 0x400>, + <0x2 0x5fd80000 0x0 0x400>, + <0x22 0x5e980000 0x0 0x400>, + <0x22 0x5fd80000 0x0 0x400>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x7030000 0x0 0x4000>, + <0x4 0x7230000 0x0 0x4000>, + <0x4 0x7430000 0x0 0x4000>, + <0x4 0x7630000 0x0 0x4000>, + <0x4 0x7430000 0x0 0x4000>, + <0x4 0x7630000 0x0 0x4000>, + <0x4 0x7430000 0x0 0x4000>, + <0x4 0x7630000 0x0 0x4000>, + <0x4 0x7430000 0x0 0x4000>, + <0x4 0x7630000 0x0 0x4000>, + <0x4 0x7830000 0x0 0x4000>, + <0x4 0x7a30000 0x0 0x4000>, + <0x4 0x7830000 0x0 0x4000>, + <0x4 0x7a30000 0x0 0x4000>, + <0x4 0x7830000 0x0 0x4000>, + <0x4 0x7a30000 0x0 0x4000>, + <0x4 0x7830000 0x0 0x4000>, + <0x4 0x7a30000 0x0 0x4000>, + <0x4 0x7c30000 0x0 0x4000>, + <0x4 0x7e30000 0x0 0x4000>, + <0x4 0x7c30000 0x0 0x4000>, + <0x4 0x7e30000 0x0 0x4000>, + <0x4 0x7c30000 0x0 0x4000>, + <0x4 0x7e30000 0x0 0x4000>, + <0x4 0x7c30000 0x0 0x4000>, + <0x4 0x7e30000 0x0 0x4000>, + <0x4 0x71e0000 0x0 0x4000>, + <0x4 0x73e0000 0x0 0x4000>, + <0x4 0x7fe0000 0x0 0x4000>, + <0x4 0x7de0000 0x0 0x4000>, + <0x4 0x7590000 0x0 0x4000>, + <0x4 0x7790000 0x0 0x4000>, + <0x4 0x7590000 0x0 0x4000>, + <0x4 0x7790000 0x0 0x4000>, + <0x4 0x7590000 0x0 0x4000>, + <0x4 0x7790000 0x0 0x4000>, + <0x4 0x7590000 0x0 0x4000>, + <0x4 0x7790000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + power-domains = <&ps_gfx>; + status = "disabled"; + }; +}; + +&die0 { + m2_dart_dispext0_1: iommu@289300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x2 0x89300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dwi: dwi@28e0fc000 { + compatible = "apple,t6022-dwi", "apple,dwi"; + reg = <0x2 0x8e0fc000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + m2_aic_timebase: timer@28e148000 { + compatible = "apple,t6022-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x8e148000 0x0 0x1000>; + status = "disabled"; + }; + + m2_clvr_spmi0_sideband: spmi-sideband@290004000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90004000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi0: spmi@29000c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9000c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_clvr_spmi1_sideband: spmi-sideband@290044000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90044000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi1: spmi@29004c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9004c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_clvr_spmi2_sideband: spmi-sideband@290084000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90084000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi2: spmi@29008c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9008c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_clvr_spmi3_sideband: spmi-sideband@2900c4000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x900c4000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi3: spmi@2900cc000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x900cc000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_clvr_spmi4_sideband: spmi-sideband@290104000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90104000 0x0 0x4000>; + status = "disabled"; + }; + + m2_clvr_spmi4: spmi@29010c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9010c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_nub_spmi0_sideband: spmi-sideband@29e104000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x9e104000 0x0 0x4000>; + status = "disabled"; + }; + + m2_nub_spmi1_sideband: spmi-sideband@29e144000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x9e144000 0x0 0x4000>; + status = "disabled"; + }; + + m2_nub_spmi1: spmi@29e154000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9e154000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@a { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xa SPMI_USID>; + read-only; + status = "disabled"; + }; + + peripheral@d { + compatible = "apple,t6022-spmi-peripheral", + "apple,spmi-peripheral"; + reg = <0xd SPMI_USID>; + status = "disabled"; + }; + }; + + m2_dockchannel_uart: serial@29e52c000 { + compatible = "apple,t6022-dockchannel-uart", "apple,dockchannel-uart"; + reg-names = "data", "config", "irq"; + reg = <0x2 0x9e52c000 0x0 0x4000>, + <0x2 0x9e528000 0x0 0x4000>, + <0x2 0x9e50c000 0x0 0x18>; + apple,sw-drain; + status = "disabled"; + }; + + m2_aop_spmi0_sideband: spmi-sideband@2a6884000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0xa6884000 0x0 0x4000>; + status = "disabled"; + }; + + m2_aop_spmi1_sideband: spmi-sideband@2a68c4000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0xa68c4000 0x0 0x4000>; + status = "disabled"; + }; + + m2_aop_spmi1: spmi@2a68d4000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa68d4000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + nfc@8 { + compatible = "apple,t6022-spmi-nfc", + "apple,spmi-nfc"; + reg = <0x8 SPMI_USID>; + interrupt-parent = <&m2_aop_spmi1>; + interrupts = <176 IRQ_TYPE_LEVEL_HIGH>, + <177 IRQ_TYPE_LEVEL_HIGH>, + <178 IRQ_TYPE_LEVEL_HIGH>, + <179 IRQ_TYPE_LEVEL_HIGH>, + <180 IRQ_TYPE_LEVEL_HIGH>, + <181 IRQ_TYPE_LEVEL_HIGH>, + <182 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + }; + + m2_apr0: video-codec@311000000 { + compatible = "apple,t6022-prores", "apple,prores"; + reg-names = "core", "wrapper"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_apr0_0 1>, <&m2_dart_apr0_1 1>; + power-domains = <&ps_scodec>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_apr0_1: iommu@311024000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x11024000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_apr0_0: iommu@311028000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x11028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_scdc0: iommu@31102c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x1102c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_scdc0: coprocessor@312400000 { + compatible = "apple,t6022-scdc", "apple,scdc"; + reg = <0x3 0x12400000 0x0 0x6c000>, + <0x3 0x12050000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>, + <0x3 0x11040000 0x0 0x1c000>, + <0x3 0x11070000 0x0 0x4000>, + <0x3 0x11074000 0x0 0x4000>, + <0x3 0x11100000 0x0 0x3c000>, + <0x3 0x11140000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + iommus = <&m2_dart_scdc0 0>, <&m2_dart_apr0_0 0>, <&m2_dart_apr0_1 0>; + power-domains = <&ps_scodec>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_dispext1_1: iommu@315300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x15300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_jpeg0: jpeg@38d000000 { + compatible = "apple,t6022-jpeg", "apple,jpeg"; + reg = <0x3 0x8d000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_jpeg0 0>; + power-domains = <&ps_jpg>; + status = "disabled"; + }; + + m2_dart_jpeg0: iommu@38d004000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x8d004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_jpeg1: jpeg@38d008000 { + compatible = "apple,t6022-jpeg", "apple,jpeg"; + reg = <0x3 0x8d008000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_jpeg1 0>; + power-domains = <&ps_jpg>; + status = "disabled"; + }; + + m2_dart_jpeg1: iommu@38d00c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x8d00c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_aes: aes@39b070000 { + compatible = "apple,t6022-aes", "apple,aes"; + reg = <0x3 0x9b070000 0x0 0x4000>, + <0x2 0x9e2b0000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&sio_dart 1>; + power-domains = <&ps_aes>; + status = "disabled"; + }; + + m2_apr1: video-codec@409000000 { + compatible = "apple,t6022-prores", "apple,prores"; + reg-names = "core", "wrapper"; + reg = <0x4 0x9000000 0x0 0x4000>, + <0x4 0x8000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_apr1 0>; + power-domains = <&ps_prores>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_apr1: iommu@409008000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x9008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_scaler0: scaler@40b000000 { + compatible = "apple,t6022-scaler", "apple,scaler"; + reg = <0x4 0xb000000 0x0 0x28000>, + <0x4 0xb210000 0x0 0x4000>, + <0x4 0xb204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + iommus = <&m2_dart_scaler0 0>, <&m2_dart_scaler0 1>; + power-domains = <&ps_msr0>, <&ps_afr>, <&ps_msr0_ase_core>; + status = "disabled"; + }; + + m2_dart_scaler0: iommu@40b200000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xb200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_avd_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_2: iommu@40d020000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd020000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_0: iommu@40d030000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_1: iommu@40d040000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave0_3: iommu@40d044000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_ave0: video-codec@40d100000 { + compatible = "apple,t6022-ave", "apple,ave"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1", "perf"; + reg-names = "codec", "mailbox", "coproc", "power-control", "fabric"; + reg = <0x4 0xd100000 0x0 0x45c000>, + <0x4 0xd050000 0x0 0x8000>, + <0x4 0xd800000 0x0 0x800000>, + <0x2 0x902803e0 0x0 0x7c44>, + <0x4 0xc000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + iommus = <&m2_dart_ave0_0 0>, <&m2_dart_ave0_1 0>, <&m2_dart_ave0_2 0>, <&m2_dart_ave0_3 0>; + power-domains = <&ps_venc_dma>, <&ps_venc_pipe4>, <&ps_venc_pipe5>, <&ps_venc_me0>, <&ps_venc_me1>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_dispext2_1: iommu@48d300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x8d300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dispext2_0: iommu@48d304000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x8d304000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dcpext2: iommu@48d30c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x8d30c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dcpext2_mbox: mailbox@48dc08000 { + compatible = "apple,t6020-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8dc08000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + m2_dcpext2: dcp@48dc00000 { + compatible = "apple,t6020-dcpext", "apple,dcpext"; + mbox-names = "mbox"; + mboxes = <&m2_dcpext2_mbox>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3"; + reg = <0x4 0x8dc00000 0 0x4000>, + <0x4 0x8c000000 0 0x4000000>, + <0x4 0x8d320000 0 0x4000>, + <0x4 0x8d344000 0 0x4000>, + <0x4 0x8d800000 0 0x800000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&m2_dart_dcpext2 5>; + power-domains = <&ps_dispext2_cpu0>; + status = "disabled"; + + piodma { + iommus = <&m2_dart_dispext2_0 4>; + }; + }; + + m2_scaler1: scaler@491000000 { + compatible = "apple,t6022-scaler", "apple,scaler"; + reg = <0x4 0x91000000 0x0 0x28000>, + <0x4 0x91210000 0x0 0x4000>, + <0x4 0x91204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + iommus = <&m2_dart_scaler1 0>, <&m2_dart_scaler1 1>; + power-domains = <&ps_msr1>, <&ps_afr>, <&ps_msr1_ase_core>; + status = "disabled"; + }; + + m2_dart_scaler1: iommu@491200000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x91200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave1_2: iommu@507020000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7020000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave1_0: iommu@507030000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave1_1: iommu@507040000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave1_3: iommu@507044000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_ave1: video-codec@507100000 { + compatible = "apple,t6022-ave", "apple,ave"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1", "perf"; + reg-names = "codec", "mailbox", "coproc", "power-control", "fabric"; + reg = <0x5 0x7100000 0x0 0x45c000>, + <0x5 0x7050000 0x0 0x8000>, + <0x5 0x7800000 0x0 0x800000>, + <0x2 0x8e680228 0x0 0x3dfc>, + <0x5 0x6000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + iommus = <&m2_dart_ave1_0 0>, <&m2_dart_ave1_1 0>, <&m2_dart_ave1_2 0>, <&m2_dart_ave1_3 0>; + power-domains = <&ps_venc1_dma>, <&ps_venc1_pipe4>, <&ps_venc1_pipe5>, <&ps_venc1_me0>, <&ps_venc1_me1>, <&ps_afr>; + status = "disabled"; + }; + + m2_dart_dispext3_1: iommu@50d300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0xd300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dispext3_0: iommu@50d304000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0xd304000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dcpext3: iommu@50d30c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0xd30c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dcpext3_mbox: mailbox@50dc08000 { + compatible = "apple,t6020-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x5 0xdc08000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + m2_dcpext3: dcp@50dc00000 { + compatible = "apple,t6020-dcpext", "apple,dcpext"; + mbox-names = "mbox"; + mboxes = <&m2_dcpext3_mbox>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3"; + reg = <0x5 0xdc00000 0 0x4000>, + <0x5 0xc000000 0 0x4000000>, + <0x5 0xd320000 0 0x4000>, + <0x5 0xd344000 0 0x4000>, + <0x5 0xd800000 0 0x800000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&m2_dart_dcpext3 5>; + power-domains = <&ps_dispext3_cpu0>; + status = "disabled"; + + piodma { + iommus = <&m2_dart_dispext3_0 4>; + }; + }; + + m2_atc0_dpin0: displayport-input@701e50000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0x7 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc0_dpin1: displayport-input@701e58000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0x7 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6022-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart 15>; + status = "disabled"; + }; + + m2_atc1_dpin0: displayport-input@b01e50000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0xb 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc1_dpin1: displayport-input@b01e58000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0xb 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6022-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart 15>; + status = "disabled"; + }; + + m2_atc2_dpin0: displayport-input@f01e50000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0xf 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc2_dpin1: displayport-input@f01e58000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0xf 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6022-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec2_dart 15>; + status = "disabled"; + }; + + m2_atc3_dpin0: displayport-input@1301e50000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0x13 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc3_dpin1: displayport-input@1301e58000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0x13 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec3_piodma: dma-controller@1322000000 { + compatible = "apple,t6022-pciec-piodma", "apple,pciec-piodma"; + reg = <0x13 0x22000000 0x0 0x4000>, + <0x13 0x22004000 0x0 0x4000>, + <0x13 0x22008000 0x0 0x4000>, + <0x13 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec3_dart 15>; + status = "disabled"; + }; +}; + +&die1 { + m2_ane1_mbox: mailbox@285408000 { + compatible = "apple,t6021-ane-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0x85408000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-names = "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + m2_ane1: ane@284000000 { + compatible = "apple,t6022-ane"; + mboxes = <&m2_ane1_mbox>; + resets = <&ps_ane_cpu_die1>; + interrupt-names = "ane"; + reg-names = "engine", "pmgr", "set"; + reg = <0x2 0x84000000 0x0 0x2000000>, + <0x2 0x8e080000 0x0 0x4034>, + <0x2 0x8e08c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_ane1_0 0>, <&m2_dart_ane1_1 0>, <&m2_dart_ane1_2 0>; + power-domains = <&ps_ane_sys_mpm_die1>, + <&ps_ane_td_die1>, + <&ps_ane_base_die1>, + <&ps_ane_set1_die1>, + <&ps_ane_set2_die1>, + <&ps_ane_set3_die1>, + <&ps_ane_set4_die1>, + <&ps_ane_cpu_die1>; + status = "disabled"; + }; + + m2_dart_ane1_0: iommu@285800000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x2 0x85800000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ane1_3: iommu@285804000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x2 0x85804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ane1_1: iommu@285810000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x2 0x85810000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ane1_2: iommu@285820000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x2 0x85820000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dispext4_1: iommu@289300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x2 0x89300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_die1_clvr_spmi0_sideband: spmi-sideband@290004000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90004000 0x0 0x4000>; + status = "disabled"; + }; + + m2_die1_clvr_spmi0: spmi@29000c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9000c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_die1_clvr_spmi1_sideband: spmi-sideband@290044000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90044000 0x0 0x4000>; + status = "disabled"; + }; + + m2_die1_clvr_spmi1: spmi@29004c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9004c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_die1_clvr_spmi2_sideband: spmi-sideband@290084000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90084000 0x0 0x4000>; + status = "disabled"; + }; + + m2_die1_clvr_spmi2: spmi@29008c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9008c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_die1_clvr_spmi3_sideband: spmi-sideband@2900c4000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x900c4000 0x0 0x4000>; + status = "disabled"; + }; + + m2_die1_clvr_spmi3: spmi@2900cc000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x900cc000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_die1_clvr_spmi4_sideband: spmi-sideband@290104000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x90104000 0x0 0x4000>; + status = "disabled"; + }; + + m2_die1_clvr_spmi4: spmi@29010c000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9010c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,mirabeau-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_die1_nub_spmi0_sideband: spmi-sideband@29e104000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x9e104000 0x0 0x4000>; + status = "disabled"; + }; + + m2_die1_nub_spmi0: spmi@29e114000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9e114000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@b { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xb SPMI_USID>; + read-only; + interrupt-parent = <&m2_die1_nub_spmi0>; + interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + }; + + m2_die1_nub_spmi1_sideband: spmi-sideband@29e144000 { + compatible = "apple,t6022-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x9e144000 0x0 0x4000>; + status = "disabled"; + }; + + m2_die1_nub_spmi1: spmi@29e154000 { + compatible = "apple,t6020-spmi", "apple,t8103-spmi"; + reg = <0x2 0x9e154000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + pmic@a { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xa SPMI_USID>; + read-only; + status = "disabled"; + }; + }; + + m2_apr2: video-codec@311000000 { + compatible = "apple,t6022-prores", "apple,prores"; + reg-names = "core", "wrapper"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_apr2_0 1>, <&m2_dart_apr2_1 1>; + power-domains = <&ps_scodec_die1>, <&ps_afr_die1>; + status = "disabled"; + }; + + m2_dart_apr2_1: iommu@311024000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x11024000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_apr2_0: iommu@311028000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x11028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_scdc1: iommu@31102c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x1102c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_scdc1: coprocessor@312400000 { + compatible = "apple,t6022-scdc", "apple,scdc"; + reg = <0x3 0x12400000 0x0 0x6c000>, + <0x3 0x12050000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>, + <0x3 0x11040000 0x0 0x1c000>, + <0x3 0x11070000 0x0 0x4000>, + <0x3 0x11074000 0x0 0x4000>, + <0x3 0x11100000 0x0 0x3c000>, + <0x3 0x11140000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + iommus = <&m2_dart_scdc1 0>, <&m2_dart_apr2_0 0>, <&m2_dart_apr2_1 0>; + power-domains = <&ps_scodec_die1>, <&ps_afr_die1>; + status = "disabled"; + }; + + m2_dart_dispext5_1: iommu@315300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x15300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_jpeg2: jpeg@38d000000 { + compatible = "apple,t6022-jpeg", "apple,jpeg"; + reg = <0x3 0x8d000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_jpeg2 0>; + power-domains = <&ps_jpg_die1>; + status = "disabled"; + }; + + m2_dart_jpeg2: iommu@38d004000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x8d004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_jpeg3: jpeg@38d008000 { + compatible = "apple,t6022-jpeg", "apple,jpeg"; + reg = <0x3 0x8d008000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_jpeg3 0>; + power-domains = <&ps_jpg_die1>; + status = "disabled"; + }; + + m2_dart_jpeg3: iommu@38d00c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x3 0x8d00c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_apr3: video-codec@409000000 { + compatible = "apple,t6022-prores", "apple,prores"; + reg-names = "core", "wrapper"; + reg = <0x4 0x9000000 0x0 0x4000>, + <0x4 0x8000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_apr3 0>; + power-domains = <&ps_prores_die1>, <&ps_afr_die1>; + status = "disabled"; + }; + + m2_dart_apr3: iommu@409008000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x9008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_scaler2: scaler@40b000000 { + compatible = "apple,t6022-scaler", "apple,scaler"; + reg = <0x4 0xb000000 0x0 0x28000>, + <0x4 0xb210000 0x0 0x4000>, + <0x4 0xb204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + iommus = <&m2_dart_scaler2 0>, <&m2_dart_scaler2 1>; + power-domains = <&ps_msr0_die1>, <&ps_afr_die1>, <&ps_msr0_ase_core_die1>; + status = "disabled"; + }; + + m2_dart_scaler2: iommu@40b200000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xb200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_spi3>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave2_2: iommu@40d020000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd020000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave2_0: iommu@40d030000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave2_1: iommu@40d040000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave2_3: iommu@40d044000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0xd044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_ave2: video-codec@40d100000 { + compatible = "apple,t6022-ave", "apple,ave"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1", "perf"; + reg-names = "codec", "mailbox", "coproc", "power-control", "fabric"; + reg = <0x4 0xd100000 0x0 0x45c000>, + <0x4 0xd050000 0x0 0x8000>, + <0x4 0xd800000 0x0 0x800000>, + <0x2 0x90288000 0x0 0x24>, + <0x4 0xc000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + iommus = <&m2_dart_ave2_0 0>, <&m2_dart_ave2_1 0>, <&m2_dart_ave2_2 0>, <&m2_dart_ave2_3 0>; + power-domains = <&ps_venc_dma_die1>, <&ps_venc_pipe4_die1>, <&ps_venc_pipe5_die1>, <&ps_venc_me0_die1>, <&ps_venc_me1_die1>, <&ps_afr_die1>; + status = "disabled"; + }; + + m2_dart_dispext6_1: iommu@48d300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x8d300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dispext6_0: iommu@48d304000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x8d304000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dcpext6: iommu@48d30c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x8d30c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dcpext6_mbox: mailbox@48dc08000 { + compatible = "apple,t6020-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8dc08000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + m2_dcpext6: dcp@48dc00000 { + compatible = "apple,t6020-dcpext", "apple,dcpext"; + mbox-names = "mbox"; + mboxes = <&m2_dcpext6_mbox>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3"; + reg = <0x4 0x8dc00000 0 0x4000>, + <0x4 0x8c000000 0 0x4000000>, + <0x4 0x8d320000 0 0x4000>, + <0x4 0x8d344000 0 0x4000>, + <0x4 0x8d800000 0 0x800000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&m2_dart_dcpext6 5>; + power-domains = <&ps_dispext2_cpu0_die1>; + status = "disabled"; + + piodma { + iommus = <&m2_dart_dispext6_0 4>; + }; + }; + + m2_scaler3: scaler@491000000 { + compatible = "apple,t6022-scaler", "apple,scaler"; + reg = <0x4 0x91000000 0x0 0x28000>, + <0x4 0x91210000 0x0 0x4000>, + <0x4 0x91204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + iommus = <&m2_dart_scaler3 0>, <&m2_dart_scaler3 1>; + power-domains = <&ps_msr1_die1>, <&ps_afr_die1>, <&ps_msr1_ase_core_die1>; + status = "disabled"; + }; + + m2_dart_scaler3: iommu@491200000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x4 0x91200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr1_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave3_2: iommu@507020000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7020000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave3_0: iommu@507030000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave3_1: iommu@507040000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave3_3: iommu@507044000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0x7044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_ave3: video-codec@507100000 { + compatible = "apple,t6022-ave", "apple,ave"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1", "perf"; + reg-names = "codec", "mailbox", "coproc", "power-control", "fabric"; + reg = <0x5 0x7100000 0x0 0x45c000>, + <0x5 0x7050000 0x0 0x8000>, + <0x5 0x7800000 0x0 0x800000>, + <0x2 0x8e680228 0x0 0x3dfc>, + <0x5 0x6000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + iommus = <&m2_dart_ave3_0 0>, <&m2_dart_ave3_1 0>, <&m2_dart_ave3_2 0>, <&m2_dart_ave3_3 0>; + power-domains = <&ps_venc1_dma_die1>, <&ps_venc1_pipe4_die1>, <&ps_venc1_pipe5_die1>, <&ps_venc1_me0_die1>, <&ps_venc1_me1_die1>, <&ps_afr_die1>; + status = "disabled"; + }; + + m2_dart_dispext7_1: iommu@50d300000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0xd300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dispext7_0: iommu@50d304000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0xd304000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dcpext7: iommu@50d30c000 { + compatible = "apple,t6020-dart", "apple,t8110-dart"; + reg = <0x5 0xd30c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dcpext7_mbox: mailbox@50dc08000 { + compatible = "apple,t6020-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x5 0xdc08000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + m2_dcpext7: dcp@50dc00000 { + compatible = "apple,t6020-dcpext", "apple,dcpext"; + mbox-names = "mbox"; + mboxes = <&m2_dcpext7_mbox>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3"; + reg = <0x5 0xdc00000 0 0x4000>, + <0x5 0xc000000 0 0x4000000>, + <0x5 0xd320000 0 0x4000>, + <0x5 0xd344000 0 0x4000>, + <0x5 0xd800000 0 0x800000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&m2_dart_dcpext7 5>; + power-domains = <&ps_dispext3_cpu0_die1>; + status = "disabled"; + + piodma { + iommus = <&m2_dart_dispext7_0 4>; + }; + }; + + m2_atc4_dpin0: displayport-input@701e50000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0x7 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc4_dpin1: displayport-input@701e58000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0x7 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec4_piodma: dma-controller@722000000 { + compatible = "apple,t6022-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart_die1 15>; + status = "disabled"; + }; + + m2_atc5_dpin0: displayport-input@b01e50000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0xb 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc5_dpin1: displayport-input@b01e58000 { + compatible = "apple,t6022-dpin", "apple,dpin"; + reg = <0xb 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec5_piodma: dma-controller@b22000000 { + compatible = "apple,t6022-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart_die1 15>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t602x-die0.dtsi b/arch/arm64/boot/dts/apple/t602x-die0.dtsi index bc5388b0b40ff..828f6ac65c4a8 100644 --- a/arch/arm64/boot/dts/apple/t602x-die0.dtsi +++ b/arch/arm64/boot/dts/apple/t602x-die0.dtsi @@ -312,7 +312,7 @@ #address-cells = <2>; #size-cells = <0>; - pmic1: pmic@f { + pmic1: pmic@b { compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; reg = <0xb SPMI_USID>; @@ -837,9 +837,9 @@ status = "disabled"; }; - i2c6: i2c@39b054000 { + i2c6: i2c@39b058000 { compatible = "apple,t6020-i2c", "apple,t8103-i2c"; - reg = <0x3 0x9b054000 0x0 0x4000>; + reg = <0x3 0x9b058000 0x0 0x4000>; clocks = <&clkref>; interrupt-parent = <&aic>; interrupts = ; @@ -851,9 +851,9 @@ status = "disabled"; }; - i2c7: i2c@39b054000 { + i2c7: i2c@39b05c000 { compatible = "apple,t6020-i2c", "apple,t8103-i2c"; - reg = <0x3 0x9b054000 0x0 0x4000>; + reg = <0x3 0x9b05c000 0x0 0x4000>; clocks = <&clkref>; interrupt-parent = <&aic>; interrupts = ; @@ -865,9 +865,9 @@ status = "disabled"; }; - i2c8: i2c@39b054000 { + i2c8: i2c@39b060000 { compatible = "apple,t6020-i2c", "apple,t8103-i2c"; - reg = <0x3 0x9b054000 0x0 0x4000>; + reg = <0x3 0x9b060000 0x0 0x4000>; clocks = <&clkref>; interrupt-parent = <&aic>; interrupts = ; diff --git a/arch/arm64/boot/dts/apple/t602x-dieX.dtsi b/arch/arm64/boot/dts/apple/t602x-dieX.dtsi index 7a088fa931990..7d1fac59b0307 100644 --- a/arch/arm64/boot/dts/apple/t602x-dieX.dtsi +++ b/arch/arm64/boot/dts/apple/t602x-dieX.dtsi @@ -587,7 +587,7 @@ <0x7 0x21000000 0x0 0x8000>, <0x7 0x20004000 0x0 0x4000>, <0x7 0x20200000 0x0 0x4000>, - <0x7 0x21100000 0x0 0x4000>, + <0x7 0x21010000 0x0 0x4000>, <0x7 0x2100c000 0x0 0x4000>; reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; @@ -814,7 +814,7 @@ <0xb 0x21000000 0x0 0x8000>, <0xb 0x20004000 0x0 0x4000>, <0xb 0x20200000 0x0 0x4000>, - <0xb 0x21100000 0x0 0x4000>, + <0xb 0x21010000 0x0 0x4000>, <0xb 0x2100c000 0x0 0x4000>; reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; @@ -1041,7 +1041,7 @@ <0xf 0x21000000 0x0 0x8000>, <0xf 0x20004000 0x0 0x4000>, <0xf 0x20200000 0x0 0x4000>, - <0xf 0x21100000 0x0 0x4000>, + <0xf 0x21010000 0x0 0x4000>, <0xf 0x2100c000 0x0 0x4000>; reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; @@ -1243,9 +1243,19 @@ #ifdef APPLE_T602X_NON_ULTRA DIE_NODE(usb4_3_pcie_tunnel): usb4-pcie-tunnel-3 { +#else + DIE_NODE(usb4_3_pcie_tunnel): usb4-pcie-tunnel@1320000000 { +#endif #address-cells = <2>; #size-cells = <2>; +#ifdef APPLE_T602X_NON_ULTRA ranges; +#else + /* Identity-map the controller and PCIe memory windows. */ + ranges = <0x13 0x20000000 0x13 0x20000000 0x0 0x20000000>, + <0x14 0x0 0x14 0x0 0x2 0x80000000>; + status = "disabled"; +#endif DIE_NODE(apciec3_dart): iommu@1321008000 { compatible = "apple,t8110-dart"; @@ -1255,6 +1265,9 @@ #iommu-cells = <1>; apple,dma-range = <0x0 0x80000000 0x0 0x80000000>; apple,dma-offset = <0x100 0x0>; +#ifndef APPLE_T602X_NON_ULTRA + status = "disabled"; +#endif }; DIE_NODE(apciec3): pcie@1330000000 { @@ -1266,7 +1279,7 @@ <0x13 0x21000000 0x0 0x8000>, <0x13 0x20004000 0x0 0x4000>, <0x13 0x20200000 0x0 0x4000>, - <0x13 0x21100000 0x0 0x4000>, + <0x13 0x21010000 0x0 0x4000>, <0x13 0x2100c000 0x0 0x4000>; reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; @@ -1274,6 +1287,9 @@ interrupt-parent = <&aic>; interrupts = ; power-domains = <&DIE_NODE(ps_atc3_pcie)>; +#ifndef APPLE_T602X_NON_ULTRA + status = "disabled"; +#endif msi-controller; msi-parent = <&DIE_NODE(apciec3)>; @@ -1312,7 +1328,6 @@ }; }; }; -#endif DIE_NODE(dwc3_3): usb@1302280000 { compatible = "apple,t6020-dwc3", "apple,t8103-dwc3"; diff --git a/arch/arm64/boot/dts/apple/t6030-coprocessors.dtsi b/arch/arm64/boot/dts/apple/t6030-coprocessors.dtsi new file mode 100644 index 0000000000000..8ffda682587ef --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6030-coprocessors.dtsi @@ -0,0 +1,40 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled coprocessor interfaces; firmware handoff remains a loader job. */ + +&soc { + sep_dart: iommu@29cac0000 { + compatible = "apple,t6030-dart", "apple,t8110-dart"; + reg = <0x2 0x9cac0000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + sep_mbox: mailbox@29e408000 { + compatible = "apple,t6030-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0x9e408000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_sep>; + status = "disabled"; + }; + + sep: sep@29e400000 { + compatible = "apple,t6030-sep", "apple,sep"; + reg = <0x2 0x9e400000 0 0x6c000>, + <0x2 0x9e050000 0 0x60000>; + mboxes = <&sep_mbox>; + mbox-names = "mbox"; + iommus = <&sep_dart 0>; + power-domains = <&ps_sep>; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t6030-dcp.dtsi b/arch/arm64/boot/dts/apple/t6030-dcp.dtsi index 461533b3dc382..b31d79817d96c 100644 --- a/arch/arm64/boot/dts/apple/t6030-dcp.dtsi +++ b/arch/arm64/boot/dts/apple/t6030-dcp.dtsi @@ -1,16 +1,8 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * T6030 internal display and the first external display processor. - * - * Every new device node stays status = "disabled". The display gate enables - * the internal DCP, its mailbox, the two display DARTs and the display - * subsystem only after the bootloader has set apple,t6030-handoff = <1>. - * The external processor stays disabled until its own handoff check passes. - * Compatibles are t6030-specific, so a kernel that does not know them leaves - * the nodes unbound. - * - * Register values are the ones in the tested j516s boot device tree. - * The panel child is board-specific and is added by the board file. + * T6030 internal display and the first external display processor, from + * the tested J516S ADT. Every node stays disabled until the display gate + * takes them over after the boot loader's handoff (apple,t6030-handoff). */ / { @@ -103,7 +95,6 @@ }; }; - dcpext_dart: iommu@2d130c000 { compatible = "apple,t6030-dart", "apple,t8110-dart"; reg = <0x2 0xd130c000 0x0 0x4000>; @@ -161,12 +152,7 @@ ranges; status = "disabled"; - /* - * A route stays disabled until the display gate enables it - * together with this processor. An available route with no - * registered mode switch would make the Type-C port wait for - * one forever. - */ + /* Enabled with the processor; until then a port would wait for it. */ typec-routes { #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm64/boot/dts/apple/t6030-gpu.dtsi b/arch/arm64/boot/dts/apple/t6030-gpu.dtsi index 5264c402764f7..5227fd859d45f 100644 --- a/arch/arm64/boot/dts/apple/t6030-gpu.dtsi +++ b/arch/arm64/boot/dts/apple/t6030-gpu.dtsi @@ -1,19 +1,18 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple T6030 (M3 Pro / G15S) GPU. The boot loader fills in this machine's + * values and the firmware memory, then enables the GPU. + */ / { aliases { - gpu = &gpu; /* m1n1 dt_set_gpu() finds the node through this alias */ + gpu = &gpu; /* the boot loader finds the GPU through this alias */ }; gpu_opp: opp-table-gpu { compatible = "operating-points-v2"; - /* - * Placeholder only. m1n1 dt_set_gpu_t6030() deletes these children and - * creates one OPP per runtime pstate, with one opp-microvolt cell per - * MGPU (2). The pstate count and the frequency and voltage values are - * filled by the bootloader; the template pstates are zero. - */ + /* Placeholder; the boot loader writes one OPP per pstate, per MGPU. */ opp00 { opp-hz = /bits/ 64 <0>; opp-microvolt = <400000 400000>; @@ -39,11 +38,7 @@ status = "disabled"; }; - /* - * Filled and enabled by m1n1 from the ADT sgx gfx-handoff-*, gfx-shared-region-* and gpu-region-* - * properties. Disabled until then, so that neither the kernel nor m1n1's RAM-map scan (dt_set_memory) - * sees a zero-sized placeholder. - */ + /* Filled and enabled by the boot loader; disabled while empty. */ uat_handoff: uat-handoff@30 { reg = <0 0x30 0 0>; status = "disabled"; @@ -59,10 +54,7 @@ status = "disabled"; }; - /* - * G15 second-level TTBR1 table: keep it in the linear map with - * uat-pagetables. The bootloader fills reg and enables this node. - */ + /* G15 TTBR1 level-2 table, in the linear map with uat-pagetables. */ uat_pagetables_l2: uat-pagetables-l2@40 { reg = <0 0x40 0 0>; status = "disabled"; @@ -71,24 +63,14 @@ }; &soc { - /* - * asc is 0x40000 at 0x2_9240_0000. sgx is 16 MiB at 0x2_9000_0000, which covers - * the ID block at sgx+0xd04000, the core masks at sgx+0xe01500 and the Fender - * MMU block at sgx+0xd08000. The GPU has no DART: drm/asahi owns the UAT, as on t602x. - */ + /* No DART: drm/asahi owns the UAT, as on T602x. */ gpu: gpu@292400000 { - /* m1n1 sets "okay" as its last step, after every other property has been filled in */ - status = "disabled"; - /* apple,agx-t6030 is the compatible drm/asahi and m1n1 match. */ compatible = "apple,agx-t6030", "apple,agx-g15x", "apple,agx-g15s"; reg = <0x2 0x92400000 0 0x40000>, <0x2 0x90000000 0 0x1000000>; reg-names = "asc", "sgx"; interrupt-parent = <&aic>; - /* - * Seven level interrupts in source order. The valid mask 0x5f marks entry 5 - * (838) invalid; it is kept so the list stays aligned, as t602x keeps all 7. - */ + /* Entry 5 (838) is invalid in the ADT mask; kept, as on T602x. */ interrupts = , , , @@ -97,12 +79,8 @@ , ; mboxes = <&agx_mbox>; - /* "gfx" power domain at pmgr offset 0x110 (parents gpx, afr). */ power-domains = <&ps_gfx>; - /* - * Do not hold back the ps_gfx sync_state() on this device when it never probes (fw_devlink would - * otherwise keep "gfx" in its boot state forever). - */ + /* Do not hold back ps_gfx sync_state() if the GPU never probes. */ post-init-providers = <&ps_gfx>; memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>, <&gpu_hw_cal_a>, <&gpu_hw_cal_b>, <&gpu_globals>; @@ -158,20 +136,15 @@ apple,se-kp = <-5.0>; apple,se-kp-1 = <-10.0>; apple,se-reset-criteria = <50>; - /* - * One value per MGPU (drm/asahi requires two entries). Placeholders: m1n1 - * writes the fused core leakage into both entries and 0 for SRAM. - */ + /* One per MGPU; the boot loader writes the fused core leakage. */ apple,core-leak-coef = <1.0 1.0>; apple,sram-leak-coef = <0.0 0.0>; + + /* The boot loader sets "okay" last. */ + status = "disabled"; }; - /* - * gfx-asc mailbox at asc + 0x8000, as on t602x and for the other t6030 ASC mailboxes. - * Interrupts 832..835 are send-empty, send-not-empty, recv-empty, recv-not-empty. - * Compatible is only apple,t6030-agx-asc-mailbox, with no v4 fallback, so a kernel - * without G15 support leaves IRQs 832-835 unbound. - */ + /* No asc-mailbox-v4 fallback: unbound without G15 support. */ agx_mbox: mbox@292408000 { compatible = "apple,t6030-agx-asc-mailbox"; reg = <0x2 0x92408000 0x0 0x4000>; diff --git a/arch/arm64/boot/dts/apple/t6030-j514s.dts b/arch/arm64/boot/dts/apple/t6030-j514s.dts index 1116c648a2c23..1ccf2f1294d6b 100644 --- a/arch/arm64/boot/dts/apple/t6030-j514s.dts +++ b/arch/arm64/boot/dts/apple/t6030-j514s.dts @@ -99,3 +99,19 @@ &isp { apple,platform-id = <16>; }; + +&i2c4 { + sd_card_control: card-control@20 { + compatible = "apple,t6030-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&i2c8 { + display_pcon: display-converter@8 { + compatible = "apple,t6030-display-pcon", "apple,display-pcon"; + reg = <0x8>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6030-j516s.dts b/arch/arm64/boot/dts/apple/t6030-j516s.dts index f1e88f9a1d8b5..d3fff6b103fde 100644 --- a/arch/arm64/boot/dts/apple/t6030-j516s.dts +++ b/arch/arm64/boot/dts/apple/t6030-j516s.dts @@ -100,10 +100,19 @@ apple,platform-id = <16>; }; -&smc_hwmon { - /* M3-family die keys, not yet confirmed on J516s; absent keys are skipped. */ - apple,soc-die-keys = "Tf04", "Tf09", "Tf0A", "Tf0B", "Tf0D", - "Tf0E", "Tf14", "Tf18", "Tf19", "Tf1A", - "Tf24", "Tf25", "Tf2A", "Tf2B"; - apple,thermal-pressure-key = "mTPL"; + +&i2c4 { + sd_card_control: card-control@20 { + compatible = "apple,t6030-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&i2c8 { + display_pcon: display-converter@8 { + compatible = "apple,t6030-display-pcon", "apple,display-pcon"; + reg = <0x8>; + status = "disabled"; + }; }; diff --git a/arch/arm64/boot/dts/apple/t6030-misc-interfaces.dtsi b/arch/arm64/boot/dts/apple/t6030-misc-interfaces.dtsi new file mode 100644 index 0000000000000..f10ac39c4d357 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6030-misc-interfaces.dtsi @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled tunnel translation and miscellaneous interfaces. */ + +&soc { + pciec1_dart: iommu@b21008000 { + compatible = "apple,t6030-dart", "apple,t8110-dart"; + reg = <0xb 0x21008000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc1_cio_pcie>; + status = "disabled"; + }; + + pciec2_dart: iommu@f21008000 { + compatible = "apple,t6030-dart", "apple,t8110-dart"; + reg = <0xf 0x21008000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc2_cio_pcie>; + status = "disabled"; + }; + + serial2: serial@289208000 { + compatible = "apple,s5l-uart"; + reg = <0x2 0x89208000 0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + /* Reference parents follow UART0; selectable baud parents need review. */ + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + power-domains = <&ps_uart2>; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t6030-peripheral-buses.dtsi b/arch/arm64/boot/dts/apple/t6030-peripheral-buses.dtsi new file mode 100644 index 0000000000000..b03254c622758 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6030-peripheral-buses.dtsi @@ -0,0 +1,85 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Unclaimed T6030 peripheral buses. */ + +&soc { + spi2: spi@289108000 { + compatible = "apple,t6030-spi", "apple,t8103-spi"; + reg = <0x2 0x89108000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clk_200m>; + power-domains = <&ps_spi2>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi4: spi@289110000 { + compatible = "apple,t6030-spi", "apple,t8103-spi"; + reg = <0x2 0x89110000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clk_200m>; + power-domains = <&ps_spi4>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + nub_spmi1: spmi@364794000 { + compatible = "apple,t6030-spmi", "apple,t8103-spmi"; + reg = <0x3 0x64794000 0 0x4000>, + <0x3 0x64784000 0 0x4000>, + <0x3 0x64780000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + nub_spmi2: spmi@364814000 { + compatible = "apple,t6030-spmi", "apple,t8103-spmi"; + reg = <0x3 0x64814000 0 0x4000>, + <0x3 0x64804000 0 0x4000>, + <0x3 0x64800000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + aop_spmi0: spmi@374894000 { + compatible = "apple,t6030-spmi", "apple,t8103-spmi"; + reg = <0x3 0x74894000 0 0x4000>, + <0x3 0x74884000 0 0x4000>, + <0x3 0x74880000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + aop_spmi1: spmi@3748d4000 { + compatible = "apple,t6030-spmi", "apple,t8103-spmi"; + reg = <0x3 0x748d4000 0 0x4000>, + <0x3 0x748c4000 0 0x4000>, + <0x3 0x748c0000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t6030-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6030-peripherals.dtsi new file mode 100644 index 0000000000000..1f38eb1255901 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6030-peripherals.dtsi @@ -0,0 +1,511 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T6030 hardware interfaces. Keep unclaimed engines disabled. */ + +&soc { + dart_rsm: iommu@36433c000 { + compatible = "apple,t6030-dart", "apple,t8110-dart"; + reg = <0x3 0x6433c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_scaler: iommu@391200000 { + compatible = "apple,t6030-dart", "apple,t8110-dart"; + reg = <0x3 0x91200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_jpeg0: iommu@299004000 { + compatible = "apple,t6030-dart", "apple,t8110-dart"; + reg = <0x2 0x99004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_jpeg1: iommu@29900c000 { + compatible = "apple,t6030-dart", "apple,t8110-dart"; + reg = <0x2 0x9900c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_ave0: iommu@2cd030000 { + compatible = "apple,t6030-dart", "apple,t8110-dart"; + reg = <0x2 0xcd030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_ave1: iommu@2cd040000 { + compatible = "apple,t6030-dart", "apple,t8110-dart"; + reg = <0x2 0xcd040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_ave2: iommu@2cd020000 { + compatible = "apple,t6030-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0xcd020000 0x0 0x4000>; + status = "disabled"; + }; + + dart_ave3: filter@2cd044000 { + compatible = "apple,t6030-dapf", "apple,dapf"; + reg = <0x2 0xcd044000 0x0 0x4000>; + status = "disabled"; + }; + + dart_apr0: iommu@30d028000 { + compatible = "apple,t6030-dart", "apple,t8110-dart"; + reg = <0x3 0x0d028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_apr1: iommu@30d02c000 { + compatible = "apple,t6030-dart", "apple,t8110-dart"; + reg = <0x3 0x0d02c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_aop_companion1: filter@37481c000 { + compatible = "apple,t6030-dapf", "apple,dapf"; + reg = <0x3 0x7481c000 0x0 0x4000>; + status = "disabled"; + }; + + dart_mtp_companion1: filter@37a80c000 { + compatible = "apple,t6030-dapf", "apple,dapf"; + reg = <0x3 0x7a80c000 0x0 0x4000>; + status = "disabled"; + }; + + dart_disp0_companion1: iommu@28d300000 { + compatible = "apple,t6030-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0x8d300000 0x0 0x4000>; + status = "disabled"; + }; + + dart_dispext0_companion1: iommu@2d1300000 { + compatible = "apple,t6030-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0xd1300000 0x0 0x4000>; + status = "disabled"; + }; + + dart_dispext1_companion1: iommu@2d5300000 { + compatible = "apple,t6030-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0xd5300000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp_companion3: iommu@2ca4b0000 { + compatible = "apple,t6030-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0xca4b0000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp_companion4: iommu@2ca4b8000 { + compatible = "apple,t6030-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0xca4b8000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp_companion5: filter@2ca4ac000 { + compatible = "apple,t6030-dapf", "apple,dapf"; + reg = <0x2 0xca4ac000 0x0 0x4000>; + status = "disabled"; + }; + + dart_ane_companion3: filter@309804000 { + compatible = "apple,t6030-dapf", "apple,dapf"; + reg = <0x3 0x09804000 0x0 0x4000>; + status = "disabled"; + }; + + apcie1_piodma: dma-controller@595010000 { + compatible = "apple,t6030-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x95010000 0x0 0x4000>, + <0x5 0x95014000 0x0 0x4000>, + <0x5 0x95018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_1 15>; + status = "disabled"; + }; + + apcie0_piodma: dma-controller@594010000 { + compatible = "apple,t6030-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x94010000 0x0 0x4000>, + <0x5 0x94014000 0x0 0x4000>, + <0x5 0x94018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_0 15>; + status = "disabled"; + }; + + apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6030-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&usb4_0_pcie_dart 15>; + status = "disabled"; + }; + + atc0_dpin0: displayport@701e50000 { + compatible = "apple,t6030-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc0_dpin1: displayport@701e58000 { + compatible = "apple,t6030-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6030-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pciec1_dart 15>; + status = "disabled"; + }; + + atc1_dpin0: displayport@b01e50000 { + compatible = "apple,t6030-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin1: displayport@b01e58000 { + compatible = "apple,t6030-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6030-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pciec2_dart 15>; + status = "disabled"; + }; + + atc2_dpin0: displayport@f01e50000 { + compatible = "apple,t6030-dpin", "apple,dpin"; + reg = <0xf 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc2_dpin1: displayport@f01e58000 { + compatible = "apple,t6030-dpin", "apple,dpin"; + reg = <0xf 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + mcc: memory-controller@3503c0000 { + compatible = "apple,t6030-mcc", "apple,mcc"; + reg = <0x3 0x503c0000 0x0 0x20000>, + <0x3 0x50478000 0x0 0x149c>, + <0x3 0x50780000 0x0 0x4000>, + <0x2 0x20000000 0x0 0x2000000>, + <0x2 0x22000000 0x0 0x2000000>; + status = "disabled"; + }; + + error_handler: error-handler@29cc40000 { + compatible = "apple,t6030-error-handler", "apple,soc-error-handler"; + reg = <0x2 0x9cc40000 0x0 0x40000>, + <0x3 0x50000000 0x0 0x7c000>, + <0x3 0x50700000 0x0 0xcc000>, + <0x3 0x642c8000 0x0 0x4000>, + <0x2 0x20000000 0x0 0x2000000>, + <0x2 0x22000000 0x0 0x2000000>, + <0x2 0x80000000 0x0 0x4000>, + <0x2 0xc0000000 0x0 0x4000>, + <0x3 0x00000000 0x0 0x4000>, + <0x3 0x80000000 0x0 0x4000>, + <0x2 0x59800000 0x0 0x40000>, + <0x2 0x59c00000 0x0 0x40000>, + <0x2 0x5a000000 0x0 0x40000>, + <0x2 0x5a400000 0x0 0x40000>, + <0x2 0x4fc00000 0x0 0x40000>, + <0x2 0x50000000 0x0 0x40000>, + <0x2 0x50100000 0x0 0x40000>, + <0x2 0x58800000 0x0 0x40000>, + <0x2 0x58c00000 0x0 0x40000>, + <0x2 0x59000000 0x0 0x40000>, + <0x2 0x59400000 0x0 0x40000>, + <0x2 0x4f400000 0x0 0x40000>, + <0x2 0x4f800000 0x0 0x40000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58432000 0x0 0x1000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + dwi: dwi@350200000 { + compatible = "apple,t6030-dwi", "apple,dwi"; + reg = <0x3 0x50200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + aes: crypto@28900c000 { + compatible = "apple,t6030-aes", "apple,aes"; + reg = <0x2 0x8900c000 0x0 0x4000>, + <0x3 0x642dc000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&sio_dart 1>; + status = "disabled"; + }; + + event_log_handler: event-log@350700000 { + compatible = "apple,t6030-event-log", "apple,soc-event-log"; + reg = <0x3 0x50700000 0x0 0xcc000>, + <0x3 0x64280000 0x0 0x80000>, + <0x3 0x50000000 0x0 0x70000>, + <0x3 0x64200000 0x0 0x7c000>, + <0x3 0x50290000 0x0 0x4000>, + <0x3 0x50294000 0x0 0x4000>, + <0x3 0x50298000 0x0 0x4000>, + <0x3 0x5029c000 0x0 0x4000>, + <0x3 0x5028c000 0x0 0x4000>, + <0x3 0x50280000 0x0 0x8000>, + <0x3 0x09868000 0x0 0x4000>, + <0x3 0x09838000 0x0 0x8000>, + <0x3 0x50340000 0x0 0x8000>, + <0x3 0x50350000 0x0 0x8000>, + <0x3 0x50270000 0x0 0x8000>, + <0x3 0x50440000 0x0 0x4000>, + <0x3 0x50444000 0x0 0x4000>, + <0x3 0x64080000 0x0 0x4000>, + <0x3 0x503f0000 0x0 0x4000>, + <0x3 0x503f4000 0x0 0x4000>, + <0x3 0x503f8000 0x0 0x4000>, + <0x3 0x50400000 0x0 0x1c000>, + <0x3 0x09918000 0x0 0x4000>, + <0x2 0x90e80000 0x0 0x30000>, + <0x2 0x90eb0000 0x0 0x4000>, + <0x2 0x90e5c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + rsm: rsm@364325000 { + compatible = "apple,t6030-rsm", "apple,rsm"; + reg = <0x3 0x64325000 0x0 0x4000>, + <0x3 0x643c0000 0x0 0x4>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&dart_rsm 0>; + status = "disabled"; + }; + + usb_otg0: usb@702100000 { + compatible = "apple,t6030-usb2-otg", "apple,usb2-otg"; + reg = <0x7 0x02100000 0x0 0x1000>, + <0x7 0x02a84000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc0_usb>; + iommus = <&dwc3_0_dart_0 1>, <&dwc3_0_dart_1 1>; + phys = <&atcphy0 PHY_TYPE_USB2>; + phy-names = "usb2-phy"; + status = "disabled"; + }; + + scaler0: scaler@391000000 { + compatible = "apple,t6030-scaler", "apple,scaler"; + reg = <0x3 0x91000000 0x0 0x30000>, + <0x3 0x91210000 0x0 0x4000>, + <0x3 0x91204000 0x0 0x4000>, + <0x3 0x90000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr>, <&ps_msr_ase_core>; + iommus = <&dart_scaler 0>, <&dart_scaler 1>; + status = "disabled"; + }; + + jpeg0: jpeg@299000000 { + compatible = "apple,t6030-jpeg", "apple,jpeg"; + reg = <0x2 0x99000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + iommus = <&dart_jpeg0 0>; + status = "disabled"; + }; + + jpeg1: jpeg@299008000 { + compatible = "apple,t6030-jpeg", "apple,jpeg"; + reg = <0x2 0x99008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + iommus = <&dart_jpeg1 0>; + status = "disabled"; + }; + + ave: video-encoder@2cd100000 { + compatible = "apple,t6030-ave", "apple,ave"; + reg = <0x2 0xcd100000 0x0 0x45c000>, + <0x2 0xcd800000 0x0 0x800000>, + <0x2 0xcd050000 0x0 0x4000>, + <0x3 0x507003d0 0x0 0x7c54>, + <0x2 0xcc000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc_sys>, <&ps_venc_pipe4>, <&ps_venc_pipe5>, <&ps_venc_me0>, <&ps_venc_me1>, <&ps_venc_dma>; + iommus = <&dart_ave0 0>, <&dart_ave1 0>; + status = "disabled"; + }; + + apr: video-codec@30d000000 { + compatible = "apple,t6030-prores", "apple,prores"; + reg = <0x3 0x0d000000 0x0 0x4000>, + <0x3 0x0c000000 0x0 0x8000>, + <0x3 0x0d078000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_scodec>; + iommus = <&dart_apr0 1>, <&dart_apr1 1>; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t6030-usb4.dtsi b/arch/arm64/boot/dts/apple/t6030-usb4.dtsi index ffd7aad690033..9aeb0c2c86bc7 100644 --- a/arch/arm64/boot/dts/apple/t6030-usb4.dtsi +++ b/arch/arm64/boot/dts/apple/t6030-usb4.dtsi @@ -131,4 +131,3 @@ &usb4_0_acio { apple,pcie-tunnel = <&usb4_0_pcie_tunnel>; }; - diff --git a/arch/arm64/boot/dts/apple/t6030.dtsi b/arch/arm64/boot/dts/apple/t6030.dtsi index 59deb4d59aa95..020be8f5a9a83 100644 --- a/arch/arm64/boot/dts/apple/t6030.dtsi +++ b/arch/arm64/boot/dts/apple/t6030.dtsi @@ -2141,12 +2141,7 @@ power-domains = <&ps_atc2_usb>; }; - /* - * ATC3 has no USB-C connector; boards use it as a four-lane - * DisplayPort PHY for the HDMI port. Only its core window is - * described, so the PHY driver runs it DisplayPort-only and never - * touches the USB2 or PIPE blocks. - */ + /* No USB-C port: a DisplayPort-only PHY for HDMI (core window only). */ atcphy3: phy@1303000000 { compatible = "apple,t6030-atcphy", "apple,t8122-atcphy"; reg = <0x13 0x03000000 0x0 0x4c000>; @@ -2177,3 +2172,19 @@ #include "t6030-gpu.dtsi" #include "t6030-usb4.dtsi" #include "t6030-dcp.dtsi" + +#include "t6030-peripherals.dtsi" + +#include "t6030-peripheral-buses.dtsi" + +#include "t6030-coprocessors.dtsi" + +#include "t6030-misc-interfaces.dtsi" + +&smc_hwmon { + /* Not yet checked on hardware; absent firmware keys are skipped. */ + apple,soc-die-keys = "Tf04", "Tf09", "Tf0A", "Tf0B", "Tf0D", + "Tf0E", "Tf14", "Tf18", "Tf19", "Tf1A", + "Tf24", "Tf25", "Tf2A", "Tf2B"; + apple,thermal-pressure-key = "mTPL"; +}; diff --git a/arch/arm64/boot/dts/apple/t6031-coprocessors.dtsi b/arch/arm64/boot/dts/apple/t6031-coprocessors.dtsi new file mode 100644 index 0000000000000..0db0e1cac83d8 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6031-coprocessors.dtsi @@ -0,0 +1,67 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled coprocessor interfaces; firmware handoff remains a loader job. */ + +&soc { + sep_dart: iommu@388ac0000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x3 0x88ac0000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + sep_mbox: mailbox@38a408000 { + compatible = "apple,t6031-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x8a408000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_sep>; + status = "disabled"; + }; + + sep: sep@38a400000 { + compatible = "apple,t6031-sep", "apple,sep"; + reg = <0x3 0x8a400000 0 0x6c000>, + <0x3 0x8a050000 0 0x4000>; + mboxes = <&sep_mbox>; + mbox-names = "mbox"; + iommus = <&sep_dart 0>; + power-domains = <&ps_sep>; + status = "disabled"; + }; + + sio_mbox: mailbox@391c08000 { + compatible = "apple,t6031-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x91c08000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_sio_cpu>; + status = "disabled"; + }; + + sio: dma-controller@391c00000 { + compatible = "apple,t6031-sio", "apple,sio"; + reg = <0x3 0x91c00000 0 0x6c000>, + <0x3 0x91850000 0 0x4000>; + mboxes = <&sio_mbox>; + #dma-cells = <1>; + dma-channels = <128>; + iommus = <&sio_dart 0>; + power-domains = <&ps_sio_cpu>; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t6031-dcp.dtsi b/arch/arm64/boot/dts/apple/t6031-dcp.dtsi index f679c57b97709..089eb0fc6ce2f 100644 --- a/arch/arm64/boot/dts/apple/t6031-dcp.dtsi +++ b/arch/arm64/boot/dts/apple/t6031-dcp.dtsi @@ -1,23 +1,9 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * T6031 internal display. - * - * The same description as t6030-dcp.dtsi: the DCP, its mailbox, the two - * display DARTs, the display subsystem and its PIODMA stream. The T6031 - * display block is the T6030 block at 0x3_8400_0000 instead of - * 0x2_8c00_0000, with every offset inside it unchanged. Addresses, - * interrupts and DART windows are those of the J516C ADT. - * - * Every node stays status = "disabled". The display gate enables the DCP, - * its mailbox, the two DARTs and the display subsystem only when the boot - * loader has set apple,t6031-handoff = <1> and the native display is - * requested: by default on the J516C, with apple_t6031_display.enable=1 on - * the other boards, never with apple_t6031_display.enable=0. Compatibles are t6031-specific, - * so a kernel that does not know them leaves the nodes unbound. - * - * Only the T6031 board files include this file: t6034.dtsi includes - * t6031.dtsi, and none of this is known to hold on T6034. - * The panel child is board-specific and is added by the board file. + * T6031 internal display: the T6030 block at 0x3_8400_0000, from the J516C + * ADT. Every node stays disabled until the display gate takes them over + * after the boot loader's handoff (apple,t6031-handoff); the gate acts only + * on apple,t6031 machines, so they stay disabled on T6034. */ / { @@ -81,11 +67,7 @@ status = "disabled"; }; - /* - * The DCP's ADT clock gate depends on both DISP_CPU and DISP_FE, and - * on T6031 DISP_FE is the child of DISP_CPU: DISP_FE keeps all three - * display power states on. - */ + /* DISP_FE, a child of DISP_CPU, keeps all three display states on. */ dcp: dcp@386c00000 { compatible = "apple,t6031-dcp"; mboxes = <&dcp_mbox>; @@ -114,25 +96,18 @@ iommus = <&disp0_dart 4>; }; }; - }; -/* - * The display gate adds the PMP only on display power states the boot - * loader leaves on; the power state driver does not read this. - */ +/* Left on by the boot loader; read by the display gate only. */ &ps_disp_sys { - /* The bootloader leaves the internal display powered. */ apple,inherited-on; }; &ps_disp_fe { - /* The bootloader leaves the internal display powered. */ apple,inherited-on; }; &ps_disp_cpu { - /* The bootloader leaves the internal display powered. */ apple,inherited-on; }; diff --git a/arch/arm64/boot/dts/apple/t6031-gpu.dtsi b/arch/arm64/boot/dts/apple/t6031-gpu.dtsi index f3582e459a0f3..e36aff101612d 100644 --- a/arch/arm64/boot/dts/apple/t6031-gpu.dtsi +++ b/arch/arm64/boot/dts/apple/t6031-gpu.dtsi @@ -1,20 +1,8 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * Apple T6031 (M3 Max / G15C) GPU description. - * - * The register ranges and interrupts come from the J516C iBoot ADT: /arm-io - * maps child 0 to 0x2_0000_0000 here, so sgx is at 0x4_0800_0000 and gfx-asc - * at sgx + 0x240_0000, the T6030 offset. The GPU and its mailbox stay - * disabled. - * - * The rest of the description is each machine's, and the boot loader fills it - * from its ADT when it hands the GPU over, as on T8122: the operating points - * (one opp-microvolt cell per cluster, four clusters, and a power each), the - * CS and AFR operating points, the leakage and power-management coefficients, - * the firmware version, the UAT regions below, and the firmware segments, - * which it adds itself as the "fw-text" and "fw-data" memory regions. It - * enables the mailbox and then the GPU node last. Nothing here has a T6030 - * value copied into it. + * Apple T6031 (M3 Max / G15C) GPU, from the J516C ADT. The boot loader fills + * in this machine's performance states, coefficients, firmware version and + * memory, enables the mailbox and then the GPU. */ / { @@ -25,12 +13,7 @@ gpu_opp: opp-table-gpu { compatible = "operating-points-v2"; - /* - * Placeholder only. The boot loader deletes these children and - * creates one OPP per performance state, with one opp-microvolt - * cell per cluster (the four per-cluster voltage tables of the - * ADT) and opp-microwatt. Until then every value is zero. - */ + /* Placeholder; the boot loader writes one OPP per state, per cluster. */ opp00 { opp-hz = /bits/ 64 <0>; opp-microvolt = <0 0 0 0>; @@ -38,11 +21,7 @@ }; }; - /* - * CS and AFR clock domains (ADT cs-perf-states, afr-perf-states). - * Placeholders with one opp-microvolt cell (one die); the boot loader - * replaces the children. - */ + /* CS and AFR clock domains; placeholders the boot loader replaces. */ gpu_cs_opp: opp-table-gpu-cs { compatible = "operating-points-v2"; @@ -62,11 +41,7 @@ }; reserved-memory { - /* - * Filled and enabled by the boot loader from the ADT sgx - * gpu-region-*, gfx-shared-region-*, gfx-handoff-* and - * gfx-shared-l2-region-* properties. Disabled until then. - */ + /* Filled and enabled by the boot loader; disabled while empty. */ uat_ttbs: uat-ttbs@10 { reg = <0 0x10 0 0>; status = "disabled"; @@ -104,12 +79,8 @@ , , ; - /* "gfx" (pmgr_gfx + 0x110), whose parent is afr. */ power-domains = <&ps_gfx>; - /* - * Do not hold back the ps_gfx sync_state() on this device when it - * never probes, as on the T6030 and T8122. - */ + /* Do not hold back ps_gfx sync_state() if the GPU never probes. */ post-init-providers = <&ps_gfx>; mboxes = <&agx_mbox>; memory-region = <&uat_ttbs>, <&uat_pagetables>, @@ -131,11 +102,8 @@ }; /* - * The ASC mailbox at asc + 0x8000. The ADT lists the gfx-asc interrupts - * as 1244, 1243, 1246, 1245; in mailbox order they are 1243..1246, the - * same swap as on T8122. Like the T6030 and T8122 ones it carries no - * asc-mailbox-v4 fallback, so a kernel without M3 Max GPU support - * leaves it unbound even after the boot loader has enabled it. + * The ADT lists 1244, 1243, 1246, 1245, swapped as on T8122. No + * asc-mailbox-v4 fallback: unbound without M3 Max GPU support. */ agx_mbox: mbox@40a408000 { compatible = "apple,t6031-agx-asc-mailbox"; diff --git a/arch/arm64/boot/dts/apple/t6031-j514c.dts b/arch/arm64/boot/dts/apple/t6031-j514c.dts index 2d9389e529612..e2c32d03e7318 100644 --- a/arch/arm64/boot/dts/apple/t6031-j514c.dts +++ b/arch/arm64/boot/dts/apple/t6031-j514c.dts @@ -30,10 +30,7 @@ brcm,board-type = "apple,texa"; }; -/* - * The J514S values (t6030-j514s.dts): the same chassis and panel. - * Not yet read from a J514C. - */ +/* The J514S panel: the same chassis. Not yet read from a J514C. */ &dcp { panel: panel { compatible = "apple,panel-j514", "apple,panel-mini-led", "apple,panel"; @@ -59,11 +56,19 @@ model = "MacBook Pro J514"; }; -&smc_hwmon { - /* Assumed to match J516c; unavailable firmware keys are skipped. */ - apple,soc-die-keys = "Tf04", "Tf06", "Tf09", "Tf0A", "Tf0B", - "Tf14", "Tf16", "Tf19", "Tf1A", "Tf1B", - "Tf24", "Tf26", "Tf29", "Tf2A", "Tf2B", - "Tf34", "Tf36", "Tf39", "Tf3A", "Tf3B", - "Tf44", "Tf46", "Tf49", "Tf4A", "Tf4B"; + +&i2c4 { + sd_card_control: card-control@20 { + compatible = "apple,t6031-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&i2c8 { + display_pcon: display-converter@8 { + compatible = "apple,t6031-display-pcon", "apple,display-pcon"; + reg = <0x8>; + status = "disabled"; + }; }; diff --git a/arch/arm64/boot/dts/apple/t6031-j516c.dts b/arch/arm64/boot/dts/apple/t6031-j516c.dts index c2c4324c8b68d..d68ee5a6c84b9 100644 --- a/arch/arm64/boot/dts/apple/t6031-j516c.dts +++ b/arch/arm64/boot/dts/apple/t6031-j516c.dts @@ -30,10 +30,7 @@ brcm,board-type = "apple,jura"; }; -/* - * The J516S values (t6030-j516s.dts): the same chassis and panel. - * Not yet read from a J516C. - */ +/* The J516S panel: the same chassis. Not yet read from a J516C. */ &dcp { panel: panel { compatible = "apple,panel-j516", "apple,panel-mini-led", "apple,panel"; @@ -59,11 +56,19 @@ model = "MacBook Pro J516"; }; -&smc_hwmon { - /* M3 Max die keys; unavailable firmware keys are skipped. */ - apple,soc-die-keys = "Tf04", "Tf06", "Tf09", "Tf0A", "Tf0B", - "Tf14", "Tf16", "Tf19", "Tf1A", "Tf1B", - "Tf24", "Tf26", "Tf29", "Tf2A", "Tf2B", - "Tf34", "Tf36", "Tf39", "Tf3A", "Tf3B", - "Tf44", "Tf46", "Tf49", "Tf4A", "Tf4B"; + +&i2c4 { + sd_card_control: card-control@20 { + compatible = "apple,t6031-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&i2c8 { + display_pcon: display-converter@8 { + compatible = "apple,t6031-display-pcon", "apple,display-pcon"; + reg = <0x8>; + status = "disabled"; + }; }; diff --git a/arch/arm64/boot/dts/apple/t6031-misc-interfaces.dtsi b/arch/arm64/boot/dts/apple/t6031-misc-interfaces.dtsi new file mode 100644 index 0000000000000..9792325980175 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6031-misc-interfaces.dtsi @@ -0,0 +1,62 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled tunnel translation and miscellaneous interfaces. */ + +&soc { + pciec0_dart: iommu@721008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x7 0x21008000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc0_cio_pcie>; + status = "disabled"; + }; + + pciec1_dart: iommu@b21008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0xb 0x21008000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc1_cio_pcie>; + status = "disabled"; + }; + + pciec2_dart: iommu@f21008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0xf 0x21008000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc2_cio_pcie>; + status = "disabled"; + }; + + atcphy0_xbar: mux@70304c000 { + compatible = "apple,t6031-display-crossbar", + "apple,t6020-display-crossbar"; + reg = <0x7 0x0304c000 0 0x4000>; + #mux-control-cells = <1>; + power-domains = <&ps_atc0_usb>; + status = "disabled"; + }; + + atcphy1_xbar: mux@b0304c000 { + compatible = "apple,t6031-display-crossbar", + "apple,t6020-display-crossbar"; + reg = <0xb 0x0304c000 0 0x4000>; + #mux-control-cells = <1>; + power-domains = <&ps_atc1_usb>; + status = "disabled"; + }; + + atcphy2_xbar: mux@f0304c000 { + compatible = "apple,t6031-display-crossbar", + "apple,t6020-display-crossbar"; + reg = <0xf 0x0304c000 0 0x4000>; + #mux-control-cells = <1>; + power-domains = <&ps_atc2_usb>; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t6031-peripheral-buses.dtsi b/arch/arm64/boot/dts/apple/t6031-peripheral-buses.dtsi new file mode 100644 index 0000000000000..ad77a9f1a62b8 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6031-peripheral-buses.dtsi @@ -0,0 +1,162 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Unclaimed T6031 peripheral buses. */ + +&soc { + spi2: spi@391108000 { + compatible = "apple,t6031-spi", "apple,t8103-spi"; + reg = <0x3 0x91108000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clk_200m>; + power-domains = <&ps_spi2>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi4: spi@391110000 { + compatible = "apple,t6031-spi", "apple,t8103-spi"; + reg = <0x3 0x91110000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clk_200m>; + power-domains = <&ps_spi4>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + qspi: spi@391118000 { + compatible = "apple,t6031-qspi", "apple,qspi"; + reg = <0x3 0x91118000 0 0x4800>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clk_200m>; + power-domains = <&ps_qspi>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + nub_spmi1: spmi@2a1054000 { + compatible = "apple,t6031-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa1054000 0 0x4000>, + <0x2 0xa1044000 0 0x4000>, + <0x2 0xa1040000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + nub_spmi2: spmi@2a1094000 { + compatible = "apple,t6031-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa1094000 0 0x4000>, + <0x2 0xa1084000 0 0x4000>, + <0x2 0xa1080000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + nub_spmi3: spmi@2a10d4000 { + compatible = "apple,t6031-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa10d4000 0 0x4000>, + <0x2 0xa10c4000 0 0x4000>, + <0x2 0xa10c0000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + nub_spmi4: spmi@2a1114000 { + compatible = "apple,t6031-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa1114000 0 0x4000>, + <0x2 0xa1104000 0 0x4000>, + <0x2 0xa1100000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + aop_spmi0: spmi@2a8894000 { + compatible = "apple,t6031-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa8894000 0 0x4000>, + <0x2 0xa8884000 0 0x4000>, + <0x2 0xa8880000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + aop_spmi1: spmi@2a88d4000 { + compatible = "apple,t6031-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa88d4000 0 0x4000>, + <0x2 0xa88c4000 0 0x4000>, + <0x2 0xa88c0000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + atcphy3: phy@1303000000 { + compatible = "apple,t6031-atcphy", "apple,t8122-atcphy"; + reg = <0x13 0x03000000 0 0x4c000>; + reg-names = "core"; + #phy-cells = <1>; + #reset-cells = <0>; + orientation-switch; + mode-switch; + power-domains = <&ps_atc3_common>; + status = "disabled"; + }; + + atcphy3_xbar: mux@130304c000 { + compatible = "apple,t6031-display-crossbar", + "apple,t6020-display-crossbar"; + reg = <0x13 0x0304c000 0 0x4000>; + #mux-control-cells = <1>; + power-domains = <&ps_atc3_usb>; + status = "disabled"; + }; + +}; + +&soc { + nub_spmi_a2: spmi@2a11a8000 { + compatible = "apple,t6031-spmi", "apple,t8103-spmi"; + reg = <0x2 0xa11a8000 0 0x4000>, + <0x2 0xa11a4000 0 0x4000>, + <0x2 0xa11a0000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6031-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6031-peripherals.dtsi new file mode 100644 index 0000000000000..e4027e2188c3b --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6031-peripherals.dtsi @@ -0,0 +1,878 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T6031 hardware interfaces. Keep unclaimed engines disabled. */ + +&soc { + dart_rsm: iommu@2a033c000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xa033c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_scaler0: iommu@407200000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x4 0x07200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_msr0>; + status = "disabled"; + }; + + dart_scaler1: iommu@3c7200000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x3 0xc7200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_msr1>; + status = "disabled"; + }; + + dart_apr00: iommu@2c5028000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xc5028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_scodec>; + status = "disabled"; + }; + + dart_apr01: iommu@2c502c000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xc502c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_scodec>; + status = "disabled"; + }; + + dart_apr1: iommu@287008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0x87008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_prores>; + status = "disabled"; + }; + + dart_jpeg0: iommu@2cf004000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xcf004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_jpg>; + status = "disabled"; + }; + + dart_jpeg1: iommu@2cf00c000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xcf00c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_jpg>; + status = "disabled"; + }; + + dart_ave00: iommu@285030000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0x85030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_venc0_sys>; + status = "disabled"; + }; + + dart_ave01: iommu@285040000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0x85040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_venc0_sys>; + status = "disabled"; + }; + + dart_ave02: iommu@285020000 { + compatible = "apple,t6031-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0x85020000 0x0 0x4000>; + status = "disabled"; + }; + + dart_ave03: filter@285044000 { + compatible = "apple,t6031-dapf", "apple,dapf"; + reg = <0x2 0x85044000 0x0 0x4000>; + status = "disabled"; + }; + + dart_ave10: iommu@3c5030000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x3 0xc5030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_venc1_sys>; + status = "disabled"; + }; + + dart_ave11: iommu@3c5040000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x3 0xc5040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_venc1_sys>; + status = "disabled"; + }; + + dart_ave12: iommu@3c5020000 { + compatible = "apple,t6031-dart-smmu", "apple,dart-smmu"; + reg = <0x3 0xc5020000 0x0 0x4000>; + status = "disabled"; + }; + + dart_ave13: filter@3c5044000 { + compatible = "apple,t6031-dapf", "apple,dapf"; + reg = <0x3 0xc5044000 0x0 0x4000>; + status = "disabled"; + }; + + dart_mtp_companion1: filter@2ac80c000 { + compatible = "apple,t6031-dapf", "apple,dapf"; + reg = <0x2 0xac80c000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp0_companion3: iommu@38e4b0000 { + compatible = "apple,t6031-dart-smmu", "apple,dart-smmu"; + reg = <0x3 0x8e4b0000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp0_companion4: iommu@38e4b8000 { + compatible = "apple,t6031-dart-smmu", "apple,dart-smmu"; + reg = <0x3 0x8e4b8000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp0_companion5: filter@38e4ac000 { + compatible = "apple,t6031-dapf", "apple,dapf"; + reg = <0x3 0x8e4ac000 0x0 0x4000>; + status = "disabled"; + }; + + dart_aop_companion1: filter@2a881c000 { + compatible = "apple,t6031-dapf", "apple,dapf"; + reg = <0x2 0xa881c000 0x0 0x4000>; + status = "disabled"; + }; + + dart_disp0_companion1: iommu@385300000 { + compatible = "apple,t6031-dart-smmu", "apple,dart-smmu"; + reg = <0x3 0x85300000 0x0 0x4000>; + status = "disabled"; + }; + + dart_ane0_companion3: filter@3c9804000 { + compatible = "apple,t6031-dapf", "apple,dapf"; + reg = <0x3 0xc9804000 0x0 0x4000>; + status = "disabled"; + }; + + dart_dispext0_companion1: iommu@305300000 { + compatible = "apple,t6031-dart-smmu", "apple,dart-smmu"; + reg = <0x3 0x05300000 0x0 0x4000>; + status = "disabled"; + }; + + dart_dispext1_companion1: iommu@449300000 { + compatible = "apple,t6031-dart-smmu", "apple,dart-smmu"; + reg = <0x4 0x49300000 0x0 0x4000>; + status = "disabled"; + }; + + dart_dispext2_companion1: iommu@44d300000 { + compatible = "apple,t6031-dart-smmu", "apple,dart-smmu"; + reg = <0x4 0x4d300000 0x0 0x4000>; + status = "disabled"; + }; + + dart_dispext3_companion1: iommu@2c9300000 { + compatible = "apple,t6031-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0xc9300000 0x0 0x4000>; + status = "disabled"; + }; + + apcie0_piodma: dma-controller@594010000 { + compatible = "apple,t6031-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x94010000 0x0 0x4000>, + <0x5 0x94014000 0x0 0x4000>, + <0x5 0x94018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_0 15>; + status = "disabled"; + }; + + apcie1_piodma: dma-controller@595010000 { + compatible = "apple,t6031-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x95010000 0x0 0x4000>, + <0x5 0x95014000 0x0 0x4000>, + <0x5 0x95018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_1 15>; + status = "disabled"; + }; + + apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6031-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pciec0_dart 15>; + status = "disabled"; + }; + + apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6031-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pciec1_dart 15>; + status = "disabled"; + }; + + apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6031-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pciec2_dart 15>; + status = "disabled"; + }; + + atc0_dpin0: displayport@701e50000 { + compatible = "apple,t6031-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc0_dpin1: displayport@701e58000 { + compatible = "apple,t6031-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin0: displayport@b01e50000 { + compatible = "apple,t6031-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin1: displayport@b01e58000 { + compatible = "apple,t6031-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc2_dpin0: displayport@f01e50000 { + compatible = "apple,t6031-dpin", "apple,dpin"; + reg = <0xf 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc2_dpin1: displayport@f01e58000 { + compatible = "apple,t6031-dpin", "apple,dpin"; + reg = <0xf 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + mcc: memory-controller@2903c0000 { + compatible = "apple,t6031-mcc", "apple,mcc"; + reg = <0x2 0x903c0000 0x0 0x20000>, + <0x2 0x904d0000 0x0 0x149c>, + <0x2 0x92818000 0x0 0x4000>, + <0x2 0x20000000 0x0 0x2000000>, + <0x2 0x22000000 0x0 0x2000000>, + <0x2 0x24000000 0x0 0x2000000>, + <0x2 0x26000000 0x0 0x2000000>, + <0x2 0x28000000 0x0 0x2000000>, + <0x2 0x2a000000 0x0 0x2000000>, + <0x2 0x2c000000 0x0 0x2000000>, + <0x2 0x2e000000 0x0 0x2000000>; + status = "disabled"; + }; + + error_handler: error-handler@388c40000 { + compatible = "apple,t6031-error-handler", "apple,soc-error-handler"; + reg = <0x3 0x88c40000 0x0 0x40000>, + <0x2 0x90000000 0x0 0x80000>, + <0x2 0x92800000 0x0 0x1e0000>, + <0x2 0xa02dc000 0x0 0x4000>, + <0x2 0x20000000 0x0 0x2000000>, + <0x2 0x22000000 0x0 0x2000000>, + <0x2 0x24000000 0x0 0x2000000>, + <0x2 0x26000000 0x0 0x2000000>, + <0x2 0x28000000 0x0 0x2000000>, + <0x2 0x2a000000 0x0 0x2000000>, + <0x2 0x2c000000 0x0 0x2000000>, + <0x2 0x2e000000 0x0 0x2000000>, + <0x2 0x80000000 0x0 0x4000>, + <0x3 0x00000000 0x0 0x4000>, + <0x3 0x40000000 0x0 0x4000>, + <0x3 0x80000000 0x0 0x4000>, + <0x2 0xc0000000 0x0 0x4000>, + <0x3 0xc0000000 0x0 0x4000>, + <0x4 0x00000000 0x0 0x4000>, + <0x4 0x40000000 0x0 0x4000>, + <0x2 0xa0000000 0x0 0x20000>, + <0x2 0x902c0000 0x0 0x18000>, + <0x2 0xa4800000 0x0 0x4000>, + <0x2 0x59c00000 0x0 0x40000>, + <0x2 0x5a000000 0x0 0x40000>, + <0x2 0x64400000 0x0 0x40000>, + <0x2 0x64000000 0x0 0x40000>, + <0x2 0x67000000 0x0 0x40000>, + <0x2 0x60400000 0x0 0x40000>, + <0x2 0x60800000 0x0 0x40000>, + <0x2 0x67400000 0x0 0x40000>, + <0x2 0x60c00000 0x0 0x40000>, + <0x2 0x61000000 0x0 0x40000>, + <0x2 0x61400000 0x0 0x40000>, + <0x2 0x4f800000 0x0 0x40000>, + <0x2 0x51800000 0x0 0x40000>, + <0x2 0x51c00000 0x0 0x40000>, + <0x2 0x4fc00000 0x0 0x40000>, + <0x2 0x52000000 0x0 0x40000>, + <0x4 0x0b180000 0x0 0x18000>, + <0x4 0x0b1a0000 0x0 0x18000>, + <0x4 0x0b380000 0x0 0x18000>, + <0x4 0x0b3a0000 0x0 0x18000>, + <0x4 0x0b000000 0x0 0x18000>, + <0x4 0x0b200000 0x0 0x18000>, + <0x4 0x0b080000 0x0 0x18000>, + <0x4 0x0b280000 0x0 0x18000>, + <0x4 0x0b600000 0x0 0x18000>, + <0x4 0x0b400000 0x0 0x18000>, + <0x4 0x0b680000 0x0 0x18000>, + <0x4 0x0b480000 0x0 0x18000>, + <0x4 0x0b040000 0x0 0x18000>, + <0x4 0x0b240000 0x0 0x18000>, + <0x4 0x0b0c0000 0x0 0x18000>, + <0x4 0x0b2c0000 0x0 0x18000>, + <0x4 0x0b640000 0x0 0x18000>, + <0x4 0x0b440000 0x0 0x18000>, + <0x4 0x0b6c0000 0x0 0x18000>, + <0x4 0x0b4c0000 0x0 0x18000>, + <0x2 0x59400000 0x0 0x40000>, + <0x2 0x5fc00000 0x0 0x40000>, + <0x2 0x63800000 0x0 0x40000>, + <0x2 0x66800000 0x0 0x40000>, + <0x2 0x59800000 0x0 0x40000>, + <0x2 0x60000000 0x0 0x40000>, + <0x2 0x63c00000 0x0 0x40000>, + <0x2 0x66c00000 0x0 0x40000>, + <0x2 0x4f400000 0x0 0x40000>, + <0x2 0x51400000 0x0 0x40000>, + <0x2 0x53c00000 0x0 0x40000>, + <0x2 0x56000000 0x0 0x40000>, + <0x2 0x54000000 0x0 0x40000>, + <0x2 0x56400000 0x0 0x40000>, + <0x2 0x54400000 0x0 0x40000>, + <0x2 0x56800000 0x0 0x40000>, + <0x2 0x53432000 0x0 0x1000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x51032000 0x0 0x1000>, + <0x2 0x55032000 0x0 0x1000>, + <0x2 0x53032000 0x0 0x1000>, + <0x2 0x55432000 0x0 0x1000>, + <0x2 0x5e832000 0x0 0x1000>, + <0x2 0x62832000 0x0 0x1000>, + <0x2 0x65832000 0x0 0x1000>, + <0x2 0x58432000 0x0 0x1000>, + <0x2 0x5ec32000 0x0 0x1000>, + <0x2 0x62c32000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x63032000 0x0 0x1000>, + <0x2 0x65c32000 0x0 0x1000>, + <0x2 0x58832000 0x0 0x1000>, + <0x2 0x58c32000 0x0 0x1000>, + <0x2 0x63432000 0x0 0x1000>, + <0x2 0x5f032000 0x0 0x1000>, + <0x2 0x66032000 0x0 0x1000>, + <0x2 0x5f432000 0x0 0x1000>, + <0x2 0x66432000 0x0 0x1000>, + <0x4 0x0b114000 0x0 0x1f000>, + <0x4 0x0b314000 0x0 0x1f000>, + <0x4 0x0b134000 0x0 0x1f000>, + <0x4 0x0b334000 0x0 0x1f000>, + <0x4 0x0b714000 0x0 0x1f000>, + <0x4 0x0b514000 0x0 0x1f000>, + <0x4 0x0b734000 0x0 0x1f000>, + <0x4 0x0b534000 0x0 0x1f000>, + <0x4 0x0b030000 0x0 0x4000>, + <0x4 0x0b230000 0x0 0x4000>, + <0x4 0x0b030000 0x0 0x4000>, + <0x4 0x0b230000 0x0 0x4000>, + <0x4 0x0b630000 0x0 0x4000>, + <0x4 0x0b430000 0x0 0x4000>, + <0x4 0x0b030000 0x0 0x4000>, + <0x4 0x0b230000 0x0 0x4000>, + <0x4 0x0b030000 0x0 0x4000>, + <0x4 0x0b230000 0x0 0x4000>, + <0x4 0x0b630000 0x0 0x4000>, + <0x4 0x0b430000 0x0 0x4000>, + <0x4 0x0b630000 0x0 0x4000>, + <0x4 0x0b430000 0x0 0x4000>, + <0x4 0x0b630000 0x0 0x4000>, + <0x4 0x0b430000 0x0 0x4000>, + <0x4 0x0b1e0000 0x0 0x4000>, + <0x4 0x0b3e0000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + power-domains = <&ps_gfx>; + status = "disabled"; + }; + + dwi: dwi@2929b0000 { + compatible = "apple,t6031-dwi", "apple,dwi"; + reg = <0x2 0x929b0000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + aes: crypto@39100c000 { + compatible = "apple,t6031-aes", "apple,aes"; + reg = <0x3 0x9100c000 0x0 0x4000>, + <0x2 0xa02a0000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&sio_dart 1>; + status = "disabled"; + }; + + event_log_handler: event-log@292800000 { + compatible = "apple,t6031-event-log", "apple,soc-event-log"; + reg = <0x2 0x92800000 0x0 0x8000>, + <0x2 0x92838000 0x0 0x4000>, + <0x2 0x92840000 0x0 0x10000>, + <0x2 0x928e0000 0x0 0x4000>, + <0x2 0x92850000 0x0 0x4000>, + <0x2 0x92880000 0x0 0x1c000>, + <0x2 0x92980000 0x0 0x18000>, + <0x2 0x929a0000 0x0 0x4000>, + <0x2 0x928c0000 0x0 0x4000>, + <0x2 0x92960000 0x0 0x1c000>, + <0x2 0x929c0000 0x0 0xc000>, + <0x2 0x92280000 0x0 0x10000>, + <0x2 0x92294000 0x0 0x4000>, + <0x2 0x922b8000 0x0 0x8000>, + <0x2 0x922ac000 0x0 0x4000>, + <0x2 0x90000000 0x0 0x80000>, + <0x2 0xa0280000 0x0 0x10000>, + <0x2 0xa029c000 0x0 0x4000>, + <0x2 0xa02c0000 0x0 0x10000>, + <0x2 0xa02d0000 0x0 0x4000>, + <0x2 0xa02d4000 0x0 0x4000>, + <0x2 0xa02d8000 0x0 0x4000>, + <0x2 0xa02e4000 0x0 0x4000>, + <0x2 0xa0200000 0x0 0x80000>, + <0x2 0x9020c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + aon_ptd: interrupt-controller@2a4dc0000 { + compatible = "apple,t6031-aon-ptd", "apple,aon-ptd"; + reg = <0x2 0xa4dc0000 0x0 0x4000>, + <0x2 0xa4dd0000 0x0 0x4000>, + <0x2 0xa4dd8000 0x0 0x4000>, + <0x2 0xa4de0000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-controller; + #interrupt-cells = <1>; + #address-cells = <0>; + status = "disabled"; + }; + + rsm: rsm@2a0325000 { + compatible = "apple,t6031-rsm", "apple,rsm"; + reg = <0x2 0xa0325000 0x0 0x4000>, + <0x2 0xa03c0000 0x0 0x4>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_debug_gated>; + iommus = <&dart_rsm 0>; + status = "disabled"; + }; + + usb_otg0: usb@702100000 { + compatible = "apple,t6031-usb2-otg", "apple,usb2-otg"; + reg = <0x7 0x02100000 0x0 0x1000>, + <0x7 0x02a84000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc0_usb>; + iommus = <&dwc3_0_dart_0 1>, <&dwc3_0_dart_1 1>; + phys = <&atcphy0 PHY_TYPE_USB2>; + phy-names = "usb2-phy"; + status = "disabled"; + }; + + scaler0: scaler@407000000 { + compatible = "apple,t6031-scaler", "apple,scaler"; + reg = <0x4 0x07000000 0x0 0x30000>, + <0x4 0x07210000 0x0 0x4000>, + <0x4 0x07204000 0x0 0x4000>, + <0x4 0x06000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0>, <&ps_msr0_ase_core>; + iommus = <&dart_scaler0 0>, <&dart_scaler0 1>; + status = "disabled"; + }; + + scaler1: scaler@3c7000000 { + compatible = "apple,t6031-scaler", "apple,scaler"; + reg = <0x3 0xc7000000 0x0 0x30000>, + <0x3 0xc7210000 0x0 0x4000>, + <0x3 0xc7204000 0x0 0x4000>, + <0x3 0xc6000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr1>, <&ps_msr1_ase_core>; + iommus = <&dart_scaler1 0>, <&dart_scaler1 1>; + status = "disabled"; + }; + + apr0: video-codec@2c5000000 { + compatible = "apple,t6031-prores", "apple,prores"; + reg = <0x2 0xc5000000 0x0 0x4000>, + <0x2 0xc4000000 0x0 0x1000000>, + <0x2 0xc5078000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + iommus = <&dart_apr00 1>, <&dart_apr01 1>; + status = "disabled"; + }; + + apr1: video-codec@287000000 { + compatible = "apple,t6031-prores", "apple,prores"; + reg = <0x2 0x87000000 0x0 0x4000>, + <0x2 0x86000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + iommus = <&dart_apr1 0>; + status = "disabled"; + }; + + jpeg0: jpeg@2cf000000 { + compatible = "apple,t6031-jpeg", "apple,jpeg"; + reg = <0x2 0xcf000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + iommus = <&dart_jpeg0 0>; + status = "disabled"; + }; + + jpeg1: jpeg@2cf008000 { + compatible = "apple,t6031-jpeg", "apple,jpeg"; + reg = <0x2 0xcf008000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + iommus = <&dart_jpeg1 0>; + status = "disabled"; + }; + + ave0: video-encoder@285100000 { + compatible = "apple,t6031-ave", "apple,ave"; + reg = <0x2 0x85100000 0x0 0x45c000>, + <0x2 0x85800000 0x0 0x800000>, + <0x2 0x85050000 0x0 0x4000>, + <0x2 0x92800430 0x0 0x20c>, + <0x2 0x84000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc0_sys>, <&ps_venc0_pipe4>, <&ps_venc0_pipe5>, <&ps_venc0_me0>, <&ps_venc0_me1>, <&ps_venc0_dma>; + iommus = <&dart_ave00 0>, <&dart_ave01 0>; + status = "disabled"; + }; + + ave1: video-encoder@3c5100000 { + compatible = "apple,t6031-ave", "apple,ave"; + reg = <0x3 0xc5100000 0x0 0x45c000>, + <0x3 0xc5800000 0x0 0x800000>, + <0x3 0xc5050000 0x0 0x4000>, + <0x2 0x92280510 0x0 0x7b14>, + <0x3 0xc4000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc1_pipe4>, <&ps_venc1_pipe5>, <&ps_venc1_me0>, <&ps_venc1_me1>, <&ps_venc1_dma>; + iommus = <&dart_ave10 0>, <&dart_ave11 0>; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t6031.dtsi b/arch/arm64/boot/dts/apple/t6031.dtsi index 61b2423ad2490..10dcfc380d8c3 100644 --- a/arch/arm64/boot/dts/apple/t6031.dtsi +++ b/arch/arm64/boot/dts/apple/t6031.dtsi @@ -50,3 +50,20 @@ #undef DIE #undef DIE_NO #undef SOC_NODE + +#include "t6031-peripherals.dtsi" + +#include "t6031-peripheral-buses.dtsi" + +#include "t6031-coprocessors.dtsi" + +#include "t6031-misc-interfaces.dtsi" + +&smc_hwmon { + /* M3 Max die keys; absent firmware keys are skipped. */ + apple,soc-die-keys = "Tf04", "Tf06", "Tf09", "Tf0A", "Tf0B", + "Tf14", "Tf16", "Tf19", "Tf1A", "Tf1B", + "Tf24", "Tf26", "Tf29", "Tf2A", "Tf2B", + "Tf34", "Tf36", "Tf39", "Tf3A", "Tf3B", + "Tf44", "Tf46", "Tf49", "Tf4A", "Tf4B"; +}; diff --git a/arch/arm64/boot/dts/apple/t6032-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6032-peripherals.dtsi new file mode 100644 index 0000000000000..648e5abf92a71 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6032-peripherals.dtsi @@ -0,0 +1,861 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Unclaimed resources of both T6032 dies. */ + +&die0 { + ultra_dart_rsm0: iommu@2a033c000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xa033c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_scaler00: iommu@407200000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x4 0x07200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_scaler10: iommu@3c7200000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x3 0xc7200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_apr00: iommu@2c5028000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xc5028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_apr01: iommu@2c502c000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xc502c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_apr10: iommu@287008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0x87008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_jpeg00: iommu@2cf004000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xcf004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_jpeg10: iommu@2cf00c000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xcf00c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_ave00: iommu@285030000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0x85030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_ave01: iommu@285040000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0x85040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_ave02: iommu@285020000 { + compatible = "apple,t6032-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0x85020000 0x0 0x4000>; + status = "disabled"; + }; + + ultra_dart_ave03: filter@285044000 { + compatible = "apple,t6032-dapf", "apple,dapf"; + reg = <0x2 0x85044000 0x0 0x4000>; + status = "disabled"; + }; + + ultra_dart_ave10: iommu@3c5030000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x3 0xc5030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_ave11: iommu@3c5040000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x3 0xc5040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_ave12: iommu@3c5020000 { + compatible = "apple,t6032-dart-smmu", "apple,dart-smmu"; + reg = <0x3 0xc5020000 0x0 0x4000>; + status = "disabled"; + }; + + ultra_dart_ave13: filter@3c5044000 { + compatible = "apple,t6032-dapf", "apple,dapf"; + reg = <0x3 0xc5044000 0x0 0x4000>; + status = "disabled"; + }; + + ultra_dart_apciec00: iommu@721008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x7 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_apciec10: iommu@b21008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0xb 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_apciec20: iommu@f21008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0xf 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_apciec30: iommu@1321008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x13 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_apcie0_piodma: dma-controller@594010000 { + compatible = "apple,t6032-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x94010000 0x0 0x4000>, + <0x5 0x94014000 0x0 0x4000>, + <0x5 0x94018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_0 15>; + status = "disabled"; + }; + + ultra_apcie1_piodma: dma-controller@595010000 { + compatible = "apple,t6032-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x95010000 0x0 0x4000>, + <0x5 0x95014000 0x0 0x4000>, + <0x5 0x95018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart_1 15>; + status = "disabled"; + }; + + ultra_apcie2_piodma: dma-controller@596010000 { + compatible = "apple,t6032-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x96010000 0x0 0x4000>, + <0x5 0x96014000 0x0 0x4000>, + <0x5 0x96018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_apcie3_piodma: dma-controller@597010000 { + compatible = "apple,t6032-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x97010000 0x0 0x4000>, + <0x5 0x97014000 0x0 0x4000>, + <0x5 0x97018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6032-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&ultra_dart_apciec00 15>; + status = "disabled"; + }; + + ultra_apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6032-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&ultra_dart_apciec10 15>; + status = "disabled"; + }; + + ultra_apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6032-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&ultra_dart_apciec20 15>; + status = "disabled"; + }; + + ultra_apciec3_piodma: dma-controller@1322000000 { + compatible = "apple,t6032-pciec-piodma", "apple,pciec-piodma"; + reg = <0x13 0x22000000 0x0 0x4000>, + <0x13 0x22004000 0x0 0x4000>, + <0x13 0x22008000 0x0 0x4000>, + <0x13 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&ultra_dart_apciec30 15>; + status = "disabled"; + }; + + ultra_atc0_dpin0: displayport@701e50000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_atc0_dpin1: displayport@701e58000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_atc1_dpin0: displayport@b01e50000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_atc1_dpin1: displayport@b01e58000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_atc2_dpin0: displayport@f01e50000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0xf 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_atc2_dpin1: displayport@f01e58000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0xf 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_atc3_dpin0: displayport@1301e50000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0x13 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_atc3_dpin1: displayport@1301e58000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0x13 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_dwi: dwi@2929b0000 { + compatible = "apple,t6032-dwi", "apple,dwi"; + reg = <0x2 0x929b0000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + ultra_aes: crypto@39100c000 { + compatible = "apple,t6032-aes", "apple,aes"; + reg = <0x3 0x9100c000 0x0 0x4000>, + <0x2 0xa02a0000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&sio_dart 1>; + status = "disabled"; + }; + + ultra_aon_ptd: interrupt-controller@2a4dc0000 { + compatible = "apple,t6032-aon-ptd", "apple,aon-ptd"; + reg = <0x2 0xa4dc0000 0x0 0x4000>, + <0x2 0xa4dd0000 0x0 0x4000>, + <0x2 0xa4dd8000 0x0 0x4000>, + <0x2 0xa4de0000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-controller; + #interrupt-cells = <1>; + #address-cells = <0>; + status = "disabled"; + }; + + ultra_rsm: rsm@2a0325000 { + compatible = "apple,t6032-rsm", "apple,rsm"; + reg = <0x2 0xa0325000 0x0 0x4000>, + <0x2 0xa03c0000 0x0 0x4>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_debug_gated>; + iommus = <&ultra_dart_rsm0 0>; + status = "disabled"; + }; + + ultra_scaler0: scaler@407000000 { + compatible = "apple,t6032-scaler", "apple,scaler"; + reg = <0x4 0x07000000 0x0 0x30000>, + <0x4 0x07210000 0x0 0x4000>, + <0x4 0x07204000 0x0 0x4000>, + <0x4 0x06000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0>, <&ps_msr0_ase_core>; + iommus = <&ultra_dart_scaler00 0>, <&ultra_dart_scaler00 1>; + clocks = <&ultra_clocks 414>; + status = "disabled"; + }; + + ultra_scaler1: scaler@3c7000000 { + compatible = "apple,t6032-scaler", "apple,scaler"; + reg = <0x3 0xc7000000 0x0 0x30000>, + <0x3 0xc7210000 0x0 0x4000>, + <0x3 0xc7204000 0x0 0x4000>, + <0x3 0xc6000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr1>, <&ps_msr1_ase_core>; + iommus = <&ultra_dart_scaler10 0>, <&ultra_dart_scaler10 1>; + clocks = <&ultra_clocks 415>; + status = "disabled"; + }; + + ultra_apr0: video-codec@2c5000000 { + compatible = "apple,t6032-prores", "apple,prores"; + reg = <0x2 0xc5000000 0x0 0x4000>, + <0x2 0xc4000000 0x0 0x1000000>, + <0x2 0xc5078000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + iommus = <&ultra_dart_apr00 1>, <&ultra_dart_apr01 1>; + status = "disabled"; + }; + + ultra_apr1: video-codec@287000000 { + compatible = "apple,t6032-prores", "apple,prores"; + reg = <0x2 0x87000000 0x0 0x4000>, + <0x2 0x86000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + iommus = <&ultra_dart_apr10 0>; + status = "disabled"; + }; + + ultra_jpeg0: jpeg@2cf000000 { + compatible = "apple,t6032-jpeg", "apple,jpeg"; + reg = <0x2 0xcf000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + iommus = <&ultra_dart_jpeg00 0>; + clocks = <&ultra_clocks 350>, <&ultra_clocks 351>; + status = "disabled"; + }; + + ultra_jpeg1: jpeg@2cf008000 { + compatible = "apple,t6032-jpeg", "apple,jpeg"; + reg = <0x2 0xcf008000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + iommus = <&ultra_dart_jpeg10 0>; + clocks = <&ultra_clocks 350>, <&ultra_clocks 351>; + status = "disabled"; + }; + + ultra_ave0: video-encoder@285100000 { + compatible = "apple,t6032-ave", "apple,ave"; + reg = <0x2 0x85100000 0x0 0x45c000>, + <0x2 0x85800000 0x0 0x800000>, + <0x2 0x85050000 0x0 0x4000>, + <0x2 0x92800430 0x0 0x20c>, + <0x2 0x84000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc0_sys>, <&ps_venc0_pipe4>, <&ps_venc0_pipe5>, <&ps_venc0_me0>, <&ps_venc0_me1>, <&ps_venc0_dma>; + iommus = <&ultra_dart_ave00 0>, <&ultra_dart_ave01 0>; + status = "disabled"; + }; + + ultra_ave1: video-encoder@3c5100000 { + compatible = "apple,t6032-ave", "apple,ave"; + reg = <0x3 0xc5100000 0x0 0x45c000>, + <0x3 0xc5800000 0x0 0x800000>, + <0x3 0xc5050000 0x0 0x4000>, + <0x2 0x92280510 0x0 0x7b14>, + <0x3 0xc4000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc1_pipe4>, <&ps_venc1_pipe5>, <&ps_venc1_me0>, <&ps_venc1_me1>, <&ps_venc1_dma>; + iommus = <&ultra_dart_ave10 0>, <&ultra_dart_ave11 0>; + status = "disabled"; + }; + +}; + +&die1 { + ultra_dart_scaler20: iommu@407200000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x4 0x07200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_scaler30: iommu@3c7200000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x3 0xc7200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_apr20: iommu@2c5028000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xc5028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_apr21: iommu@2c502c000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xc502c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_apr30: iommu@287008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0x87008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_jpeg20: iommu@2cf004000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xcf004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_jpeg30: iommu@2cf00c000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0xcf00c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_ave20: iommu@285030000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0x85030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_ave21: iommu@285040000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x2 0x85040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_ave22: iommu@285020000 { + compatible = "apple,t6032-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0x85020000 0x0 0x4000>; + status = "disabled"; + }; + + ultra_dart_ave23: filter@285044000 { + compatible = "apple,t6032-dapf", "apple,dapf"; + reg = <0x2 0x85044000 0x0 0x4000>; + status = "disabled"; + }; + + ultra_dart_ave30: iommu@3c5030000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x3 0xc5030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_ave31: iommu@3c5040000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x3 0xc5040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_ave32: iommu@3c5020000 { + compatible = "apple,t6032-dart-smmu", "apple,dart-smmu"; + reg = <0x3 0xc5020000 0x0 0x4000>; + status = "disabled"; + }; + + ultra_dart_ave33: filter@3c5044000 { + compatible = "apple,t6032-dapf", "apple,dapf"; + reg = <0x3 0xc5044000 0x0 0x4000>; + status = "disabled"; + }; + + ultra_dart_apciec40: iommu@721008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0x7 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_dart_apciec50: iommu@b21008000 { + compatible = "apple,t6031-dart", "apple,t8110-dart"; + reg = <0xb 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ultra_apciec4_piodma: dma-controller@722000000 { + compatible = "apple,t6032-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&ultra_dart_apciec40 15>; + status = "disabled"; + }; + + ultra_apciec5_piodma: dma-controller@b22000000 { + compatible = "apple,t6032-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&ultra_dart_apciec50 15>; + status = "disabled"; + }; + + ultra_atc4_dpin0: displayport@701e50000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_atc4_dpin1: displayport@701e58000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_atc5_dpin0: displayport@b01e50000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_atc5_dpin1: displayport@b01e58000 { + compatible = "apple,t6032-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + ultra_scaler2: scaler@407000000 { + compatible = "apple,t6032-scaler", "apple,scaler"; + reg = <0x4 0x07000000 0x0 0x30000>, + <0x4 0x07210000 0x0 0x4000>, + <0x4 0x07204000 0x0 0x4000>, + <0x4 0x06000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0_die1>, <&ps_msr0_ase_core_die1>; + iommus = <&ultra_dart_scaler20 0>, <&ultra_dart_scaler20 1>; + clocks = <&ultra_clocks 268435870>; + status = "disabled"; + }; + + ultra_scaler3: scaler@3c7000000 { + compatible = "apple,t6032-scaler", "apple,scaler"; + reg = <0x3 0xc7000000 0x0 0x30000>, + <0x3 0xc7210000 0x0 0x4000>, + <0x3 0xc7204000 0x0 0x4000>, + <0x3 0xc6000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr1_die1>, <&ps_msr1_ase_core_die1>; + iommus = <&ultra_dart_scaler30 0>, <&ultra_dart_scaler30 1>; + clocks = <&ultra_clocks 268435871>; + status = "disabled"; + }; + + ultra_apr2: video-codec@2c5000000 { + compatible = "apple,t6032-prores", "apple,prores"; + reg = <0x2 0xc5000000 0x0 0x4000>, + <0x2 0xc4000000 0x0 0x1000000>, + <0x2 0xc5078000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec_die1>; + iommus = <&ultra_dart_apr20 1>, <&ultra_dart_apr21 1>; + status = "disabled"; + }; + + ultra_apr3: video-codec@287000000 { + compatible = "apple,t6032-prores", "apple,prores"; + reg = <0x2 0x87000000 0x0 0x4000>, + <0x2 0x86000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores_die1>; + iommus = <&ultra_dart_apr30 0>; + status = "disabled"; + }; + + ultra_jpeg2: jpeg@2cf000000 { + compatible = "apple,t6032-jpeg", "apple,jpeg"; + reg = <0x2 0xcf000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + iommus = <&ultra_dart_jpeg20 0>; + clocks = <&ultra_clocks 268435806>, <&ultra_clocks 268435807>; + status = "disabled"; + }; + + ultra_jpeg3: jpeg@2cf008000 { + compatible = "apple,t6032-jpeg", "apple,jpeg"; + reg = <0x2 0xcf008000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + iommus = <&ultra_dart_jpeg30 0>; + clocks = <&ultra_clocks 268435806>, <&ultra_clocks 268435807>; + status = "disabled"; + }; + + ultra_ave2: video-encoder@285100000 { + compatible = "apple,t6032-ave", "apple,ave"; + reg = <0x2 0x85100000 0x0 0x45c000>, + <0x2 0x85800000 0x0 0x800000>, + <0x2 0x85050000 0x0 0x4000>, + <0x2 0x92800430 0x0 0x20c>, + <0x2 0x84000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc0_sys_die1>, <&ps_venc0_pipe4_die1>, <&ps_venc0_pipe5_die1>, <&ps_venc0_me0_die1>, <&ps_venc0_me1_die1>, <&ps_venc0_dma_die1>; + iommus = <&ultra_dart_ave20 0>, <&ultra_dart_ave21 0>; + status = "disabled"; + }; + + ultra_ave3: video-encoder@3c5100000 { + compatible = "apple,t6032-ave", "apple,ave"; + reg = <0x3 0xc5100000 0x0 0x45c000>, + <0x3 0xc5800000 0x0 0x800000>, + <0x3 0xc5050000 0x0 0x4000>, + <0x2 0x92280510 0x0 0x7b14>, + <0x3 0xc4000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc1_pipe4_die1>, <&ps_venc1_pipe5_die1>, <&ps_venc1_me0_die1>, <&ps_venc1_me1_die1>, <&ps_venc1_dma_die1>; + iommus = <&ultra_dart_ave30 0>, <&ultra_dart_ave31 0>; + status = "disabled"; + }; + +}; + +/ { + ultra_mcc: memory-controller@2903c0000 { + compatible = "apple,t6032-mcc", "apple,mcc"; + reg = <0x2 0x903c0000 0x0 0x20000>, + <0x2 0x904d0000 0x0 0x149c>, + <0x2 0x92818000 0x0 0x4000>, + <0x22 0x92818000 0x0 0x4000>, + <0x2 0x20000000 0x0 0x2000000>, + <0x2 0x22000000 0x0 0x2000000>, + <0x2 0x24000000 0x0 0x2000000>, + <0x2 0x26000000 0x0 0x2000000>, + <0x2 0x28000000 0x0 0x2000000>, + <0x2 0x2a000000 0x0 0x2000000>, + <0x2 0x2c000000 0x0 0x2000000>, + <0x2 0x2e000000 0x0 0x2000000>, + <0x22 0x20000000 0x0 0x2000000>, + <0x22 0x22000000 0x0 0x2000000>, + <0x22 0x24000000 0x0 0x2000000>, + <0x22 0x26000000 0x0 0x2000000>, + <0x22 0x28000000 0x0 0x2000000>, + <0x22 0x2a000000 0x0 0x2000000>, + <0x22 0x2c000000 0x0 0x2000000>, + <0x22 0x2e000000 0x0 0x2000000>; + status = "disabled"; + }; + +}; + +/ { + ultra_clocks: clocks { + compatible = "apple,t6032-pmgr-clocks", "apple,pmgr-clocks"; + #clock-cells = <1>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6032.dtsi b/arch/arm64/boot/dts/apple/t6032.dtsi index 469cd8cbff72a..4b72abc681a48 100644 --- a/arch/arm64/boot/dts/apple/t6032.dtsi +++ b/arch/arm64/boot/dts/apple/t6032.dtsi @@ -463,3 +463,5 @@ &ps_afr_d2d_1_die1 { status = "okay"; }; + +#include "t6032-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6034-j514m.dts b/arch/arm64/boot/dts/apple/t6034-j514m.dts index f9c2b6241c955..f316f52dfa6cf 100644 --- a/arch/arm64/boot/dts/apple/t6034-j514m.dts +++ b/arch/arm64/boot/dts/apple/t6034-j514m.dts @@ -10,6 +10,7 @@ /dts-v1/; #include "t6034.dtsi" +#include "t6031-dcp.dtsi" #include "t603x-j514-j516.dtsi" / { @@ -29,6 +30,22 @@ brcm,board-type = "apple,texa"; }; +/* The J514S panel: the same chassis. Not yet read from a J514M. */ +&dcp { + panel: panel { + compatible = "apple,panel-j514", "apple,panel-mini-led", "apple,panel"; + width-mm = <302>; + height-mm = <196>; + adj-height-mm = <189>; + apple,max-brightness = <500>; + }; +}; + +&framebuffer0 { + panel = <&panel>; + post-init-providers = <&panel>; +}; + &aop_audio { apple,chassis-name = "J514"; apple,machine-kind = "MacBook Pro"; @@ -38,3 +55,19 @@ compatible = "apple,j514-macaudio", "apple,j314-macaudio", "apple,macaudio"; model = "MacBook Pro J514"; }; + +&i2c4 { + sd_card_control: card-control@20 { + compatible = "apple,t6031-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&i2c8 { + display_pcon: display-converter@8 { + compatible = "apple,t6031-display-pcon", "apple,display-pcon"; + reg = <0x8>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6034-j516m.dts b/arch/arm64/boot/dts/apple/t6034-j516m.dts index 22ad5251eaece..ee28181492a0a 100644 --- a/arch/arm64/boot/dts/apple/t6034-j516m.dts +++ b/arch/arm64/boot/dts/apple/t6034-j516m.dts @@ -10,6 +10,7 @@ /dts-v1/; #include "t6034.dtsi" +#include "t6031-dcp.dtsi" #include "t603x-j514-j516.dtsi" / { @@ -29,6 +30,22 @@ brcm,board-type = "apple,jura"; }; +/* The J516S panel: the same chassis. Not yet read from a J516M. */ +&dcp { + panel: panel { + compatible = "apple,panel-j516", "apple,panel-mini-led", "apple,panel"; + width-mm = <346>; + height-mm = <223>; + adj-height-mm = <216>; + apple,max-brightness = <500>; + }; +}; + +&framebuffer0 { + panel = <&panel>; + post-init-providers = <&panel>; +}; + &aop_audio { apple,chassis-name = "J516"; apple,machine-kind = "MacBook Pro"; @@ -38,3 +55,19 @@ compatible = "apple,j516-macaudio", "apple,j316-macaudio", "apple,macaudio"; model = "MacBook Pro J516"; }; + +&i2c4 { + sd_card_control: card-control@20 { + compatible = "apple,t6031-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&i2c8 { + display_pcon: display-converter@8 { + compatible = "apple,t6031-display-pcon", "apple,display-pcon"; + reg = <0x8>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6034.dtsi b/arch/arm64/boot/dts/apple/t6034.dtsi index ed95114055616..760f61d9bec3b 100644 --- a/arch/arm64/boot/dts/apple/t6034.dtsi +++ b/arch/arm64/boot/dts/apple/t6034.dtsi @@ -11,11 +11,7 @@ compatible = "apple,t6034", "apple,arm-platform"; }; -/* - * The 14-core M3 Max has its own GPU (30 cores), whose clusters and core masks - * the T6031 description does not give. Its own compatible keeps the T6031 GPU - * support from binding to it even if a boot loader enabled the node. - */ +/* The 30-core GPU is not the T6031's: keep T6031 GPU support off it. */ &gpu { compatible = "apple,agx-t6034"; }; @@ -60,3 +56,274 @@ &ps_dcs_31 { status = "disabled"; }; + +/* The harvested die exposes six AMCC register windows. */ +&mcc { + reg = <0x2 0x903c0000 0x0 0x20000>, + <0x2 0x904d0000 0x0 0x149c>, + <0x2 0x92818000 0x0 0x4000>, + <0x2 0x20000000 0x0 0x2000000>, + <0x2 0x22000000 0x0 0x2000000>, + <0x2 0x24000000 0x0 0x2000000>, + <0x2 0x26000000 0x0 0x2000000>, + <0x2 0x28000000 0x0 0x2000000>, + <0x2 0x2a000000 0x0 0x2000000>; +}; + +/* Error sources for the harvested CPU and memory topology. */ +&error_handler { + reg = <0x3 0x88c40000 0 0x40000>, + <0x2 0x90000000 0 0x80000>, + <0x2 0x92800000 0 0x1e0000>, + <0x2 0xa02dc000 0 0x4000>, + <0x2 0x20000000 0 0x2000000>, + <0x2 0x22000000 0 0x2000000>, + <0x2 0x24000000 0 0x2000000>, + <0x2 0x26000000 0 0x2000000>, + <0x2 0x28000000 0 0x2000000>, + <0x2 0x2a000000 0 0x2000000>, + <0x2 0x80000000 0 0x4000>, + <0x3 0x00000000 0 0x4000>, + <0x3 0x40000000 0 0x4000>, + <0x3 0x80000000 0 0x4000>, + <0x2 0xc0000000 0 0x4000>, + <0x3 0xc0000000 0 0x4000>, + <0x4 0x00000000 0 0x4000>, + <0x4 0x40000000 0 0x4000>, + <0x2 0xa0000000 0 0x20000>, + <0x2 0x902c0000 0 0x18000>, + <0x2 0xa4800000 0 0x4000>, + <0x2 0x59c00000 0 0x40000>, + <0x2 0x5a000000 0 0x40000>, + <0x2 0x64400000 0 0x40000>, + <0x2 0x64000000 0 0x40000>, + <0x2 0x67000000 0 0x40000>, + <0x2 0x60400000 0 0x40000>, + <0x2 0x60800000 0 0x40000>, + <0x2 0x67400000 0 0x40000>, + <0x2 0x60c00000 0 0x40000>, + <0x2 0x61000000 0 0x40000>, + <0x2 0x61400000 0 0x40000>, + <0x2 0x4f800000 0 0x40000>, + <0x2 0x51800000 0 0x40000>, + <0x2 0x51c00000 0 0x40000>, + <0x2 0x4fc00000 0 0x40000>, + <0x2 0x52000000 0 0x40000>, + <0x4 0x0b180000 0 0x18000>, + <0x4 0x0b1a0000 0 0x18000>, + <0x4 0x0b380000 0 0x18000>, + <0x4 0x0b3a0000 0 0x18000>, + <0x4 0x0b000000 0 0x18000>, + <0x4 0x0b200000 0 0x18000>, + <0x4 0x0b080000 0 0x18000>, + <0x4 0x0b280000 0 0x18000>, + <0x4 0x0b600000 0 0x18000>, + <0x4 0x0b400000 0 0x18000>, + <0x4 0x0b680000 0 0x18000>, + <0x4 0x0b480000 0 0x18000>, + <0x4 0x0b040000 0 0x18000>, + <0x4 0x0b240000 0 0x18000>, + <0x4 0x0b0c0000 0 0x18000>, + <0x4 0x0b2c0000 0 0x18000>, + <0x4 0x0b640000 0 0x18000>, + <0x4 0x0b440000 0 0x18000>, + <0x4 0x0b6c0000 0 0x18000>, + <0x4 0x0b4c0000 0 0x18000>, + <0x2 0x59400000 0 0x40000>, + <0x2 0x5fc00000 0 0x40000>, + <0x2 0x63800000 0 0x40000>, + <0x2 0x66800000 0 0x40000>, + <0x2 0x59800000 0 0x40000>, + <0x2 0x60000000 0 0x40000>, + <0x2 0x4f400000 0 0x40000>, + <0x2 0x51400000 0 0x40000>, + <0x2 0x53c00000 0 0x40000>, + <0x2 0x56000000 0 0x40000>, + <0x2 0x54000000 0 0x40000>, + <0x2 0x56400000 0 0x40000>, + <0x2 0x53432000 0 0x1000>, + <0x2 0x4f032000 0 0x1000>, + <0x2 0x51032000 0 0x1000>, + <0x2 0x55032000 0 0x1000>, + <0x2 0x53032000 0 0x1000>, + <0x2 0x55432000 0 0x1000>, + <0x2 0x5e832000 0 0x1000>, + <0x2 0x62832000 0 0x1000>, + <0x2 0x65832000 0 0x1000>, + <0x2 0x58432000 0 0x1000>, + <0x2 0x5ec32000 0 0x1000>, + <0x2 0x62c32000 0 0x1000>, + <0x2 0x58032000 0 0x1000>, + <0x2 0x63032000 0 0x1000>, + <0x2 0x65c32000 0 0x1000>, + <0x2 0x58832000 0 0x1000>, + <0x2 0x58c32000 0 0x1000>, + <0x2 0x63432000 0 0x1000>, + <0x2 0x5f032000 0 0x1000>, + <0x2 0x66032000 0 0x1000>, + <0x2 0x5f432000 0 0x1000>, + <0x2 0x66432000 0 0x1000>, + <0x4 0x0b114000 0 0x1f000>, + <0x4 0x0b314000 0 0x1f000>, + <0x4 0x0b134000 0 0x1f000>, + <0x4 0x0b334000 0 0x1f000>, + <0x4 0x0b714000 0 0x1f000>, + <0x4 0x0b514000 0 0x1f000>, + <0x4 0x0b734000 0 0x1f000>, + <0x4 0x0b534000 0 0x1f000>, + <0x4 0x0b030000 0 0x4000>, + <0x4 0x0b230000 0 0x4000>, + <0x4 0x0b030000 0 0x4000>, + <0x4 0x0b230000 0 0x4000>, + <0x4 0x0b630000 0 0x4000>, + <0x4 0x0b430000 0 0x4000>, + <0x4 0x0b030000 0 0x4000>, + <0x4 0x0b230000 0 0x4000>, + <0x4 0x0b030000 0 0x4000>, + <0x4 0x0b230000 0 0x4000>, + <0x4 0x0b630000 0 0x4000>, + <0x4 0x0b430000 0 0x4000>, + <0x4 0x0b1e0000 0 0x4000>, + <0x4 0x0b3e0000 0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; +}; diff --git a/arch/arm64/boot/dts/apple/t603x-j514-j516.dtsi b/arch/arm64/boot/dts/apple/t603x-j514-j516.dtsi index de19c196ace1d..25eb746f430ae 100644 --- a/arch/arm64/boot/dts/apple/t603x-j514-j516.dtsi +++ b/arch/arm64/boot/dts/apple/t603x-j514-j516.dtsi @@ -25,6 +25,7 @@ atcphy1 = &atcphy1; atcphy2 = &atcphy2; bluetooth0 = &bluetooth0; + keyboard = &keyboard; serial0 = &serial0; wifi0 = &wifi0; @@ -642,3 +643,12 @@ #include "hwmon-common.dtsi" #include "hwmon-fan-dual.dtsi" #include "hwmon-laptop.dtsi" + +/* Panel control remains firmware-owned until the host transport is supported. */ +&spi4 { + tcon: panel-controller@0 { + compatible = "parade,dp855"; + reg = <0>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t603x-j514s-j516s-hdmi.dtsi b/arch/arm64/boot/dts/apple/t603x-j514s-j516s-hdmi.dtsi index b663d2f58e278..a9f5ceae6fa1c 100644 --- a/arch/arm64/boot/dts/apple/t603x-j514s-j516s-hdmi.dtsi +++ b/arch/arm64/boot/dts/apple/t603x-j514s-j516s-hdmi.dtsi @@ -1,20 +1,9 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * HDMI port of the t6030 (M3 Pro) MacBook Pros j514s and j516s. - * - * The first external display processor drives ATC3 as a four-lane - * DisplayPort PHY through the ATC3 display crossbar into an on-board - * DP-to-HDMI converter, as on the M1/M2 Pro and Max MacBook Pros. The - * converter has its own power enable, the HDMI port another one, and the - * port's hotplug signal comes in on an AOP GPIO. - * - * The processor stays a hybrid pipeline: while no HDMI display is attached - * it can still be lent to a USB-C port. - * - * The HDMI port's audio is the processor's audio service with DPA1, the - * DisplayPort audio interface its port@0 links (no AP-side registers): SIO - * channel 0x66 carries the samples, as on the M1 Pro/Max HDMI port. The - * loader reserves the SIO firmware and enables the SIO with its parameters. + * HDMI port of the T6030 (M3 Pro) J514S and J516S: dcpext drives ATC3 as a + * four-lane DP PHY into a DP-to-HDMI converter, as on the M1/M2 Pro and Max + * MacBook Pros, and can still lend itself to a USB-C port. Its audio is DPA1 + * on SIO channel 0x66. */ / { @@ -114,10 +103,7 @@ status = "okay"; }; -/* - * ATC3 has no USB consumer that would hold its common block on, so across - * system sleep it would power down and lose the HDMI PHY state. - */ +/* Nothing else holds ATC3 on across sleep, which loses the PHY state. */ &ps_atc3_common { apple,always-on; }; diff --git a/arch/arm64/boot/dts/apple/t603x-j514s-j516s-usb4.dtsi b/arch/arm64/boot/dts/apple/t603x-j514s-j516s-usb4.dtsi index 8aae684af663a..8d27390eadb9a 100644 --- a/arch/arm64/boot/dts/apple/t603x-j514s-j516s-usb4.dtsi +++ b/arch/arm64/boot/dts/apple/t603x-j514s-j516s-usb4.dtsi @@ -1,5 +1,8 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Additional loader aliases for the T6030 PCIe adapter tunables. */ +/* + * J514S/J516S: loader aliases for the T6030 PCIe adapter tunables, and the + * Type-C display routes of both external processors with dcpext1's audio. + */ / { aliases { @@ -70,10 +73,7 @@ }; }; -/* - * DPA2: the Type-C DisplayPort processor's (dcpext1) audio, SIO channel 0x68, - * as the ADT links dcpext1 to dp-audio2. - */ +/* DPA2: dcpext1's audio on SIO channel 0x68, as the ADT links them. */ &dcpext1 { ports { #address-cells = <1>; diff --git a/arch/arm64/boot/dts/apple/t6040-gpu-thermal.dtsi b/arch/arm64/boot/dts/apple/t6040-gpu-thermal.dtsi new file mode 100644 index 0000000000000..74af4a032b1d8 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6040-gpu-thermal.dtsi @@ -0,0 +1,1533 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * GPU operating points and thermal zones of the T6040 Macs, with the SMC + * sensors the zones read. Shared by the J614s, J616s and J773s. + * + * Copyright The Asahi Linux Contributors + */ + +#include + +/ { + /* + * GPU performance states, one opp-microvolt cell per cluster (ADT + * /arm-io/sgx perf-states and perf-states1). The operating points are + * binned per device: the loader fills these placeholders. + * The driver requires a completed calibration handoff. Entries keep the + * order of the GPU performance states, which is not sorted by frequency. + */ + gpu_opp: opp-table-gpu { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp01 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp02 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp03 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp04 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp05 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp06 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp07 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp08 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp09 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp10 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp11 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp12 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp13 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp14 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp15 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + }; + + /* The GPU's CS clock domain (ADT cs-perf-states) */ + gpu_cs_opp: opp-table-gpucs { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp01 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp02 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp03 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp04 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp05 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp06 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp07 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + }; + + /* The GPU's AFR clock domain (ADT afr-perf-states) */ + gpu_afr_opp: opp-table-gpuafr { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp01 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp02 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp03 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp04 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp05 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp06 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + opp07 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + }; + + /* + * Zones on the SMC die-maximum sensors (smc_hwmon 0-23): TCMz for the + * die, Tex0-3, Tpx0-5 and Tpx8-D per CPU cluster, and the seven + * hottest GPU sensors. The PMP's loop holds the die at the ADT + * fast-die-ctrl-loop target of 110 C, as on macOS; these zones are + * the backstop behind it. + * + * - CPU zones run the power allocator from 75 C, control at 115 C and + * throttle only the cluster their sensor sits on. The 1 s samples + * jump by about 10 C, so the zones are integral-led. + * - GPU zones: the GPU firmware limits itself from 101 C; these shed + * CPU power from the same point (on at 90 C) and shut down at 118 C. + * A powered-off GPU reads -4 to 4 C. + * - Hot at 120 C only reports; critical is the ADT's 125 C sochot + * level, after three samples (critical-samples). + * - The fans stay with the SMC, as on macOS: no active trips. + * + * sustainable-power is the J616s's: a 720 s all-core load held TCMz + * at 112-114 C with P0 25.3 W, P1 23.9 W and E 2.1 W on the SMC core + * rails. The J614s and J773s inherit these values until measured. + */ + thermal-zones { + cpu-die-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <51300>; + thermal-sensors = <&smc_hwmon 0>; /* TCMz */ + + trips { + cpu_die_switch_on: cpu-die-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_die_passive: cpu-die-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu-die-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + cpu-die-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&cpu_die_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p0 { + trip = <&cpu_die_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p1 { + trip = <&cpu_die_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-e0-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <2100>; + thermal-sensors = <&smc_hwmon 1>; /* Tex0 */ + + trips { + cpu_e0_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_e0_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&cpu_e0_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-e1-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <2100>; + thermal-sensors = <&smc_hwmon 2>; /* Tex1 */ + + trips { + cpu_e1_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_e1_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&cpu_e1_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-e2-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <2100>; + thermal-sensors = <&smc_hwmon 3>; /* Tex2 */ + + trips { + cpu_e2_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_e2_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&cpu_e2_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-e3-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <2100>; + thermal-sensors = <&smc_hwmon 4>; /* Tex3 */ + + trips { + cpu_e3_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_e3_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&cpu_e3_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p00-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <25300>; + thermal-sensors = <&smc_hwmon 5>; /* Tpx0 */ + + trips { + cpu_p00_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p00_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p0 { + trip = <&cpu_p00_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p01-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <25300>; + thermal-sensors = <&smc_hwmon 6>; /* Tpx1 */ + + trips { + cpu_p01_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p01_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p0 { + trip = <&cpu_p01_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p02-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <25300>; + thermal-sensors = <&smc_hwmon 7>; /* Tpx2 */ + + trips { + cpu_p02_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p02_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p0 { + trip = <&cpu_p02_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p03-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <25300>; + thermal-sensors = <&smc_hwmon 8>; /* Tpx3 */ + + trips { + cpu_p03_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p03_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p0 { + trip = <&cpu_p03_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p04-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <25300>; + thermal-sensors = <&smc_hwmon 9>; /* Tpx4 */ + + trips { + cpu_p04_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p04_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p0 { + trip = <&cpu_p04_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p05-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <25300>; + thermal-sensors = <&smc_hwmon 10>; /* Tpx5 */ + + trips { + cpu_p05_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p05_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p0 { + trip = <&cpu_p05_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p10-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <23900>; + thermal-sensors = <&smc_hwmon 11>; /* Tpx8 */ + + trips { + cpu_p10_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p10_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p1 { + trip = <&cpu_p10_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p11-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <23900>; + thermal-sensors = <&smc_hwmon 12>; /* Tpx9 */ + + trips { + cpu_p11_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p11_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p1 { + trip = <&cpu_p11_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p12-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <23900>; + thermal-sensors = <&smc_hwmon 13>; /* TpxA */ + + trips { + cpu_p12_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p12_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p1 { + trip = <&cpu_p12_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p13-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <23900>; + thermal-sensors = <&smc_hwmon 14>; /* TpxB */ + + trips { + cpu_p13_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p13_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p1 { + trip = <&cpu_p13_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p14-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <23900>; + thermal-sensors = <&smc_hwmon 15>; /* TpxC */ + + trips { + cpu_p14_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p14_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p1 { + trip = <&cpu_p14_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu-p15-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + integral-time-constant-ms = <20000>; + critical-samples = <3>; + sustainable-power = <23900>; + thermal-sensors = <&smc_hwmon 16>; /* TpxD */ + + trips { + cpu_p15_switch_on: trip-switch-on { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_p15_passive: trip-passive { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-hot { + temperature = <120000>; + hysteresis = <2000>; + type = "hot"; + }; + + trip-critical { + temperature = <125000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-p1 { + trip = <&cpu_p15_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + gpu0-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + sustainable-power = <51300>; + thermal-sensors = <&smc_hwmon 17>; /* Tg05 */ + + trips { + gpu0_switch_on: trip-switch-on { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpu0_passive: trip-passive { + temperature = <101000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-critical { + temperature = <118000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&gpu0_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p0 { + trip = <&gpu0_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p1 { + trip = <&gpu0_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + gpu1-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + sustainable-power = <51300>; + thermal-sensors = <&smc_hwmon 18>; /* Tg0S */ + + trips { + gpu1_switch_on: trip-switch-on { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpu1_passive: trip-passive { + temperature = <101000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-critical { + temperature = <118000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&gpu1_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p0 { + trip = <&gpu1_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p1 { + trip = <&gpu1_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + gpu2-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + sustainable-power = <51300>; + thermal-sensors = <&smc_hwmon 19>; /* Tg0Y */ + + trips { + gpu2_switch_on: trip-switch-on { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpu2_passive: trip-passive { + temperature = <101000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-critical { + temperature = <118000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&gpu2_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p0 { + trip = <&gpu2_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p1 { + trip = <&gpu2_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + gpu3-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + sustainable-power = <51300>; + thermal-sensors = <&smc_hwmon 20>; /* Tg0k */ + + trips { + gpu3_switch_on: trip-switch-on { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpu3_passive: trip-passive { + temperature = <101000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-critical { + temperature = <118000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&gpu3_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p0 { + trip = <&gpu3_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p1 { + trip = <&gpu3_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + gpu4-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + sustainable-power = <51300>; + thermal-sensors = <&smc_hwmon 21>; /* Tg0z */ + + trips { + gpu4_switch_on: trip-switch-on { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpu4_passive: trip-passive { + temperature = <101000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-critical { + temperature = <118000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&gpu4_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p0 { + trip = <&gpu4_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p1 { + trip = <&gpu4_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + gpu5-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + sustainable-power = <51300>; + thermal-sensors = <&smc_hwmon 22>; /* Tg1V */ + + trips { + gpu5_switch_on: trip-switch-on { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpu5_passive: trip-passive { + temperature = <101000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-critical { + temperature = <118000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&gpu5_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p0 { + trip = <&gpu5_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p1 { + trip = <&gpu5_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + gpu6-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + sustainable-power = <51300>; + thermal-sensors = <&smc_hwmon 23>; /* Tg1l */ + + trips { + gpu6_switch_on: trip-switch-on { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpu6_passive: trip-passive { + temperature = <101000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-critical { + temperature = <118000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&gpu6_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p0 { + trip = <&gpu6_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p1 { + trip = <&gpu6_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + }; +}; + +&smc_hwmon { + /* + * TCMz and the 23 zone sensors after it must stay the first + * temperature children: the thermal zones name a sensor by its index, + * so the board's hwmon nodes only append after them. + */ + temperature-TCMz { + apple,key-id = "TCMz"; + label = "CPU Die Max"; + }; + + temperature-Tex0 { + apple,key-id = "Tex0"; + label = "E-cluster Tex0"; + }; + + temperature-Tex1 { + apple,key-id = "Tex1"; + label = "E-cluster Tex1"; + }; + + temperature-Tex2 { + apple,key-id = "Tex2"; + label = "E-cluster Tex2"; + }; + + temperature-Tex3 { + apple,key-id = "Tex3"; + label = "E-cluster Tex3"; + }; + + temperature-Tpx0 { + apple,key-id = "Tpx0"; + label = "P-cluster Tpx0"; + }; + + temperature-Tpx1 { + apple,key-id = "Tpx1"; + label = "P-cluster Tpx1"; + }; + + temperature-Tpx2 { + apple,key-id = "Tpx2"; + label = "P-cluster Tpx2"; + }; + + temperature-Tpx3 { + apple,key-id = "Tpx3"; + label = "P-cluster Tpx3"; + }; + + temperature-Tpx4 { + apple,key-id = "Tpx4"; + label = "P-cluster Tpx4"; + }; + + temperature-Tpx5 { + apple,key-id = "Tpx5"; + label = "P-cluster Tpx5"; + }; + + temperature-Tpx8 { + apple,key-id = "Tpx8"; + label = "P-cluster Tpx8"; + }; + + temperature-Tpx9 { + apple,key-id = "Tpx9"; + label = "P-cluster Tpx9"; + }; + + temperature-TpxA { + apple,key-id = "TpxA"; + label = "P-cluster TpxA"; + }; + + temperature-TpxB { + apple,key-id = "TpxB"; + label = "P-cluster TpxB"; + }; + + temperature-TpxC { + apple,key-id = "TpxC"; + label = "P-cluster TpxC"; + }; + + temperature-TpxD { + apple,key-id = "TpxD"; + label = "P-cluster TpxD"; + }; + + temperature-Tg05 { + apple,key-id = "Tg05"; + label = "GPU Tg05"; + }; + + temperature-Tg0S { + apple,key-id = "Tg0S"; + label = "GPU Tg0S"; + }; + + temperature-Tg0Y { + apple,key-id = "Tg0Y"; + label = "GPU Tg0Y"; + }; + + temperature-Tg0k { + apple,key-id = "Tg0k"; + label = "GPU Tg0k"; + }; + + temperature-Tg0z { + apple,key-id = "Tg0z"; + label = "GPU Tg0z"; + }; + + temperature-Tg1V { + apple,key-id = "Tg1V"; + label = "GPU Tg1V"; + }; + + temperature-Tg1l { + apple,key-id = "Tg1l"; + label = "GPU Tg1l"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6040-j614s.dts b/arch/arm64/boot/dts/apple/t6040-j614s.dts index dc12f1d2c5615..02a559e9822a2 100644 --- a/arch/arm64/boot/dts/apple/t6040-j614s.dts +++ b/arch/arm64/boot/dts/apple/t6040-j614s.dts @@ -31,8 +31,6 @@ width-mm = <302>; height-mm = <196>; adj-height-mm = <189>; - /* "Wide color (P3)" in the Apple technical specifications */ - apple,color-gamut = "display-p3"; }; &aop_audio { @@ -111,6 +109,14 @@ }; }; -&isp_dart0 { status = "disabled"; }; -&isp_dart1 { status = "disabled"; }; -&isp_dart2 { status = "disabled"; }; +&isp_dart0 { + status = "disabled"; +}; + +&isp_dart1 { + status = "disabled"; +}; + +&isp_dart2 { + status = "disabled"; +}; diff --git a/arch/arm64/boot/dts/apple/t6040-j616s-extdisp-hdmi.dtsi b/arch/arm64/boot/dts/apple/t6040-j616s-extdisp-hdmi.dtsi index f828c64d3ccf3..0e4e59ca5bb3a 100644 --- a/arch/arm64/boot/dts/apple/t6040-j616s-extdisp-hdmi.dtsi +++ b/arch/arm64/boot/dts/apple/t6040-j616s-extdisp-hdmi.dtsi @@ -14,12 +14,10 @@ /* * DISPEXT0 may only be powered once the PMP has acknowledged it in its - * device-state table (SOC-DEV-PS-REQ/ACK, PTD entries 480/488 on T6041): the - * soc-device record of DISPEXT0 has ID 18 (ADT iop-pmp-nub soc-device, ack - * flag set), so its request bit is 17. Without it, enabling the DISPEXT0 PMGR - * chain hung the machine before root. - * Same contract as the T6030 PMP device-state provider of - * aurora-silicon/linux#358, through the existing pmp-report entries here. + * device-state table (SOC-DEV-PS-REQ/ACK, PTD entries 480/488 on T6041): + * its ADT iop-pmp-nub soc-device ID is 18, so its request bit is 17. + * Without it, enabling the DISPEXT0 PMGR chain hung the machine before + * root. The T6030 PMP device-state provider works the same way. */ &pmp_report { pmp_dispext0: report@11 { diff --git a/arch/arm64/boot/dts/apple/t6040-j616s-tether.dts b/arch/arm64/boot/dts/apple/t6040-j616s-tether.dts index 8027360847204..658ce752338db 100644 --- a/arch/arm64/boot/dts/apple/t6040-j616s-tether.dts +++ b/arch/arm64/boot/dts/apple/t6040-j616s-tether.dts @@ -36,14 +36,14 @@ status = "disabled"; }; -&usb_drd0 { +&dwc3_0 { status = "disabled"; }; -&usb_drd0_dart_0 { +&dwc3_0_dart_0 { status = "disabled"; }; -&usb_drd0_dart_1 { +&dwc3_0_dart_1 { status = "disabled"; }; diff --git a/arch/arm64/boot/dts/apple/t6040-j616s-usb3.dtsi b/arch/arm64/boot/dts/apple/t6040-j616s-usb3.dtsi index dc4a6b0cb5be2..a8d5d38313628 100644 --- a/arch/arm64/boot/dts/apple/t6040-j616s-usb3.dtsi +++ b/arch/arm64/boot/dts/apple/t6040-j616s-usb3.dtsi @@ -543,7 +543,7 @@ apple,tunable-usb2-host = <0x8 0x7003 0x3>; }; -&usb_drd0 { +&dwc3_0 { /* DRD_USB31_GBL_DEFAULT, then GCTL.PWRDNSCALE = 0xd as macOS's controller reset() sets it */ apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, @@ -557,7 +557,7 @@ <0x60 0x0003ffff 0x00000600>; }; -&usb_drd1 { +&dwc3_1 { /* DRD_USB31_GBL_DEFAULT, then GCTL.PWRDNSCALE = 0xd as macOS's controller reset() sets it */ apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, @@ -571,7 +571,7 @@ <0x60 0x0003ffff 0x00000600>; }; -&usb_drd2 { +&dwc3_2 { /* DRD_USB31_GBL_DEFAULT, then GCTL.PWRDNSCALE = 0xd as macOS's controller reset() sets it */ apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, diff --git a/arch/arm64/boot/dts/apple/t6040-j616s.dts b/arch/arm64/boot/dts/apple/t6040-j616s.dts index 32f589aa2971f..c934110c69b95 100644 --- a/arch/arm64/boot/dts/apple/t6040-j616s.dts +++ b/arch/arm64/boot/dts/apple/t6040-j616s.dts @@ -55,8 +55,6 @@ width-mm = <345>; height-mm = <223>; adj-height-mm = <216>; - /* "Wide color (P3)" in the Apple technical specifications */ - apple,color-gamut = "display-p3"; }; &aop_audio { @@ -85,27 +83,6 @@ firmware-name = "apple/mesacal-j616s.bin", "apple/msrk-j616s.bin"; }; -&ps_jpg { - status = "okay"; -}; - -&jpeg0_dart { - status = "okay"; -}; - -&jpeg0 { - status = "okay"; -}; - -&jpeg1_dart { - status = "okay"; -}; - -&jpeg1 { - status = "okay"; -}; - - &i2c4 { sd_card_control: card-control@20 { compatible = "apple,t6041-sd-card-control", "apple,sd-card-control"; @@ -153,3 +130,38 @@ }; }; }; + +&i2c6 { + retimer@18 { + compatible = "apple,t6041-atcrt", "apple,atcrt"; + reg = <0x18>; + status = "disabled"; + }; + retimer@19 { + compatible = "apple,t6041-atcrt", "apple,atcrt"; + reg = <0x19>; + status = "disabled"; + }; + retimer@1a { + compatible = "apple,t6041-atcrt", "apple,atcrt"; + reg = <0x1a>; + status = "disabled"; + }; +}; + +/* Scaler/CSC (MSR) and its DART, proven on this board. */ +&ps_msr0 { + status = "okay"; +}; + +&ps_msr0_ase_core { + status = "okay"; +}; + +&scaler0_dart { + status = "okay"; +}; + +&scaler0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t6040-j773s-usb-front.dtsi b/arch/arm64/boot/dts/apple/t6040-j773s-usb-front.dtsi new file mode 100644 index 0000000000000..d4c2664675fa8 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6040-j773s-usb-front.dtsi @@ -0,0 +1,293 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * The J773s's two front USB-C ports: an on-board USB2/USB3 hub behind ATC3, + * whose controller (ADT usb-drd3) is a fixed host with no PD controller. + * The hub's firmware is on its own flash (ADT spi3 usb3hub-flash). + * + * Disabled until the T6040 PHY driver has a fixed-host mode: it brings USB3 + * up only for a Type-C plug orientation. Enabling this also takes the ATC3 + * power domains. Tunables are this ADT's atc-phy3 and usb-drd3 tables + * (macOS 26.6.2); DRD_USB31_GBL_DEFAULT is followed by the GCTL.PWRDNSCALE + * entry the other ports use. + */ + +/ { + atcphy3: phy@39aa90000 { + compatible = "apple,t6040-atcphy"; + reg = <0x3 0x9aa90000 0x0 0x4000>, + <0x3 0x9a800000 0x0 0x4000>, + <0x3 0x9aa84000 0x0 0x4000>, + <0x3 0x9b000000 0x0 0x30000>, + <0x3 0x9b200000 0x0 0x4000>, + <0x3 0x9b140000 0x0 0x4000>, + <0x3 0x9b0c0000 0x0 0x10000>, + <0x3 0x98000000 0x0 0x8000>, + <0x3 0x98020000 0x0 0x4000>, + <0x3 0x9b244000 0x0 0x4000>, + <0x3 0x9b250000 0x0 0x4000>; + reg-names = "bank0", "bank1", "pipehandler", "core", "cfg", "cpu", + "cpu-data", "axi2af", "axi2af-lioa", "fabric", "common-cfg"; + #phy-cells = <1>; + #reset-cells = <0>; + power-domains = <&ps_atc3_common_dp>; + mboxes = <&atcphy3_mbox>; + mbox-names = "phy-cpu"; + nonposted-mmio; + + apple,tunable-axi2af = + <0x0 0x800000ff 0x80000025>, + <0x4 0x80ff00ff 0x80250003>, + <0x8 0x80ff00ff 0x80250003>, + <0xc 0x80ff00ff 0x80250005>, + <0x10 0x80ff00ff 0x80250003>, + <0x14 0x80ff00ff 0x80250003>, + <0x18 0x80ff00ff 0x80250003>, + <0x1c 0x80ff00ff 0x80250003>, + <0x20 0x800000ff 0x8000001e>, + <0x24 0x800000ff 0x8000004a>, + <0x28 0x80ff00ff 0x804a0006>, + <0x2c 0x80ff00ff 0x804a0006>, + <0x30 0x80ff00ff 0x804a0006>, + <0x34 0x80ff00ff 0x804a0006>, + <0x38 0x80ff00ff 0x804a0006>, + <0x3c 0x80ff00ff 0x804a0006>, + <0x40 0x800000ff 0x8000001e>, + <0x44 0x800000ff 0x8000001e>, + <0x48 0x800000ff 0x8000001e>, + <0x100 0x000000ff 0x000000ff>, + <0x108 0xffff0006 0x00100000>, + <0x304 0x3f3f0000 0x04040000>, + <0x308 0x000fffff 0x00001681>, + <0x30c 0x000fffff 0x00001680>, + <0x310 0x70000fff 0x000001e0>, + <0x314 0xf0000fff 0x800001e0>, + <0x318 0x70000fff 0x000001e0>, + <0x31c 0xf0000fff 0x800001e0>, + <0x320 0x70000fff 0x000005a0>, + <0x324 0xf0000fff 0x800005a0>, + <0x328 0x70000fff 0x000005a0>, + <0x32c 0xf0000fff 0x800005a0>, + <0x330 0x70000fff 0x000005a0>, + <0x334 0xf0000fff 0x800005a0>, + <0x338 0x70000fff 0x000005a0>, + <0x33c 0x70000fff 0x000005a0>, + <0x340 0x70000fff 0x000005a0>, + <0x344 0x70000fff 0x000005a0>, + <0x348 0x70000fff 0x000005a0>, + <0x34c 0x70000fff 0x000005a0>, + <0x350 0x70000fff 0x000005a0>, + <0x358 0xffffffff 0x0000ffff>, + <0x35c 0xffffffff 0x0000ffff>, + <0x408 0xffff0020 0x00210020>, + <0x40c 0x000fffff 0x00001681>, + <0x410 0x000fffff 0x00001680>, + <0x414 0x70000fff 0x000001e0>, + <0x418 0x70000fff 0x000001e0>, + <0x41c 0x70000fff 0x000001e0>, + <0x420 0x70000fff 0x000001e0>, + <0x424 0x70000fff 0x000005a0>, + <0x428 0x70000fff 0x000005a0>, + <0x42c 0x70000fff 0x000005a0>, + <0x430 0x70000fff 0x000005a0>, + <0x434 0x70000fff 0x000005a0>, + <0x438 0x70000fff 0x000005a0>, + <0x43c 0x70000fff 0x000005a0>, + <0x440 0x70000fff 0x000005a0>, + <0x444 0x70000fff 0x000005a0>, + <0x448 0x70000fff 0x000005a0>, + <0x44c 0x70000fff 0x000005a0>, + <0x450 0x70000fff 0x000005a0>, + <0x454 0x70000fff 0x000005a0>, + <0x948 0x07ff07ff 0x00280000>, + <0xa48 0x07ff07ff 0x00400040>, + <0xb48 0x07ff07ff 0x00b8010e>, + <0xc48 0x07ff07ff 0x00400020>, + <0xd48 0x07ff07ff 0x008a008a>, + <0x1000 0xffffffff 0x7fffffff>, + <0x4008 0x00000001 0x00000001>, + <0x400c 0x00000001 0x00000001>, + <0x4014 0x00000001 0x00000001>, + <0x4018 0x00000001 0x00000000>, + <0x401c 0x00000001 0x00000001>; + apple,tunable-axi2af-lioa = + <0x28 0x0000fe2f 0x00000000>, + <0x2c 0x00000007 0x00000000>, + <0x30 0x0000007f 0x00000000>, + <0x34 0x000000ff 0x00000000>, + <0x58 0x0000010b 0x00000000>; + apple,tunable-fabric = + <0x4 0x003f003f 0x00200020>, + <0xc 0x000000f1 0x000000a1>, + <0x10 0x0000801f 0x00000004>, + <0x18 0x003f003f 0x00200020>, + <0x20 0x000000f1 0x000000a1>, + <0x24 0x0000801f 0x00000004>, + <0x2c 0x00ff00ff 0x00960096>, + <0x34 0x000000f1 0x00000071>, + <0x38 0x0000801f 0x00000004>, + <0x40 0x0000003f 0x00000020>, + <0x48 0x0000801f 0x00000004>, + <0x50 0x007f007f 0x00450045>, + <0x58 0x0000801f 0x00000004>, + <0x60 0x0000003f 0x00000020>, + <0x68 0x0000801f 0x00000004>, + <0x70 0x00000001 0x00000001>, + <0x74 0x0000801f 0x00000004>, + <0x7c 0x007f007f 0x00400040>, + <0x80 0x000000f1 0x00000011>, + <0x84 0x00000001 0x00000001>, + <0x88 0x00000001 0x00000001>, + <0x8c 0x0000801f 0x00000004>, + <0x94 0x001f001f 0x00100010>, + <0x98 0x000000f1 0x00000011>, + <0x9c 0x0000801f 0x00000004>, + <0xa4 0x000000ff 0x000000e0>, + <0xa8 0x0000801f 0x00000004>, + <0xb0 0x0000003f 0x00000020>, + <0xb8 0x0000801f 0x00000004>, + <0xc0 0x0000003f 0x00000020>, + <0xc8 0x0000801f 0x00000004>, + <0xd0 0x001f001f 0x00100010>, + <0xd8 0x00000001 0x00000001>, + <0xdc 0x00000001 0x00000001>, + <0xe0 0x0000801f 0x00000004>, + <0xe8 0x0000000f 0x00000008>, + <0xec 0x0000801f 0x00000004>, + <0xf4 0xffffffff 0x01010101>, + <0xf8 0x0000801f 0x00000004>, + <0x100 0x00000001 0x00000001>, + <0x104 0x00000001 0x00000001>, + <0x108 0x0000801f 0x00000004>, + <0x110 0x0000801f 0x00000004>, + <0x118 0x0000801f 0x00000004>, + <0x120 0x00000001 0x00000001>, + <0x124 0x00000001 0x00000001>, + <0x128 0x0000801f 0x00000004>, + <0x130 0xffffffff 0x01010101>, + <0x134 0x0000801f 0x00000004>, + <0x13c 0x00000001 0x00000001>, + <0x140 0x00000001 0x00000001>, + <0x144 0x0000801f 0x00000004>, + <0x14c 0x00000001 0x00000001>, + <0x150 0x00000001 0x00000001>, + <0x154 0x0000801f 0x00000004>, + <0x15c 0x0000801f 0x00000004>, + <0x164 0xffffffff 0x01010101>, + <0x168 0x0000ffff 0x00000101>, + <0x16c 0x0000801f 0x00000004>, + <0x174 0x00000001 0x00000001>, + <0x178 0x00000001 0x00000001>, + <0x17c 0x0000801f 0x00000004>, + <0x184 0x00000001 0x00000001>, + <0x188 0x00000001 0x00000001>, + <0x18c 0x0000801f 0x00000004>; + apple,tunable-common-cfg = + <0x8 0x00000001 0x00000001>; + apple,tunable-lane0 = + <0xd094 0x00080000 0x00080000>, + <0xd098 0x00080000 0x00080000>, + <0xd0a4 0x00800000 0x00800000>, + <0xd0a8 0x00200000 0x00200000>; + apple,tunable-lane1 = + <0x1d094 0x00080000 0x00080000>, + <0x1d098 0x00080000 0x00080000>, + <0x1d0a4 0x00800000 0x00800000>, + <0x1d0a8 0x00200000 0x00200000>; + apple,tunable-aus40cmn-shm = + <0xa04 0x0000007c 0x00000050>; + apple,tunable-auspll = + <0x3224 0x00000c00 0x00000800>, + <0x3230 0x0000001f 0x0000000f>, + <0x3240 0x07d8007f 0x04000049>, + <0x32b0 0x0b800000 0x01800000>, + <0x32e8 0x00060001 0x00040001>, + <0x3338 0x0f800000 0x07800000>; + apple,tunable-cio4pll = + <0x3a30 0x0000001f 0x0000000f>, + <0x3a4c 0x0000fe7f 0x00004e1d>, + <0x3ab0 0x00700000 0x00300000>, + <0x3ae8 0x00060000 0x00020000>; + apple,tunable-pipehandler = + <0x44 0x00000004 0x00000004>; + apple,tunable-usb2-host = + <0x8 0x00007003 0x00000003>; + status = "disabled"; + }; + + atcphy3_mbox: mailbox@39b148000 { + compatible = "apple,t6041-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x9b148000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_atc3_phymxwrap>; + status = "disabled"; + }; + + dwc3_3_dart_0: iommu@39af00000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x3 0x9af00000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc3_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + status = "disabled"; + }; + + dwc3_3_dart_1: iommu@39af80000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x3 0x9af80000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc3_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + status = "disabled"; + }; + + dwc3_3: usb@39a280000 { + compatible = "apple,t6040-dwc3", "apple,t8103-dwc3"; + reg = <0x3 0x9a280000 0x0 0xcd00>, + <0x3 0x9a28cd00 0x0 0x3200>, + <0x3 0x9a200000 0x0 0x4000>; + reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; + interrupt-parent = <&aic>; + interrupts = ; + dr_mode = "host"; + iommus = <&dwc3_3_dart_0 0>, <&dwc3_3_dart_1 1>; + power-domains = <&ps_atc3_usb>; + resets = <&atcphy3>; + phys = <&atcphy3 PHY_TYPE_USB2>, <&atcphy3 PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + + apple,tunable-gbl-host = + <0x4 0x0001ef00 0x00002f00>, + <0x1c 0x00000100 0x00000000>, + <0x2c 0x000a07ff 0x000800c8>, + <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x00000000>, + <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, + <0x538 0x00000800 0x00000800>, + <0x580 0xffffffff 0x6f000006>; + apple,tunable-dbg = + <0x0 0x00000008 0x00000008>; + apple,tunable-cfg-host = + <0x20 0x000000ff 0x0000001b>; + apple,tunable-link = + <0x20 0x7ff00000 0x4e900000>, + <0x24 0x001f8000 0x000b8000>, + <0x60 0x0003ffff 0x00000600>, + <0x60 0x0003ffff 0x00008fc7>; + apple,tunable-gbl-default = + <0x64 0x00000002 0x00000000>, + <0x10 0xfff80000 0x00680000>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6040-j773s-usb3.dtsi b/arch/arm64/boot/dts/apple/t6040-j773s-usb3.dtsi new file mode 100644 index 0000000000000..20eac0a7981a6 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6040-j773s-usb3.dtsi @@ -0,0 +1,42 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * USB3 tunables of the J773s back Type-C ports, from its ADT (macOS 26.6.2). + * Every table is the J616s one except these PLL trims, which differ per port. + */ + +#include "t6040-j616s-usb3.dtsi" + +&atcphy0 { + apple,tunable-auspll = + <0x3224 0x00000c00 0x00000800>, + <0x3230 0x0000001f 0x0000000f>, + <0x3240 0x07d8007f 0x04000049>, + <0x32b0 0x0b800000 0x01800000>, + <0x32e8 0x00060001 0x00040001>, + <0x3338 0x0f800000 0x07800000>; + apple,tunable-cio4pll = + <0x3a30 0x0000001f 0x0000000f>, + <0x3a4c 0x0000fe7f 0x00004e1d>, + <0x3ab0 0x00700000 0x00300000>, + <0x3ae8 0x00060000 0x00020000>; +}; + +&atcphy1 { + apple,tunable-aus40cmn-shm = + <0xa04 0x0000007c 0x00000054>; + apple,tunable-cio4pll = + <0x3a30 0x0000001f 0x0000000f>, + <0x3a4c 0x0000fe7f 0x00004e1e>, + <0x3ab0 0x00700000 0x00300000>, + <0x3ae8 0x00060000 0x00020000>; +}; + +&atcphy2 { + apple,tunable-aus40cmn-shm = + <0xa04 0x0000007c 0x00000048>; + apple,tunable-cio4pll = + <0x3a30 0x0000001f 0x0000000f>, + <0x3a4c 0x0000fe7f 0x00004e1d>, + <0x3ab0 0x00700000 0x00300000>, + <0x3ae8 0x00060000 0x00020000>; +}; diff --git a/arch/arm64/boot/dts/apple/t6040-j773s.dts b/arch/arm64/boot/dts/apple/t6040-j773s.dts new file mode 100644 index 0000000000000..003cbefd8ba55 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6040-j773s.dts @@ -0,0 +1,917 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Mac mini (M4 Pro, 2024) + * + * target-type: J773s + * + * Wired like the J616s from this board's ADT (macOS 26.6.2). It has no + * panel, keyboard, trackpad, battery, camera or Touch ID sensor. + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t6040.dtsi" +#include "t604x-j575-j773.dtsi" +#include + +/ { + compatible = "apple,j773s", "apple,t6040", "apple,arm-platform"; + model = "Apple Mac mini (M4 Pro, 2024)"; + + aliases { + nvram = &nvram; + spi0 = &qspi; + rtc0 = &smc_rtc; + rtc1 = &pmu_rtc; + wifi0 = "/pcie@1cb0000000/pci@0,0/wifi@0,0"; + bluetooth0 = "/pcie@1cb0000000/pci@0,0/bluetooth@0,1"; + ethernet0 = ðernet0; + /* the boot loader finds the GPU node through this alias */ + gpu = &gpu; + pmp = &pmp; + /* the boot loader reserves the SEP firmware through this alias */ + sep = &sep; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + /* The loader adds its own reservations */ + + /* Filled and enabled by the loader, as on the J616s. */ + ane_fw_text: ane-firmware-text@0 { + compatible = "apple,asc-mem"; + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + ane_fw_data: ane-firmware-data@0 { + compatible = "apple,asc-mem"; + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + gpu_fw_text: gpu-fw-text { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + gpu_fw_data: gpu-fw-data { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_ttbs: uat-ttbs { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_pagetables: uat-pagetables { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_l2_pagetables: uat-l2-pagetables { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_handoff: uat-handoff { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + }; +}; + +/* GPU operating points, thermal zones and the sensors they read */ +#include "t6040-gpu-thermal.dtsi" + +/ { + /* The speaker amp's shutdown line (SDZ, AP pin 54, low = shutdown). */ + speaker_sdz: regulator-sn012776-sdz { + compatible = "regulator-fixed"; + regulator-name = "sn012776-sdz"; + gpios = <&pinctrl 54 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + /* + * The speaker stays off: there is no protection profile for it, and + * the ADT's AOP speaker stream returns no V/I sense. The card, the amp + * and the AOP speaker stream are all left out or disabled. + */ + sound: sound { + compatible = "apple,j773-macaudio", "apple,macaudio"; + model = "Mac mini J773"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + dai-link@0 { + reg = <0>; + link-name = "Speaker"; + + cpu { + sound-dai = <&aop_audio 3>; + }; + + codec { + sound-dai = <&speaker>; + }; + }; + }; + + /* The headphone jack, a card of its own as on the J616s. */ + sound_jack: sound-jack { + compatible = "apple,j773-macaudio-jack", "apple,macaudio"; + model = "Mac mini J773 Jack"; + #address-cells = <1>; + #size-cells = <0>; + + dai-link@0 { + reg = <0>; + link-name = "Headphone Jack"; + + cpu { + sound-dai = <&aop_audio 4>; + }; + + codec { + sound-dai = <&jack_codec>; + }; + }; + }; +}; + +&cpuidle { + status = "okay"; +}; + +&smc { + status = "okay"; + + smc_gpio_low: gpio-low { + compatible = "apple,smc-low-gpio"; + gpio-controller; + #gpio-cells = <2>; + apple,output-templates = <0xe 0x00800000>; + }; +}; + +/* The Stockholm NFC controller (ADT aop-spmi0 stockholm-spmi), as on the J616s. */ +&aop_spmi0 { + status = "okay"; + + stockholm: nfc@9 { + compatible = "apple,stockholm-nci"; + reg = <9 SPMI_USID>; + interrupt-parent = <&aop_spmi0>; + interrupts = <229 IRQ_TYPE_EDGE_RISING>, + <230 IRQ_TYPE_EDGE_RISING>, + <227 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "host-wake", "data-ready", "error"; + enable-gpios = <&smc_gpio_low 0xe GPIO_ACTIVE_HIGH>; + }; +}; + +&smc_mbox { + status = "okay"; +}; + +&nub_spmi0 { + status = "okay"; +}; + +&pinctrl { + status = "okay"; + + wifi_clkreq_pins: wifi-clkreq-pins { + pinmux = ; + }; + + eth_clkreq_pins: eth-clkreq-pins { + pinmux = ; + }; +}; + +/* As on the J616s: the AOP firmware owns this bank's interrupts. */ +&pinctrl_nub { + status = "okay"; + /delete-property/ interrupt-controller; + /delete-property/ #interrupt-cells; + /delete-property/ interrupts; +}; + +/* Boot NOR; the partition is the ADT /arm-io/qspi/spinor/anvram. */ +&qspi { + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <10000000>; + spi-rx-bus-width = <1>; + spi-tx-bus-width = <1>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + nvram: partition@700000 { + label = "nvram"; + reg = <0x700000 0x100000>; + }; + }; + }; +}; + +&ps_qspi { + status = "okay"; +}; + +/* The Type-C retimers (ADT uatcrt at 0x18/0x19/0x1a); no driver yet. */ +&i2c6 { + status = "okay"; +}; + +/* + * Fan and system keys. The J773s SMC key table has not been read: keys it + * lacks keep their channel and stay hidden. + */ +#include "hwmon-common.dtsi" +#include "hwmon-mini.dtsi" + +&smc_hwmon { + apple,thermal-pressure-key = "mTPL"; +}; + +&pcie_dart { + status = "okay"; +}; + +&apcie2_dart { + status = "okay"; +}; + +/* + * Wi-Fi and Bluetooth on port 0 and Ethernet on port 2 (ADT apcie0 + * pci-bridge0 and pci-bridge2). The boot loader finds them through the + * aliases and adds the calibration and the addresses. The Ethernet chip + * depends on the configuration, so its node has no compatible. + */ +/ { + pcie0: pcie@1cb0000000 { + compatible = "apple,t6041-pcie", "apple,t6020-pcie"; + reg = <0x1c 0xb0000000 0x0 0x1000000>, /* config */ + <0x4 0x14000000 0x0 0x4000>, /* rc */ + <0x4 0x10028000 0x0 0x4000>, /* port0 */ + <0x4 0x11028000 0x0 0x4000>, /* port1 */ + <0x4 0x12028000 0x0 0x4000>, /* port2 */ + <0x4 0x13028000 0x0 0x4000>, /* port3 */ + <0x4 0x17020000 0x0 0x4000>, /* phy0 */ + <0x4 0x17024000 0x0 0x4000>, /* phy1 */ + <0x4 0x17028000 0x0 0x4000>, /* phy2 */ + <0x4 0x1702c000 0x0 0x4000>; /* phy3 */ + reg-names = "config", "rc", + "port0", "port1", "port2", "port3", + "phy0", "phy1", "phy2", "phy3"; + ranges = <0x43000000 0xb 0xc0000000 0xb 0xc0000000 0x0 0x20000000>, + <0x02000000 0x0 0x80000000 0xb 0x80000000 0x0 0x40000000>; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_clkreq_pins ð_clkreq_pins>; + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0 2>; + iommu-map-mask = <0xffff>; + iommu-map = <0x100 &pcie_dart 1 2>, <0x200 &apcie2_dart 1 1>; + msi-ranges = <&aic AIC_IRQ 2071 IRQ_TYPE_EDGE_RISING 32>; + msi-parent = <&pcie0>; + msi-controller; + /* indexed by port */ + interrupts = , + , + ; + interrupt-parent = <&aic>; + device_type = "pci"; + + port00: pci@0,0 { + reg = <0 0 0 0 0>; + ranges; + interrupt-map = <0 0 0 1 &port00 0 0 0 0>, + <0 0 0 2 &port00 0 0 0 1>, + <0 0 0 3 &port00 0 0 0 2>, + <0 0 0 4 &port00 0 0 0 3>; + interrupt-map-mask = <0 0 0 7>; + #interrupt-cells = <1>; + interrupt-controller; + #address-cells = <3>; + #size-cells = <2>; + /* ADT /amfm reg_on gP13 */ + pwren-gpios = <&smc_gpio 0x13 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>; + device_type = "pci"; + + bluetooth0: bluetooth@0,1 { + compatible = "pci14e4,5f72"; + reg = <0x100 0 0 0 0>; + /* To be filled by the loader */ + local-bd-address = [00 00 00 00 00 00]; + /* ADT /arm-io/wlan module-instance */ + brcm,board-type = "apple,sakhalin"; + status = "okay"; + }; + + wifi0: wifi@0,0 { + compatible = "pci14e4,4434", "brcm,bcm4329-fmac"; + reg = <0 0 0 0 0>; + brcm,ccode-map-trivial; + brcm,board-type = "apple,sakhalin"; + }; + }; + + port02: pci@2,0 { + device_type = "pci"; + reg = <0x1000 0 0 0 0>; + reset-gpios = <&pinctrl 6 GPIO_ACTIVE_LOW>; + bus-range = <2 2>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port02 0 0 0 0>, + <0 0 0 2 &port02 0 0 0 1>, + <0 0 0 3 &port02 0 0 0 2>, + <0 0 0 4 &port02 0 0 0 3>; + + ethernet0: ethernet@0,0 { + reg = <0x20000 0x0 0x0 0x0 0x0>; + /* To be filled by the loader */ + local-mac-address = [00 10 18 00 00 00]; + }; + }; + }; +}; + +&ans_mbox { + status = "okay"; +}; + +&ans_sart { + status = "okay"; +}; + +&nvme { + status = "okay"; +}; + +&pmp_dart { + status = "okay"; +}; + +&pmp_report { + status = "okay"; +}; + +&pmp { + status = "okay"; +}; + +&pmp_mbox { + status = "okay"; +}; + +&pmc { + status = "okay"; +}; + +&mcc { + status = "okay"; +}; + +&aop { + status = "okay"; +}; + +&aop_mbox { + status = "okay"; +}; + +&aop_dart { + status = "okay"; +}; + +/* No ambient light sensor and no lid. */ +&aop_als { + status = "disabled"; +}; + +&aop_las { + status = "disabled"; +}; + +&admac0 { + status = "okay"; +}; + +&admac1 { + status = "okay"; +}; + +/* + * No microphones: only the jack's streams, "cout" and "cin" on base-ns ADMAC + * channels 4 and 5 (ADT audio-codec-output and audio-codec-input). + */ +&aop_audio { + dmas = <&admac1 4>, <&admac1 5>; + dma-names = "cout", "cin"; + apple,chassis-name = "J773"; + apple,machine-kind = "Mac mini"; +}; + +/* + * The SN012776 speaker amp (ADT /arm-io/i2c1/audio-speaker): interrupt on AP + * pin 55, sense slots from speaker-config as on the J616s. Disabled with the + * speaker card. + */ +&i2c1 { + speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + SDZ-supply = <&speaker_sdz>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker"; + interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <0>; + ti,vmon-slot-no = <2>; + status = "disabled"; + }; +}; + +/* + * The CS42L84 headphone codec (ADT /arm-io/i2c2/audio-codec-output@4B): + * reset on nub pin 58, interrupt on AP pin 106, as on the J616s. + */ +&i2c2 { + status = "okay"; + + jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + reset-gpios = <&pinctrl_nub 58 GPIO_ACTIVE_HIGH>; + #sound-dai-cells = <0>; + interrupts-extended = <&pinctrl 106 IRQ_TYPE_LEVEL_LOW>; + sound-name-prefix = "Jack"; + }; +}; + +/* As on the J616s: the loaded GPU firmware keeps running across sleep. */ +&ps_afr { + apple,always-on; +}; + +&ps_gfx { + apple,always-on; +}; + +/* The loader fills the operating points, calibration and all six memory regions. */ +&agx_mbox { + status = "okay"; +}; + +&gpu { + memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>, + <&gpu_fw_data>, <&uat_l2_pagetables>, <&gpu_fw_text>; + memory-region-names = "ttbs", "pagetables", "handoff", "fw-data", + "l2-pagetables", "fw-text"; + operating-points-v2 = <&gpu_opp>; + apple,cs-opp = <&gpu_cs_opp>; + apple,afr-opp = <&gpu_afr_opp>; + apple,idle-off-delay-ms = <16>; + status = "okay"; +}; + +/* + * The three back Thunderbolt ports (ADT nub-spmi-a0 hpm0-2), all on one + * bus. The ADT lists the event, sleep and wake interrupts; select is event + * + 2. The two front ports are behind a hub, in t6040-j773s-usb-front.dtsi. + */ +&nub_spmi_a0 { + status = "okay"; + + hpm0: usb-pd@c { + compatible = "apple,sn201202x"; + reg = <0xc SPMI_USID>; + interrupts = <11 IRQ_TYPE_EDGE_RISING>, + <13 IRQ_TYPE_EDGE_RISING>, + <17 IRQ_TYPE_EDGE_RISING>, + <19 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "select", "sleep", "wake"; + + typec0: connector { + compatible = "usb-c-connector"; + label = "USB-C Back Middle"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec0_connector_hs: endpoint { + remote-endpoint = <&dwc3_0_hs>; + }; + }; + + port@1 { + reg = <1>; + typec0_connector_ss: endpoint { + remote-endpoint = <&atcphy0_ss>; + }; + }; + }; + }; + }; + + hpm1: usb-pd@a { + compatible = "apple,sn201202x"; + reg = <0xa SPMI_USID>; + interrupts = <37 IRQ_TYPE_EDGE_RISING>, + <39 IRQ_TYPE_EDGE_RISING>, + <43 IRQ_TYPE_EDGE_RISING>, + <45 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "select", "sleep", "wake"; + + typec1: connector { + compatible = "usb-c-connector"; + label = "USB-C Back Left"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec1_connector_hs: endpoint { + remote-endpoint = <&dwc3_1_hs>; + }; + }; + + port@1 { + reg = <1>; + typec1_connector_ss: endpoint { + remote-endpoint = <&atcphy1_ss>; + }; + }; + }; + }; + }; + + hpm2: usb-pd@8 { + compatible = "apple,sn201202x"; + reg = <0x8 SPMI_USID>; + interrupts = <63 IRQ_TYPE_EDGE_RISING>, + <65 IRQ_TYPE_EDGE_RISING>, + <69 IRQ_TYPE_EDGE_RISING>, + <71 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "select", "sleep", "wake"; + + typec2: connector { + compatible = "usb-c-connector"; + label = "USB-C Back Right"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec2_connector_hs: endpoint { + remote-endpoint = <&dwc3_2_hs>; + }; + }; + + port@1 { + reg = <1>; + typec2_connector_ss: endpoint { + remote-endpoint = <&atcphy2_ss>; + }; + }; + }; + }; + }; +}; + +&atcphy0 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + atcphy0_ss: endpoint { + remote-endpoint = <&typec0_connector_ss>; + }; + }; + + port@1 { + reg = <1>; + atcphy0_usb3: endpoint { + remote-endpoint = <&dwc3_0_ss>; + }; + }; + }; +}; + +&atcphy0_mbox { + status = "okay"; +}; + +&dwc3_0_dart_0 { + status = "okay"; +}; + +&dwc3_0_dart_1 { + status = "okay"; +}; + +&dwc3_0 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_0_hs: endpoint { + remote-endpoint = <&typec0_connector_hs>; + }; + }; + + port@1 { + reg = <1>; + dwc3_0_ss: endpoint { + remote-endpoint = <&atcphy0_usb3>; + }; + }; + }; +}; + +&atcphy1 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + atcphy1_ss: endpoint { + remote-endpoint = <&typec1_connector_ss>; + }; + }; + + port@1 { + reg = <1>; + atcphy1_usb3: endpoint { + remote-endpoint = <&dwc3_1_ss>; + }; + }; + }; +}; + +&atcphy1_mbox { + status = "okay"; +}; + +&dwc3_1_dart_0 { + status = "okay"; +}; + +&dwc3_1_dart_1 { + status = "okay"; +}; + +&dwc3_1 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_1_hs: endpoint { + remote-endpoint = <&typec1_connector_hs>; + }; + }; + + port@1 { + reg = <1>; + dwc3_1_ss: endpoint { + remote-endpoint = <&atcphy1_usb3>; + }; + }; + }; +}; + +&atcphy2 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + atcphy2_ss: endpoint { + remote-endpoint = <&typec2_connector_ss>; + }; + }; + + port@1 { + reg = <1>; + atcphy2_usb3: endpoint { + remote-endpoint = <&dwc3_2_ss>; + }; + }; + }; +}; + +&atcphy2_mbox { + status = "okay"; +}; + +&dwc3_2_dart_0 { + status = "okay"; +}; + +&dwc3_2_dart_1 { + status = "okay"; +}; + +&dwc3_2 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_2_hs: endpoint { + remote-endpoint = <&typec2_connector_hs>; + }; + }; + + port@1 { + reg = <1>; + dwc3_2_ss: endpoint { + remote-endpoint = <&atcphy2_usb3>; + }; + }; + }; +}; + +#include "t6040-j773s-usb3.dtsi" +#include "t6040-j773s-usb-front.dtsi" + +/* The video encoder, its DARTs and its power domains. */ +&ps_venc0_sys { + status = "okay"; +}; + +&ps_venc0_dma { + status = "okay"; +}; + +&ps_venc0_pipe4 { + status = "okay"; +}; + +&ps_venc0_pipe5 { + status = "okay"; +}; + +&ps_venc0_me0 { + status = "okay"; +}; + +&ps_venc0_me1 { + status = "okay"; +}; + +&ave0_dart0 { + status = "okay"; +}; + +&ave0_dart1 { + status = "okay"; +}; + +&ave { + status = "okay"; +}; + +/* The JPEG codecs (ADT jpeg0 and jpeg1), as on the J616s. */ +&ps_jpg { + status = "okay"; +}; + +&jpeg0_dart { + status = "okay"; +}; + +&jpeg0 { + status = "okay"; +}; + +&jpeg1_dart { + status = "okay"; +}; + +&jpeg1 { + status = "okay"; +}; + +/* The Abbey PMICs on the two other NUB SPMI buses (ADT spmi-abbeyF1/F2). */ +&nub_spmi1 { + status = "okay"; + + pmic@e { + compatible = "apple,abbey-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + }; +}; + +&nub_spmi2 { + status = "okay"; + + pmic@e { + compatible = "apple,abbey-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + }; +}; + +&ps_nub_spmi_ahb { + status = "okay"; +}; + +&ps_nub_spmi1 { + status = "okay"; +}; + +&ps_nub_spmi2 { + status = "okay"; +}; + +/* As on the J616s: idle until the loader fills the preload reservations. */ +&ane0_dart0 { + status = "okay"; +}; + +&ane0_dart1 { + status = "okay"; +}; + +&ane0_dart2 { + status = "okay"; +}; + +&ane { + memory-region = <&ane_fw_text>, <&ane_fw_data>; + memory-region-names = "firmware-text", "firmware-data"; + power-domains = <&ps_ane_sys>, <&ps_ane_cpu>, <&ps_ane_mpm>, + <&ps_ane_td>, <&ps_ane_base>, <&pmc_soc_max>; + power-domain-names = "sys", "cpu", "mpm", "td", "base", "perf"; + status = "okay"; +}; + +/* + * HDMI is not described: it runs through the LPDPTX PHY (ADT lpdptx-phy0, + * display crossbar output 4) and a converter on i2c8, which have no T6040 + * driver. The SEP stays off: its driver only runs on boards whose Touch ID + * wiring was read. + */ diff --git a/arch/arm64/boot/dts/apple/t6040-pmgr.dtsi b/arch/arm64/boot/dts/apple/t6040-pmgr.dtsi new file mode 100644 index 0000000000000..038086dbe3caf --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6040-pmgr.dtsi @@ -0,0 +1,1579 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * T6040 PMGR power domains the T6041 tree does not describe yet. + * + * The J773s and J616c ADTs list the same domains at the same offsets; + * t604x-pmgr.dtsi holds the ones the J616c has qualified. + * + * Copyright The Asahi Linux Contributors + */ + +&pmgr { + ps_apcie_gp: power-controller@100 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "apcie_gp"; + status = "disabled"; + }; + + ps_fab4_soc: power-controller@128 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x128 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab4_soc"; + power-domains = <&ps_afc>; + apple,always-on; + }; + + ps_fpwm1: power-controller@140 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x140 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fpwm1"; + power-domains = <&ps_sio>; + status = "disabled"; + }; + + ps_fpwm2: power-controller@148 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x148 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fpwm2"; + power-domains = <&ps_sio>; + status = "disabled"; + }; + + ps_i2c0: power-controller@150 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x150 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c0"; + power-domains = <&ps_sio>; + status = "disabled"; + }; + + ps_i2c5: power-controller@178 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x178 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c5"; + power-domains = <&ps_sio>; + status = "disabled"; + }; + + ps_i2c7: power-controller@188 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x188 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c7"; + power-domains = <&ps_sio>; + status = "disabled"; + }; + + ps_uart_p: power-controller@1a0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "uart_p"; + power-domains = <&ps_sio>; + status = "disabled"; + }; + + ps_dpa_p: power-controller@1a8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dpa_p"; + power-domains = <&ps_sio>; + apple,always-on; + status = "disabled"; + }; + + ps_aes: power-controller@1b0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "aes"; + power-domains = <&ps_sio>; + apple,always-on; + status = "disabled"; + }; + + ps_spi0: power-controller@1b8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi0"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + + ps_spi1: power-controller@1c0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi1"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + + ps_spi3: power-controller@1d0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi3"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + + ps_spi4: power-controller@1d8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi4"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + + ps_spi5: power-controller@1e0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi5"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + + ps_uart_n: power-controller@1f0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "uart_n"; + power-domains = <&ps_uart_p>; + status = "disabled"; + }; + + ps_uart0: power-controller@1f8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "uart0"; + power-domains = <&ps_uart_p>; + status = "disabled"; + }; + + ps_uart1: power-controller@200 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x200 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "uart1"; + power-domains = <&ps_uart_p>; + status = "disabled"; + }; + + ps_uart2: power-controller@208 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "uart2"; + power-domains = <&ps_uart_p>; + status = "disabled"; + }; + + ps_uart3: power-controller@210 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x210 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "uart3"; + power-domains = <&ps_uart_p>; + status = "disabled"; + }; + + ps_uart4: power-controller@218 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x218 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "uart4"; + power-domains = <&ps_uart_p>; + status = "disabled"; + }; + + ps_uart5: power-controller@220 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x220 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "uart5"; + power-domains = <&ps_uart_p>; + status = "disabled"; + }; + + ps_uart6: power-controller@228 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x228 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "uart6"; + power-domains = <&ps_uart_p>; + status = "disabled"; + }; + + ps_dpa0: power-controller@230 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x230 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dpa0"; + power-domains = <&ps_dpa_p>; + status = "disabled"; + }; + + ps_dpa1: power-controller@238 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x238 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dpa1"; + power-domains = <&ps_dpa_p>; + status = "disabled"; + }; + + ps_dpa2: power-controller@240 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x240 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dpa2"; + power-domains = <&ps_dpa_p>; + status = "disabled"; + }; + + ps_dpa3: power-controller@248 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x248 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dpa3"; + power-domains = <&ps_dpa_p>; + status = "disabled"; + }; + + ps_dpa4: power-controller@250 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x250 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dpa4"; + power-domains = <&ps_dpa_p>; + status = "disabled"; + }; + + ps_disp_sys: power-controller@258 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x258 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp_sys"; + power-domains = <&ps_fab6_soc>; + status = "disabled"; + }; + + ps_amcc4: power-controller@260 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x260 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc4"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc5: power-controller@268 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x268 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc5"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc6: power-controller@270 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x270 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc6"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc7: power-controller@278 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x278 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc7"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc12: power-controller@280 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x280 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc12"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc13: power-controller@288 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc13"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc14: power-controller@290 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc14"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc15: power-controller@298 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc15"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_04: power-controller@2e0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_04"; + power-domains = <&ps_amcc4>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_05: power-controller@2e8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_05"; + power-domains = <&ps_amcc5>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_06: power-controller@2f0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_06"; + power-domains = <&ps_amcc6>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_07: power-controller@2f8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_07"; + power-domains = <&ps_amcc7>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_12: power-controller@300 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x300 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_12"; + power-domains = <&ps_amcc12>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_13: power-controller@308 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x308 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_13"; + power-domains = <&ps_amcc13>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_14: power-controller@310 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x310 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_14"; + power-domains = <&ps_amcc14>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_15: power-controller@318 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x318 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_15"; + power-domains = <&ps_amcc15>; + apple,always-on; + status = "disabled"; + }; + + ps_disp_fe: power-controller@368 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x368 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp_fe"; + power-domains = <&ps_disp_sys>; + status = "disabled"; + }; + + ps_apcie_sys_gp: power-controller@390 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x390 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "apcie_sys_gp"; + power-domains = <&ps_fab3_soc>, <&ps_apcie_gp>; + status = "disabled"; + }; + + ps_apcie_phy_sw: power-controller@398 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x398 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "apcie_phy_sw"; + power-domains = <&ps_apcie_sys_st0>, <&ps_apcie_sys_st1>; + status = "disabled"; + }; +}; + +&pmgr_aux { + ps_ecpu_0: power-controller@0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpu_0"; + status = "disabled"; + }; + + ps_ecpu_1: power-controller@8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpu_1"; + status = "disabled"; + }; + + ps_ecpu_2: power-controller@10 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x10 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpu_2"; + status = "disabled"; + }; + + ps_ecpu_3: power-controller@18 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x18 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpu_3"; + status = "disabled"; + }; + + ps_pcpu0_0: power-controller@20 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x20 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu0_0"; + status = "disabled"; + }; + + ps_pcpu0_1: power-controller@28 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x28 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu0_1"; + status = "disabled"; + }; + + ps_pcpu0_2: power-controller@30 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x30 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu0_2"; + status = "disabled"; + }; + + ps_pcpu0_3: power-controller@38 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x38 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu0_3"; + status = "disabled"; + }; + + ps_pcpu0_4: power-controller@40 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x40 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu0_4"; + status = "disabled"; + }; + + ps_pcpu0_5: power-controller@48 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x48 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu0_5"; + status = "disabled"; + }; + + ps_pcpu1_0: power-controller@50 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x50 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu1_0"; + status = "disabled"; + }; + + ps_pcpu1_1: power-controller@58 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x58 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu1_1"; + status = "disabled"; + }; + + ps_pcpu1_2: power-controller@60 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x60 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu1_2"; + status = "disabled"; + }; + + ps_pcpu1_3: power-controller@68 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x68 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu1_3"; + status = "disabled"; + }; + + ps_pcpu1_4: power-controller@70 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x70 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu1_4"; + status = "disabled"; + }; + + ps_pcpu1_5: power-controller@78 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x78 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu1_5"; + status = "disabled"; + }; + + ps_ecpm: power-controller@80 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x80 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpm"; + status = "disabled"; + }; + + ps_pcpm0: power-controller@88 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x88 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpm0"; + status = "disabled"; + }; + + ps_pcpm1: power-controller@90 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x90 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpm1"; + status = "disabled"; + }; + + ps_dwi: power-controller@108 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x108 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dwi"; + status = "disabled"; + }; + + ps_aic: power-controller@118 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x118 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "aic"; + power-domains = <&ps_pms>; + status = "disabled"; + }; + + ps_pmc: power-controller@120 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x120 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pmc"; + power-domains = <&ps_pms>; + apple,always-on; + status = "disabled"; + }; + + ps_pms_c1ppt: power-controller@128 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x128 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms_c1ppt"; + power-domains = <&ps_pms>; + apple,always-on; + status = "disabled"; + }; + + ps_soc_dpe: power-controller@130 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x130 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "soc_dpe"; + power-domains = <&ps_pms>; + apple,always-on; + status = "disabled"; + }; + + ps_pmgr_soc_ocla: power-controller@138 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x138 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pmgr_soc_ocla"; + status = "disabled"; + }; + + ps_pms_fpwm0: power-controller@140 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x140 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms_fpwm0"; + power-domains = <&ps_pms>; + apple,always-on; + status = "disabled"; + }; + + ps_pms_fpwm1: power-controller@148 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x148 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms_fpwm1"; + power-domains = <&ps_pms>; + apple,always-on; + status = "disabled"; + }; + + ps_pms_fpwm2: power-controller@150 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x150 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms_fpwm2"; + power-domains = <&ps_pms>; + apple,always-on; + status = "disabled"; + }; + + ps_pms_fpwm3: power-controller@158 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x158 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms_fpwm3"; + power-domains = <&ps_pms>; + apple,always-on; + status = "disabled"; + }; + + ps_pms_fpwm4: power-controller@160 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x160 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms_fpwm4"; + power-domains = <&ps_pms>; + apple,always-on; + status = "disabled"; + }; + + ps_fab0_soc: power-controller@168 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x168 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab0_soc"; + power-domains = <&ps_afi>; + apple,always-on; + }; + + ps_amcc0: power-controller@180 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x180 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc0"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_00: power-controller@188 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x188 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_00"; + power-domains = <&ps_amcc0>; + apple,always-on; + status = "disabled"; + }; + + ps_rom: power-controller@190 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x190 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "rom"; + power-domains = <&ps_amcc0>; + status = "disabled"; + }; + + ps_amcc1: power-controller@198 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x198 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc1"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_01: power-controller@1a0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_01"; + power-domains = <&ps_amcc1>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc2: power-controller@1a8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc2"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_02: power-controller@1b0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_02"; + power-domains = <&ps_amcc2>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc3: power-controller@1b8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc3"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_03: power-controller@1c0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_03"; + power-domains = <&ps_amcc3>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc8: power-controller@1c8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc8"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_08: power-controller@1d0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_08"; + power-domains = <&ps_amcc8>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc9: power-controller@1d8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc9"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_09: power-controller@1e0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_09"; + power-domains = <&ps_amcc9>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc10: power-controller@1e8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc10"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_10: power-controller@1f0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_10"; + power-domains = <&ps_amcc10>; + apple,always-on; + status = "disabled"; + }; + + ps_amcc11: power-controller@1f8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "amcc11"; + power-domains = <&ps_afc>; + apple,always-on; + status = "disabled"; + }; + + ps_dcs_11: power-controller@200 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x200 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dcs_11"; + power-domains = <&ps_amcc11>; + apple,always-on; + status = "disabled"; + }; + + ps_fab_gw_0: power-controller@288 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab_gw_0"; + apple,always-on; + status = "disabled"; + }; + + ps_fab_gw_1: power-controller@290 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab_gw_1"; + apple,always-on; + status = "disabled"; + }; + + ps_fab_afr: power-controller@298 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab_afr"; + apple,always-on; + status = "disabled"; + }; + + ps_fab1_soc: power-controller@2d0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2d0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab1_soc"; + power-domains = <&ps_afi>; + apple,always-on; + status = "disabled"; + }; + + ps_scodec: power-controller@328 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x328 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "scodec"; + power-domains = <&ps_fab1_soc>; + status = "disabled"; + }; + + ps_scodec_streaming: power-controller@330 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x330 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "scodec_streaming"; + power-domains = <&ps_scodec>; + status = "disabled"; + }; + + ps_fab2_soc: power-controller@338 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x338 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab2_soc"; + power-domains = <&ps_afi>; + apple,always-on; + }; + + ps_dispext0_sys: power-controller@340 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x340 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dispext0_sys"; + power-domains = <&ps_fab2_soc>; + status = "disabled"; + }; + + ps_dispext0_fe: power-controller@348 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x348 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dispext0_fe"; + power-domains = <&ps_dispext0_sys>; + status = "disabled"; + }; + + ps_dispext0_cpu: power-controller@350 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x350 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dispext0_cpu"; + power-domains = <&ps_dispext0_fe>; + status = "disabled"; + }; + + ps_atc0_cio: power-controller@398 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x398 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0_cio"; + power-domains = <&ps_atc0_common>; + status = "disabled"; + }; + + ps_atc0_pcie: power-controller@3a0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0_pcie"; + power-domains = <&ps_atc0_common>; + status = "disabled"; + }; + + ps_atc0_cio_pcie: power-controller@3a8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0_cio_pcie"; + power-domains = <&ps_atc0_cio>; + status = "disabled"; + }; + + ps_atc0_cio_usb: power-controller@3b0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3b0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0_cio_usb"; + power-domains = <&ps_atc0_cio>; + status = "disabled"; + }; + + ps_atc1_cio: power-controller@3c0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1_cio"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + + ps_atc1_pcie: power-controller@3c8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3c8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1_pcie"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + + ps_atc1_cio_pcie: power-controller@3d0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3d0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1_cio_pcie"; + power-domains = <&ps_atc1_cio>; + status = "disabled"; + }; + + ps_atc1_cio_usb: power-controller@3d8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1_cio_usb"; + power-domains = <&ps_atc1_cio>; + status = "disabled"; + }; + + ps_atc2_cio: power-controller@3e8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2_cio"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + + ps_atc2_pcie: power-controller@3f0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2_pcie"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + + ps_atc2_cio_pcie: power-controller@3f8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2_cio_pcie"; + power-domains = <&ps_atc2_cio>; + status = "disabled"; + }; + + ps_atc2_cio_usb: power-controller@400 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x400 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2_cio_usb"; + power-domains = <&ps_atc2_cio>; + status = "disabled"; + }; + + ps_atc3_cio: power-controller@420 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x420 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc3_cio"; + power-domains = <&ps_atc3_common>; + status = "disabled"; + }; + + ps_atc3_pcie: power-controller@428 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x428 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc3_pcie"; + power-domains = <&ps_atc3_common>; + status = "disabled"; + }; + + ps_atc3_cio_pcie: power-controller@430 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x430 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc3_cio_pcie"; + power-domains = <&ps_atc3_cio>; + status = "disabled"; + }; + + ps_atc3_cio_usb: power-controller@438 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x438 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc3_cio_usb"; + power-domains = <&ps_atc3_cio>; + status = "disabled"; + }; + + ps_fab5_soc: power-controller@440 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x440 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab5_soc"; + power-domains = <&ps_afi>; + apple,always-on; + }; + + ps_sbr: power-controller@448 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x448 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sbr"; + power-domains = <&ps_fab5_soc>; + apple,always-on; + status = "disabled"; + }; + + ps_gpio: power-controller@450 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x450 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gpio"; + power-domains = <&ps_sbr>; + status = "disabled"; + }; + + ps_msg: power-controller@458 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x458 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msg"; + power-domains = <&ps_sbr>; + status = "disabled"; + }; + + ps_ap_tmm: power-controller@468 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x468 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ap_tmm"; + power-domains = <&ps_sbr>; + status = "disabled"; + }; + + /* MSR0-DART (gate 425) aliases physical MSR0 (130), like MSR0-V. */ + ps_msr0: ps_msr0_dart: power-controller@470 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x470 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0"; + power-domains = <&ps_fab5_soc>; + status = "disabled"; + }; + + ps_msr0_ase_core: power-controller@478 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x478 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0_ase_core"; + power-domains = <&ps_msr0>; + status = "disabled"; + }; + + ps_fab7_soc: power-controller@488 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x488 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab7_soc"; + power-domains = <&ps_afi>; + apple,always-on; + status = "disabled"; + }; + + ps_dispext1_sys: power-controller@490 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x490 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dispext1_sys"; + power-domains = <&ps_fab7_soc>; + status = "disabled"; + }; + + ps_dispext1_fe: power-controller@498 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x498 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dispext1_fe"; + power-domains = <&ps_dispext1_sys>; + status = "disabled"; + }; + + ps_dispext1_cpu: power-controller@4a0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x4a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "dispext1_cpu"; + power-domains = <&ps_dispext1_fe>; + status = "disabled"; + }; +}; + +&pmgr_mini { + ps_debug_gated: power-controller@0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "debug_gated"; + apple,always-on; + status = "disabled"; + }; + + ps_nub_spmi_ahb: power-controller@58 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x58 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_spmi_ahb"; + apple,always-on; + status = "disabled"; + }; + + ps_nub_spmi0: power-controller@60 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x60 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_spmi0"; + power-domains = <&ps_nub_spmi_ahb>; + apple,always-on; + status = "disabled"; + }; + + ps_nub_spmi_a2: power-controller@78 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x78 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_spmi_a2"; + apple,always-on; + status = "disabled"; + }; + + ps_nub_spi0: power-controller@80 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x80 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_spi0"; + apple,always-on; + status = "disabled"; + }; + + ps_nub_aon: power-controller@88 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x88 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_aon"; + apple,always-on; + status = "disabled"; + }; + + ps_nub_ocla: power-controller@98 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x98 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_ocla"; + apple,always-on; + status = "disabled"; + }; + + ps_nub_spmi1: power-controller@c0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xc0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_spmi1"; + power-domains = <&ps_nub_spmi_ahb>; + apple,always-on; + status = "disabled"; + }; + + ps_nub_spmi2: power-controller@e8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xe8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_spmi2"; + power-domains = <&ps_nub_spmi_ahb>; + apple,always-on; + status = "disabled"; + }; + + ps_nub_spmi3: power-controller@f0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xf0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_spmi3"; + power-domains = <&ps_nub_spmi_ahb>; + apple,always-on; + status = "disabled"; + }; + + ps_nub_spmi4: power-controller@f8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xf8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_spmi4"; + power-domains = <&ps_nub_spmi_ahb>; + apple,always-on; + status = "disabled"; + }; + + ps_nub_fabric: power-controller@100 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_fabric"; + apple,always-on; + status = "disabled"; + }; + + ps_nub_sram: power-controller@108 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x108 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "nub_sram"; + power-domains = <&ps_nub_fabric>; + apple,always-on; + status = "disabled"; + }; + + ps_debug_switch: power-controller@110 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "debug_switch"; + apple,always-on; + status = "disabled"; + }; +}; + +&pmgr_gfx { + ps_gpx: power-controller@0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gpx"; + apple,always-on; + status = "disabled"; + }; +}; + +&pmgr_disp { + ps_disp_cpu: power-controller@0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp_cpu"; + power-domains = <&ps_disp_fe>; + status = "disabled"; + }; +}; + +&ps_avd_sys { + power-domains = <&ps_fab0_soc>; +}; + +&ps_atc0_common { + power-domains = <&ps_fab2_soc>; +}; + +&ps_atc1_common { + power-domains = <&ps_fab2_soc>; +}; + +&ps_atc2_common { + power-domains = <&ps_fab2_soc>; +}; + +&ps_atc3_common { + power-domains = <&ps_fab2_soc>; +}; + +&ps_ane_sys { + power-domains = <&ps_fab5_soc>, <&ps_fab4_soc>; +}; + +&ps_pmp { + power-domains = <&ps_pms>; +}; + +&ps_pms_sram { + power-domains = <&ps_pms>; +}; + +&ps_jpg { + power-domains = <&ps_fab4_soc>; +}; + +&ps_venc0_sys { + power-domains = <&ps_fab0_soc>; +}; diff --git a/arch/arm64/boot/dts/apple/t6040-usb4.dtsi b/arch/arm64/boot/dts/apple/t6040-usb4.dtsi new file mode 100644 index 0000000000000..dbe1e9c8a7a6f --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6040-usb4.dtsi @@ -0,0 +1,519 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * T6040 USB4/PCIe-C resource description. + * + * Every node remains disabled until the Type-C PHY transition, bootloader + * tuning handoff, and dynamic PCIe RID-to-SID policy are qualified. + */ + +/ { + aliases { + usb4-0-rc = &usb4_0_acio; + usb4-0-nhi = &usb4_0_nhi; + usb4-0-pcie = &usb4_0_pcie; + usb4-0-pcie-adapter = &usb4_0_acio; + usb4-1-rc = &usb4_1_acio; + usb4-1-nhi = &usb4_1_nhi; + usb4-1-pcie = &usb4_1_pcie; + usb4-1-pcie-adapter = &usb4_1_acio; + usb4-2-rc = &usb4_2_acio; + usb4-2-nhi = &usb4_2_nhi; + usb4-2-pcie = &usb4_2_pcie; + usb4-2-pcie-adapter = &usb4_2_acio; + }; + + usb4_0_acio: cio@381ac0000 { + compatible = "apple,t6040-usb4-acio"; + reg = <0x3 0x81ac0000 0x0 0xc000>, + <0x3 0x81080000 0x0 0x26000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81100000 0x0 0x4000>; + reg-names = "rc", "sram", "pcie-adapter", "cpu"; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-names = "sram-parity"; + mboxes = <&usb4_0_mbox>; + resets = <&ps_atc0_cio>; + power-domains = <&ps_atc0_cio>, <&ps_atc0_cio_pcie>, + <&ps_atc0_cio_usb>, <&ps_atc0_pcie>; + thunderbolt-switch; + apple,pcie-tunnel = <&usb4_0_pcie_tunnel>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x3 0x80000000 0x2000000>; + nonposted-mmio; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + endpoint { }; + }; + }; + + usb4_0_dart: iommu@1a80000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x1a80000 0xc000>; + #iommu-cells = <1>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + usb4_0_nhi: nhi@1f00000 { + compatible = "apple,t6040-usb4-nhi"; + reg = <0x1f00000 0x100000>; + reg-names = "nhi"; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "txring0", "txring1", "txring2", "txring3", + "txring4", "txring5", "txring6", "txring7", + "txring8", "txring9", "txring10", "txring11", + "rxring0", "rxring1", "rxring2", "rxring3", + "rxring4", "rxring5", "rxring6", "rxring7", + "rxring8", "rxring9", "rxring10", "rxring11"; + iommus = <&usb4_0_dart 0>, <&usb4_0_dart 1>, + <&usb4_0_dart 2>, <&usb4_0_dart 3>, + <&usb4_0_dart 4>, <&usb4_0_dart 5>, + <&usb4_0_dart 6>, <&usb4_0_dart 7>, + <&usb4_0_dart 8>, <&usb4_0_dart 9>, + <&usb4_0_dart 10>, <&usb4_0_dart 11>, + <&usb4_0_dart 16>, <&usb4_0_dart 17>, + <&usb4_0_dart 18>, <&usb4_0_dart 19>, + <&usb4_0_dart 20>, <&usb4_0_dart 21>, + <&usb4_0_dart 22>, <&usb4_0_dart 23>, + <&usb4_0_dart 24>, <&usb4_0_dart 25>, + <&usb4_0_dart 26>, <&usb4_0_dart 27>; + /* To be filled by the loader. */ + apple,thunderbolt-drom = [00]; + status = "disabled"; + }; + }; + + usb4_1_acio: cio@389ac0000 { + compatible = "apple,t6040-usb4-acio"; + reg = <0x3 0x89ac0000 0x0 0xc000>, + <0x3 0x89080000 0x0 0x26000>, + <0x3 0x89e44000 0x0 0x4000>, + <0x3 0x89100000 0x0 0x4000>; + reg-names = "rc", "sram", "pcie-adapter", "cpu"; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-names = "sram-parity"; + mboxes = <&usb4_1_mbox>; + resets = <&ps_atc1_cio>; + power-domains = <&ps_atc1_cio>, <&ps_atc1_cio_pcie>, + <&ps_atc1_cio_usb>, <&ps_atc1_pcie>; + thunderbolt-switch; + apple,pcie-tunnel = <&usb4_1_pcie_tunnel>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x3 0x88000000 0x2000000>; + nonposted-mmio; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + endpoint { }; + }; + }; + + usb4_1_dart: iommu@1a80000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x1a80000 0xc000>; + #iommu-cells = <1>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + usb4_1_nhi: nhi@1f00000 { + compatible = "apple,t6040-usb4-nhi"; + reg = <0x1f00000 0x100000>; + reg-names = "nhi"; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "txring0", "txring1", "txring2", "txring3", + "txring4", "txring5", "txring6", "txring7", + "txring8", "txring9", "txring10", "txring11", + "rxring0", "rxring1", "rxring2", "rxring3", + "rxring4", "rxring5", "rxring6", "rxring7", + "rxring8", "rxring9", "rxring10", "rxring11"; + iommus = <&usb4_1_dart 0>, <&usb4_1_dart 1>, + <&usb4_1_dart 2>, <&usb4_1_dart 3>, + <&usb4_1_dart 4>, <&usb4_1_dart 5>, + <&usb4_1_dart 6>, <&usb4_1_dart 7>, + <&usb4_1_dart 8>, <&usb4_1_dart 9>, + <&usb4_1_dart 10>, <&usb4_1_dart 11>, + <&usb4_1_dart 16>, <&usb4_1_dart 17>, + <&usb4_1_dart 18>, <&usb4_1_dart 19>, + <&usb4_1_dart 20>, <&usb4_1_dart 21>, + <&usb4_1_dart 22>, <&usb4_1_dart 23>, + <&usb4_1_dart 24>, <&usb4_1_dart 25>, + <&usb4_1_dart 26>, <&usb4_1_dart 27>; + /* To be filled by the loader. */ + apple,thunderbolt-drom = [00]; + status = "disabled"; + }; + }; + + usb4_2_acio: cio@391ac0000 { + compatible = "apple,t6040-usb4-acio"; + reg = <0x3 0x91ac0000 0x0 0xc000>, + <0x3 0x91080000 0x0 0x26000>, + <0x3 0x91e44000 0x0 0x4000>, + <0x3 0x91100000 0x0 0x4000>; + reg-names = "rc", "sram", "pcie-adapter", "cpu"; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-names = "sram-parity"; + mboxes = <&usb4_2_mbox>; + resets = <&ps_atc2_cio>; + power-domains = <&ps_atc2_cio>, <&ps_atc2_cio_pcie>, + <&ps_atc2_cio_usb>, <&ps_atc2_pcie>; + thunderbolt-switch; + apple,pcie-tunnel = <&usb4_2_pcie_tunnel>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x3 0x90000000 0x2000000>; + nonposted-mmio; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + endpoint { }; + }; + }; + + usb4_2_dart: iommu@1a80000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x1a80000 0xc000>; + #iommu-cells = <1>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + usb4_2_nhi: nhi@1f00000 { + compatible = "apple,t6040-usb4-nhi"; + reg = <0x1f00000 0x100000>; + reg-names = "nhi"; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "txring0", "txring1", "txring2", "txring3", + "txring4", "txring5", "txring6", "txring7", + "txring8", "txring9", "txring10", "txring11", + "rxring0", "rxring1", "rxring2", "rxring3", + "rxring4", "rxring5", "rxring6", "rxring7", + "rxring8", "rxring9", "rxring10", "rxring11"; + iommus = <&usb4_2_dart 0>, <&usb4_2_dart 1>, + <&usb4_2_dart 2>, <&usb4_2_dart 3>, + <&usb4_2_dart 4>, <&usb4_2_dart 5>, + <&usb4_2_dart 6>, <&usb4_2_dart 7>, + <&usb4_2_dart 8>, <&usb4_2_dart 9>, + <&usb4_2_dart 10>, <&usb4_2_dart 11>, + <&usb4_2_dart 16>, <&usb4_2_dart 17>, + <&usb4_2_dart 18>, <&usb4_2_dart 19>, + <&usb4_2_dart 20>, <&usb4_2_dart 21>, + <&usb4_2_dart 22>, <&usb4_2_dart 23>, + <&usb4_2_dart 24>, <&usb4_2_dart 25>, + <&usb4_2_dart 26>, <&usb4_2_dart 27>; + /* To be filled by the loader. */ + apple,thunderbolt-drom = [00]; + status = "disabled"; + }; + }; + + usb4_0_pcie_tunnel: usb4-pcie-tunnel-0 { + #address-cells = <2>; + #size-cells = <2>; + ranges; + nonposted-mmio; + status = "disabled"; + + apciec0_dart: iommu@384000000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x3 0x84000000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + usb4_0_pcie: pcie@1c50000000 { + compatible = "apple,t6040-pciec"; + device_type = "pci"; + reg = <0x1c 0x50000000 0x0 0x10000000>, + <0x3 0x84034000 0x0 0x4000>, + <0x3 0x84020000 0x0 0x8000>, + <0x3 0x84038000 0x0 0x4000>, + <0x3 0x84060000 0x0 0x4000>, + <0x3 0x80020000 0x0 0x4000>, + <0x3 0x8402c000 0x0 0x4000>, + <0x3 0x84028000 0x0 0x4000>; + reg-names = "config", "rc", "port0", "fabric", "debug", + "ioa", "ltssm", "intr2axi"; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + ; + interrupt-names = "port", "intx-a", "intx-b", "intx-c", + "intx-d", "parity"; + power-domains = <&ps_atc0_pcie>; + msi-controller; + msi-parent = <&usb4_0_pcie>; + msi-ranges = <&aic AIC_IRQ 2103 IRQ_TYPE_EDGE_RISING 32>; + apple,msi-vector-base = <0x20>; + iommu-map = <0x0 &apciec0_dart 0x0 0x100>; + iommu-map-mask = <0xff>; + bus-range = <0x0 0x80>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x8 0x0 0x8 0x0 0x2 0x0>, + <0x02000000 0x0 0x100000 0xa 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0xa 0x40000000 0x0 0x40000000>; + status = "disabled"; + + usb4_0_pcie_port: pci@0,0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + external-facing; + #address-cells = <3>; + #size-cells = <2>; + ranges; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &usb4_0_pcie_port 0 0 0 0>, + <0 0 0 2 &usb4_0_pcie_port 0 0 0 1>, + <0 0 0 3 &usb4_0_pcie_port 0 0 0 2>, + <0 0 0 4 &usb4_0_pcie_port 0 0 0 3>; + }; + }; + }; + + usb4_1_pcie_tunnel: usb4-pcie-tunnel-1 { + #address-cells = <2>; + #size-cells = <2>; + ranges; + nonposted-mmio; + status = "disabled"; + + apciec1_dart: iommu@38c000000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x3 0x8c000000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + usb4_1_pcie: pcie@1c60000000 { + compatible = "apple,t6040-pciec"; + device_type = "pci"; + reg = <0x1c 0x60000000 0x0 0x10000000>, + <0x3 0x8c034000 0x0 0x4000>, + <0x3 0x8c020000 0x0 0x8000>, + <0x3 0x8c038000 0x0 0x4000>, + <0x3 0x8c060000 0x0 0x4000>, + <0x3 0x88020000 0x0 0x4000>, + <0x3 0x8c02c000 0x0 0x4000>, + <0x3 0x8c028000 0x0 0x4000>; + reg-names = "config", "rc", "port0", "fabric", "debug", + "ioa", "ltssm", "intr2axi"; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + ; + interrupt-names = "port", "intx-a", "intx-b", "intx-c", + "intx-d", "parity"; + power-domains = <&ps_atc1_pcie>; + msi-controller; + msi-parent = <&usb4_1_pcie>; + msi-ranges = <&aic AIC_IRQ 2135 IRQ_TYPE_EDGE_RISING 32>; + apple,msi-vector-base = <0x40>; + iommu-map = <0x0 &apciec1_dart 0x0 0x100>; + iommu-map-mask = <0xff>; + bus-range = <0x0 0x80>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0xc 0x0 0xc 0x0 0x2 0x0>, + <0x02000000 0x0 0x100000 0xe 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0xe 0x40000000 0x0 0x40000000>; + status = "disabled"; + + usb4_1_pcie_port: pci@0,0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + external-facing; + #address-cells = <3>; + #size-cells = <2>; + ranges; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &usb4_1_pcie_port 0 0 0 0>, + <0 0 0 2 &usb4_1_pcie_port 0 0 0 1>, + <0 0 0 3 &usb4_1_pcie_port 0 0 0 2>, + <0 0 0 4 &usb4_1_pcie_port 0 0 0 3>; + }; + }; + }; + + usb4_2_pcie_tunnel: usb4-pcie-tunnel-2 { + #address-cells = <2>; + #size-cells = <2>; + ranges; + nonposted-mmio; + status = "disabled"; + + apciec2_dart: iommu@394000000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x3 0x94000000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + usb4_2_pcie: pcie@1c70000000 { + compatible = "apple,t6040-pciec"; + device_type = "pci"; + reg = <0x1c 0x70000000 0x0 0x10000000>, + <0x3 0x94034000 0x0 0x4000>, + <0x3 0x94020000 0x0 0x8000>, + <0x3 0x94038000 0x0 0x4000>, + <0x3 0x94060000 0x0 0x4000>, + <0x3 0x90020000 0x0 0x4000>, + <0x3 0x9402c000 0x0 0x4000>, + <0x3 0x94028000 0x0 0x4000>; + reg-names = "config", "rc", "port0", "fabric", "debug", + "ioa", "ltssm", "intr2axi"; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + ; + interrupt-names = "port", "intx-a", "intx-b", "intx-c", + "intx-d", "parity"; + power-domains = <&ps_atc2_pcie>; + msi-controller; + msi-parent = <&usb4_2_pcie>; + msi-ranges = <&aic AIC_IRQ 2167 IRQ_TYPE_EDGE_RISING 32>; + apple,msi-vector-base = <0x60>; + iommu-map = <0x0 &apciec2_dart 0x0 0x100>; + iommu-map-mask = <0xff>; + bus-range = <0x0 0x80>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x10 0x0 0x10 0x0 0x2 0x0>, + <0x02000000 0x0 0x100000 0x12 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0x12 0x40000000 0x0 0x40000000>; + status = "disabled"; + + usb4_2_pcie_port: pci@0,0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + external-facing; + #address-cells = <3>; + #size-cells = <2>; + ranges; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &usb4_2_pcie_port 0 0 0 0>, + <0 0 0 2 &usb4_2_pcie_port 0 0 0 1>, + <0 0 0 3 &usb4_2_pcie_port 0 0 0 2>, + <0 0 0 4 &usb4_2_pcie_port 0 0 0 3>; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6040.dtsi b/arch/arm64/boot/dts/apple/t6040.dtsi index c901f331bc03e..bb9e68b23aac3 100644 --- a/arch/arm64/boot/dts/apple/t6040.dtsi +++ b/arch/arm64/boot/dts/apple/t6040.dtsi @@ -6,6 +6,571 @@ */ #include "t604x.dtsi" + +/* Blocks and properties the T6041 tree does not describe yet. */ +/ { + opp_p0: opp-table-p0 { + compatible = "operating-points-v2"; + opp-shared; + + opp01 { + opp-hz = /bits/ 64 <1260000000>; + opp-level = <1>; + opp-microwatt = <513000>; + }; + opp02 { + opp-hz = /bits/ 64 <1512000000>; + opp-level = <2>; + opp-microwatt = <715000>; + }; + opp03 { + opp-hz = /bits/ 64 <1800000000>; + opp-level = <3>; + opp-microwatt = <907500>; + }; + opp04 { + opp-hz = /bits/ 64 <2088000000>; + opp-level = <4>; + opp-microwatt = <1158200>; + }; + opp05 { + opp-hz = /bits/ 64 <2352000000>; + opp-level = <5>; + opp-microwatt = <1494500>; + }; + opp06 { + opp-hz = /bits/ 64 <2616000000>; + opp-level = <6>; + opp-microwatt = <1782600>; + }; + opp07 { + opp-hz = /bits/ 64 <2868000000>; + opp-level = <7>; + opp-microwatt = <2209600>; + }; + opp08 { + opp-hz = /bits/ 64 <3096000000>; + opp-level = <8>; + opp-microwatt = <2636700>; + }; + opp09 { + opp-hz = /bits/ 64 <3300000000>; + opp-level = <9>; + opp-microwatt = <3247200>; + }; + opp10 { + opp-hz = /bits/ 64 <3468000000>; + opp-level = <10>; + opp-microwatt = <3668700>; + }; + opp11 { + opp-hz = /bits/ 64 <3624000000>; + opp-level = <11>; + opp-microwatt = <4128200>; + }; + opp12 { + opp-hz = /bits/ 64 <3756000000>; + opp-level = <12>; + opp-microwatt = <4819300>; + }; + opp13 { + opp-hz = /bits/ 64 <3852000000>; + opp-level = <13>; + opp-microwatt = <4977700>; + }; + opp14 { + opp-hz = /bits/ 64 <3924000000>; + opp-level = <14>; + opp-microwatt = <5315900>; + }; + opp15 { + opp-hz = /bits/ 64 <3996000000>; + opp-level = <15>; + opp-microwatt = <5575900>; + }; + opp16 { + opp-hz = /bits/ 64 <4044000000>; + opp-level = <16>; + opp-microwatt = <5773400>; + }; + opp17 { + opp-hz = /bits/ 64 <4104000000>; + opp-level = <17>; + opp-microwatt = <5969200>; + }; + opp18 { + opp-hz = /bits/ 64 <4416000000>; + opp-level = <18>; + opp-microwatt = <8274900>; + }; + opp19 { + opp-hz = /bits/ 64 <4512000000>; + opp-level = <19>; + opp-microwatt = <9256900>; + }; + }; + + opp_p1: opp-table-p1 { + compatible = "operating-points-v2"; + opp-shared; + + opp01 { + opp-hz = /bits/ 64 <1260000000>; + opp-level = <1>; + opp-microwatt = <561800>; + }; + opp02 { + opp-hz = /bits/ 64 <1512000000>; + opp-level = <2>; + opp-microwatt = <772500>; + }; + opp03 { + opp-hz = /bits/ 64 <1800000000>; + opp-level = <3>; + opp-microwatt = <988900>; + }; + opp04 { + opp-hz = /bits/ 64 <2088000000>; + opp-level = <4>; + opp-microwatt = <1302300>; + }; + opp05 { + opp-hz = /bits/ 64 <2352000000>; + opp-level = <5>; + opp-microwatt = <1644100>; + }; + opp06 { + opp-hz = /bits/ 64 <2616000000>; + opp-level = <6>; + opp-microwatt = <2003700>; + }; + opp07 { + opp-hz = /bits/ 64 <2868000000>; + opp-level = <7>; + opp-microwatt = <2349000>; + }; + opp08 { + opp-hz = /bits/ 64 <3096000000>; + opp-level = <8>; + opp-microwatt = <2723000>; + }; + opp09 { + opp-hz = /bits/ 64 <3300000000>; + opp-level = <9>; + opp-microwatt = <3333200>; + }; + opp10 { + opp-hz = /bits/ 64 <3468000000>; + opp-level = <10>; + opp-microwatt = <3711900>; + }; + opp11 { + opp-hz = /bits/ 64 <3624000000>; + opp-level = <11>; + opp-microwatt = <4129900>; + }; + opp12 { + opp-hz = /bits/ 64 <3756000000>; + opp-level = <12>; + opp-microwatt = <4666300>; + }; + opp13 { + opp-hz = /bits/ 64 <3852000000>; + opp-level = <13>; + opp-microwatt = <4881000>; + }; + opp14 { + opp-hz = /bits/ 64 <3924000000>; + opp-level = <14>; + opp-microwatt = <5176700>; + }; + opp15 { + opp-hz = /bits/ 64 <3996000000>; + opp-level = <15>; + opp-microwatt = <5306500>; + }; + opp16 { + opp-hz = /bits/ 64 <4044000000>; + opp-level = <16>; + opp-microwatt = <5618900>; + }; + opp17 { + opp-hz = /bits/ 64 <4104000000>; + opp-level = <17>; + opp-microwatt = <5843100>; + }; + opp18 { + opp-hz = /bits/ 64 <4416000000>; + opp-level = <18>; + opp-microwatt = <8075300>; + }; + opp19 { + opp-hz = /bits/ 64 <4512000000>; + opp-level = <19>; + opp-microwatt = <8949200>; + }; + }; + + /* Named after its sgx range: the coprocessor range is the mailbox node's too. */ + gpu: gpu@288000000 { + compatible = "apple,agx-t6040"; + reg = <0x2 0x8a600000 0x0 0x88000>, + <0x2 0x88000000 0x0 0x3758000>; + reg-names = "asc", "sgx"; + mboxes = <&agx_mbox>; + power-domains = <&pmp_gfx>; + apple,clpc = <&clpc>; + status = "disabled"; + }; + + agx_mbox: mailbox@28a600000 { + compatible = "apple,t6040-ascwrap-v6"; + reg = <0x2 0x8a600000 0x0 0x88000>, + <0x2 0x8a050000 0x0 0x8>; + reg-names = "wrapper", "iop-vbar"; + interrupt-parent = <&aic>; + interrupts = , + ; + interrupt-names = "send-empty", "recv-not-empty"; + apple,firmware-role = "GFX"; + power-domains = <&ps_gfx>; + #mbox-cells = <0>; + status = "disabled"; + }; + + pmgr_disp: power-management@502290000 { + compatible = "apple,t6041-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x5 0x02290000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + }; +}; + +&pmc { + /* + * The SoC rail at its highest state. The video encoder runs on + * the fabric clock and encodes at less than half speed below it. + */ + pmc_soc_max: floor-soc-max { + label = "soc-max"; + #power-domain-cells = <0>; + apple,rail = <1>; + apple,level = <2>; + }; +}; + +&nub_spmi0 { + pmic_abbey: pmic@e { + compatible = "apple,abbey-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + + pmu_rtc: rtc { + compatible = "apple,t6041-pmu-rtc"; + interrupt-parent = <&nub_spmi0>; + interrupts = <2 IRQ_TYPE_EDGE_RISING>; + nvmem-cells = <&rtc_offset>; + nvmem-cell-names = "rtc_offset"; + wakeup-source; + }; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + rtc_offset: rtc-offset@2100 { + reg = <0x2100 0x6>; + }; + + boot_stage: boot-stage@f801 { + reg = <0xf801 0x1>; + }; + + boot_error_count: boot-error-count@f802,0 { + reg = <0xf802 0x1>; + bits = <0 4>; + }; + + panic_count: panic-count@f802,4 { + reg = <0xf802 0x1>; + bits = <4 4>; + }; + + shutdown_flag: shutdown-flag@f80f,3 { + reg = <0xf80f 0x1>; + bits = <3 1>; + }; + }; + }; +}; + +&aop { + /* The calibration properties come from the bootloader. */ + aop_accel: accel { + compatible = "apple,t6041-aop-accel", "apple,aop-accel"; + }; + + aop_gyro: gyro { + compatible = "apple,t6041-aop-gyro", "apple,aop-gyro"; + }; +}; + +/ { + apr0_dart: iommu@301020000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x3 0x01020000 0x0 0xc000>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x300 0x0>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + status = "disabled"; + }; + + apcie1_dart: iommu@411000000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + scaler0_dart: iommu@521260000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x5 0x21260000 0x0 0xc000>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x300 0x0>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr0_dart>; + status = "disabled"; + }; + + pinctrl_smc: pinctrl@50c824000 { + compatible = "apple,t6041-pinctrl", "apple,t8103-pinctrl"; + reg = <0x5 0x0c824000 0x0 0x4000>; + clocks = <&clkref>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_smc 0 0 24>; + apple,npins = <24>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + /* Coprocessor pins and interrupt groups need an ownership handoff. */ + status = "disabled"; + }; + + nub_spmi1: spmi@509054000 { + compatible = "apple,t6041-spmi", "apple,t8103-spmi"; + reg = <0x5 0x09054000 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + power-domains = <&ps_nub_spmi1>; + status = "disabled"; + }; + + nub_spmi2: spmi@509094000 { + compatible = "apple,t6041-spmi", "apple,t8103-spmi"; + reg = <0x5 0x09094000 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + power-domains = <&ps_nub_spmi2>; + status = "disabled"; + }; + + nub_spmi3: spmi@5090d4000 { + compatible = "apple,t6041-spmi", "apple,t8103-spmi"; + reg = <0x5 0x090d4000 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + power-domains = <&ps_nub_spmi3>; + status = "disabled"; + }; + + nub_spmi4: spmi@509114000 { + compatible = "apple,t6041-spmi", "apple,t8103-spmi"; + reg = <0x5 0x09114000 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + power-domains = <&ps_nub_spmi4>; + status = "disabled"; + }; + + aop_spmi0: spmi@510914000 { + compatible = "apple,t6041-spmi", "apple,t8103-spmi"; + reg = <0x5 0x10914000 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + #interrupt-cells = <2>; + interrupt-controller; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + spi4: spi@429110000 { + compatible = "apple,t6041-spi", "apple,t8103-spi"; + reg = <0x4 0x29110000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clkref>; + power-domains = <&ps_spi4>; + #address-cells = <1>; + #size-cells = <0>; + /* Panel/TCON control belongs to the display firmware. */ + status = "disabled"; + }; + + dcuart: serial@50883c000 { + compatible = "apple,dockchannel-uart"; + reg = <0x5 0x0883c000 0x0 0x4000>, + <0x5 0x08838000 0x0 0x4000>, + <0x5 0x0880c000 0x0 0x4000>; + reg-names = "data", "config", "irq"; + interrupt-parent = <&aic>; + interrupts = ; + apple,channel = <2>; + apple,sw-drain; + status = "disabled"; + }; + + /* ACIO 0 remains disabled until its host-router handoff is supported. */ + usb4_0_mbox: mailbox@381108000 { + compatible = "apple,t6041-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x81108000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_atc0_cio>; + status = "disabled"; + }; + + /* ACIO 1 remains disabled until its host-router handoff is supported. */ + usb4_1_mbox: mailbox@389108000 { + compatible = "apple,t6041-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x89108000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_atc1_cio>; + status = "disabled"; + }; + + /* ACIO 2 remains disabled until its host-router handoff is supported. */ + usb4_2_mbox: mailbox@391108000 { + compatible = "apple,t6041-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x91108000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_atc2_cio>; + status = "disabled"; + }; + +}; + +&avd { + power-domains = <&ps_avd_sys>, <&pmc_soc_max>; + power-domain-names = "core", "perf"; +}; + +&ave { + power-domains = <&ps_venc0_dma>, <&ps_venc0_pipe4>, + <&ps_venc0_pipe5>, <&ps_venc0_me0>, <&ps_venc0_me1>, + <&pmc_soc_max>; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1", "perf"; +}; + +&dwc3_0_dart_0 { + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; +}; + +&dwc3_0_dart_1 { + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; +}; + +&dwc3_1_dart_0 { + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; +}; + +&dwc3_1_dart_1 { + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; +}; + +&dwc3_2_dart_0 { + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; +}; + +&dwc3_2_dart_1 { + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; +}; + +&mtp_dart { + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; +}; + +&{/opp-table-e/opp01} { + opp-microwatt = <81900>; +}; + +&{/opp-table-e/opp02} { + opp-microwatt = <133100>; +}; + +&{/opp-table-e/opp03} { + opp-microwatt = <209400>; +}; + +&{/opp-table-e/opp04} { + opp-microwatt = <301400>; +}; + +&{/opp-table-e/opp05} { + opp-microwatt = <383900>; +}; + +&{/opp-table-e/opp06} { + opp-microwatt = <478500>; +}; + +&{/opp-table-e/opp07} { + opp-microwatt = <531000>; +}; + +&serial0 { + power-domains = <&ps_uart0>; + status = "disabled"; +}; + +&pmc { + apple,pmp = <&pmp>; +}; + +#include "t6040-pmgr.dtsi" #include "t6040-peripherals.dtsi" /* The M4 Pro has five cores in each P cluster. */ @@ -66,3 +631,5 @@ apple,peak-bandwidth-bytes-per-second = /bits/ 64 <273066666656>; apple,bandwidth-class-bytes-per-second = /bits/ 64 <273000000000>; }; + +#include "t6040-usb4.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6041-j575c.dts b/arch/arm64/boot/dts/apple/t6041-j575c.dts new file mode 100644 index 0000000000000..de0d491d90ca1 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6041-j575c.dts @@ -0,0 +1,1055 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Mac Studio (M4 Max, 2025) + * + * target-type: J575c + * + * The J616c's T6041 wiring with the desktop layout of the J773s and the + * other Mac Studio trees. There is no J575c ADT yet: values marked "guess" + * follow those boards. + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t6041.dtsi" +#include "t6041-j614-j616-j575-scaler.dtsi" +#include "t604x-j575-j773.dtsi" +#include "t6041-j616c-ane.dtsi" +#include +#include + +/ { + compatible = "apple,j575c", "apple,t6041", "apple,arm-platform"; + model = "Apple Mac Studio (M4 Max, 2025)"; + + aliases { + serial0 = &serial0; + wifi0 = "/pcie@1cb0000000/pci@0,0/wifi@0,0"; + bluetooth0 = "/pcie@1cb0000000/pci@0,0/bluetooth@0,1"; + ethernet0 = ðernet0; + gpu = &gpu; + aop = &aop; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + }; + + serial0: serial@429200000 { + compatible = "apple,s5l-uart"; + reg = <0x4 0x29200000 0x0 0x1000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + }; + + /* guess: the J616c's limits */ + thermal-zones { + cpu-die-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + thermal-sensors = <&smc_hwmon 0>; + + trips { + cpu_die_passive: cpu-die-passive { + temperature = <113000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu-die-critical { + temperature = <118000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&cpu_die_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p0 { + trip = <&cpu_die_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p05 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p1 { + trip = <&cpu_die_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p15 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + }; +}; + +&cpufreq_e { + /delete-property/ apple,fast-die-effort; +}; + +&cpufreq_p0 { + /delete-property/ apple,fast-die-effort; +}; + +&cpufreq_p1 { + /delete-property/ apple,fast-die-effort; +}; + +&wdt { + timeout-sec = <140>; +}; + +&smc { + status = "okay"; +}; + +&smc_mbox { + status = "okay"; +}; + +&nub_spmi0 { + status = "okay"; +}; + +&mcc { + status = "okay"; +}; + +/* guess: the J616c's CPU keys, and two fans as on the J575d */ +&smc_hwmon { + temperature-TCMz { + apple,key-id = "TCMz"; + label = "CPU Die Max"; + }; + + temperature-TCMb { + apple,key-id = "TCMb"; + label = "CPU TCMb"; + }; + + temperature-Tpx0 { + apple,key-id = "Tpx0"; + label = "CPU Tpx0"; + }; + + temperature-Tpx1 { + apple,key-id = "Tpx1"; + label = "CPU Tpx1"; + }; + + temperature-Tpx2 { + apple,key-id = "Tpx2"; + label = "CPU Tpx2"; + }; + + temperature-Tpx3 { + apple,key-id = "Tpx3"; + label = "CPU Tpx3"; + }; + + temperature-Tpx4 { + apple,key-id = "Tpx4"; + label = "CPU Tpx4"; + }; + + temperature-Tpx5 { + apple,key-id = "Tpx5"; + label = "CPU Tpx5"; + }; + + temperature-Tpx8 { + apple,key-id = "Tpx8"; + label = "CPU Tpx8"; + }; + + temperature-Tpx9 { + apple,key-id = "Tpx9"; + label = "CPU Tpx9"; + }; + + temperature-TpxA { + apple,key-id = "TpxA"; + label = "CPU TpxA"; + }; + + temperature-TpxB { + apple,key-id = "TpxB"; + label = "CPU TpxB"; + }; + + temperature-TpxC { + apple,key-id = "TpxC"; + label = "CPU TpxC"; + }; + + temperature-TpxD { + apple,key-id = "TpxD"; + label = "CPU TpxD"; + }; + + temperature-Tex0 { + apple,key-id = "Tex0"; + label = "CPU Tex0"; + }; + + temperature-Tex1 { + apple,key-id = "Tex1"; + label = "CPU Tex1"; + }; + + temperature-Tex2 { + apple,key-id = "Tex2"; + label = "CPU Tex2"; + }; + + temperature-Tex3 { + apple,key-id = "Tex3"; + label = "CPU Tex3"; + }; + + temperature-TW0P { + apple,key-id = "TW0P"; + label = "WiFi/BT Module Temp"; + }; +}; + +#include "hwmon-common.dtsi" +#include "hwmon-fan-dual.dtsi" + +&pinctrl { + status = "okay"; + + wifi_clkreq_pins: wifi-clkreq-pins { + pinmux = ; + }; + + /* guess: port N's CLKREQ is AP pin N, as on the J616c and J773s */ + sd_clkreq_pins: sd-clkreq-pins { + pinmux = ; + }; + + eth_clkreq_pins: eth-clkreq-pins { + pinmux = ; + }; + + xhci_clkreq_pins: xhci-clkreq-pins { + pinmux = ; + }; +}; + +&pinctrl_nub { + status = "okay"; + /delete-property/ interrupt-controller; + /delete-property/ #interrupt-cells; + /delete-property/ interrupts; +}; + +&pcie_dart { + status = "okay"; +}; + +&apcie2_dart { + status = "okay"; +}; + +/ { + /* The DART of port 1, the SD reader (J616c ADT dart-apcie1). */ + apcie1_dart: iommu@411000000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupt-parent = <&aic>; + interrupts = ; + }; + + /* guess: the DART of port 3, after those of ports 0 to 2 */ + apcie3_dart: iommu@413000000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x4 0x13000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupt-parent = <&aic>; + interrupts = ; + }; + + /* + * The Mac Studio layout of the J575d: Wi-Fi and Bluetooth on port 0, + * the SD reader on port 1, Ethernet on port 2 and the xHCI of the + * USB-A and front USB-C ports on port 3. The boot loader finds the + * Wi-Fi, Bluetooth and Ethernet nodes through the aliases. + */ + pcie0: pcie@1cb0000000 { + compatible = "apple,t6041-pcie", "apple,t6020-pcie"; + reg = <0x1c 0xb0000000 0x0 0x1000000>, + <0x4 0x14000000 0x0 0x4000>, + <0x4 0x10028000 0x0 0x4000>, + <0x4 0x11028000 0x0 0x4000>, + <0x4 0x12028000 0x0 0x4000>, + <0x4 0x13028000 0x0 0x4000>, + <0x4 0x17020000 0x0 0x4000>, + <0x4 0x17024000 0x0 0x4000>, + <0x4 0x17028000 0x0 0x4000>, + <0x4 0x1702c000 0x0 0x4000>; + reg-names = "config", "rc", + "port0", "port1", "port2", "port3", + "phy0", "phy1", "phy2", "phy3"; + ranges = <0x43000000 0xb 0xc0000000 0xb 0xc0000000 0x0 0x20000000>, + <0x02000000 0x0 0x80000000 0xb 0x80000000 0x0 0x40000000>; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_clkreq_pins &sd_clkreq_pins ð_clkreq_pins &xhci_clkreq_pins>; + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0 4>; + iommu-map-mask = <0xffff>; + iommu-map = <0x100 &pcie_dart 1 2>, <0x200 &apcie1_dart 1 1>, + <0x300 &apcie2_dart 1 1>, <0x400 &apcie3_dart 1 1>; + msi-ranges = <&aic AIC_IRQ 2071 IRQ_TYPE_EDGE_RISING 32>; + msi-parent = <&pcie0>; + msi-controller; + /* indexed by port, as in the J773s ADT */ + interrupts = , + , + , + ; + interrupt-parent = <&aic>; + device_type = "pci"; + + port00: pci@0,0 { + reg = <0 0 0 0 0>; + ranges; + interrupt-map = <0 0 0 1 &port00 0 0 0 0>, + <0 0 0 2 &port00 0 0 0 1>, + <0 0 0 3 &port00 0 0 0 2>, + <0 0 0 4 &port00 0 0 0 3>; + interrupt-map-mask = <0 0 0 7>; + #interrupt-cells = <1>; + interrupt-controller; + #address-cells = <3>; + #size-cells = <2>; + pwren-gpios = <&smc_gpio 0x13 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>; + device_type = "pci"; + + bluetooth@0,1 { + compatible = "pci14e4,5f72"; + reg = <0x100 0 0 0 0>; + local-bd-address = [00 00 00 00 00 00]; + /* guess: the J575d's Wi-Fi island */ + brcm,board-type = "apple,aruba"; + status = "okay"; + }; + + wifi@0,0 { + compatible = "pci14e4,4434", "brcm,bcm4329-fmac"; + reg = <0 0 0 0 0>; + brcm,ccode-map-trivial; + brcm,board-type = "apple,aruba"; + }; + }; + + /* guess: the J616c's GL9755 reader, its power and reset */ + port01: pci@1,0 { + device_type = "pci"; + reg = <0x800 0 0 0 0>; + reset-gpios = <&pinctrl 5 GPIO_ACTIVE_LOW>; + bus-range = <2 2>; + pwren-gpios = <&smc_gpio 0x19 GPIO_ACTIVE_HIGH>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port01 0 0 0 0>, + <0 0 0 2 &port01 0 0 0 1>, + <0 0 0 3 &port01 0 0 0 2>, + <0 0 0 4 &port01 0 0 0 3>; + + mmc@0,0 { + compatible = "pci17a0,9755"; + reg = <0x20000 0 0 0 0>; + cd-inverted; + wp-inverted; + }; + }; + + /* guess: the J773s's Ethernet port */ + port02: pci@2,0 { + device_type = "pci"; + reg = <0x1000 0 0 0 0>; + reset-gpios = <&pinctrl 6 GPIO_ACTIVE_LOW>; + bus-range = <3 3>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port02 0 0 0 0>, + <0 0 0 2 &port02 0 0 0 1>, + <0 0 0 3 &port02 0 0 0 2>, + <0 0 0 4 &port02 0 0 0 3>; + + ethernet0: ethernet@0,0 { + reg = <0x30000 0x0 0x0 0x0 0x0>; + /* To be filled by the loader */ + local-mac-address = [00 10 18 00 00 00]; + }; + }; + + /* guess: PERST is AP pin 7, by the other ports; no power switch */ + port03: pci@3,0 { + device_type = "pci"; + reg = <0x1800 0 0 0 0>; + reset-gpios = <&pinctrl 7 GPIO_ACTIVE_LOW>; + bus-range = <4 4>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port03 0 0 0 0>, + <0 0 0 2 &port03 0 0 0 1>, + <0 0 0 3 &port03 0 0 0 2>, + <0 0 0 4 &port03 0 0 0 3>; + }; + }; +}; + +&ans_mbox { + status = "okay"; +}; + +&ans_sart { + status = "okay"; +}; + +&nvme { + status = "okay"; +}; + +/* + * guess: three of the four back Thunderbolt ports, with the J773s's PD + * controllers (nub-spmi-a0 0xc, 0xa and 0x8 for ATC0-2), at USB2 high speed + * as on the J616c. The fourth port (ATC3) is not described. + */ +&nub_spmi_a0 { + status = "okay"; + + hpm0: usb-pd@c { + compatible = "apple,sn201202x"; + reg = <0xc SPMI_USID>; + interrupts = <11 IRQ_TYPE_EDGE_RISING>, + <13 IRQ_TYPE_EDGE_RISING>, + <17 IRQ_TYPE_EDGE_RISING>, + <19 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "select", "sleep", "wake"; + + typec0: connector { + compatible = "usb-c-connector"; + label = "USB-C Back 1"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec0_connector_hs: endpoint { + remote-endpoint = <&dwc3_0_hs>; + }; + }; + }; + }; + }; + + hpm1: usb-pd@a { + compatible = "apple,sn201202x"; + reg = <0xa SPMI_USID>; + interrupts = <37 IRQ_TYPE_EDGE_RISING>, + <39 IRQ_TYPE_EDGE_RISING>, + <43 IRQ_TYPE_EDGE_RISING>, + <45 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "select", "sleep", "wake"; + + typec1: connector { + compatible = "usb-c-connector"; + label = "USB-C Back 2"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec1_connector_hs: endpoint { + remote-endpoint = <&dwc3_1_hs>; + }; + }; + }; + }; + }; + + hpm2: usb-pd@8 { + compatible = "apple,sn201202x"; + reg = <0x8 SPMI_USID>; + interrupts = <63 IRQ_TYPE_EDGE_RISING>, + <65 IRQ_TYPE_EDGE_RISING>, + <69 IRQ_TYPE_EDGE_RISING>, + <71 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "select", "sleep", "wake"; + + typec2: connector { + compatible = "usb-c-connector"; + label = "USB-C Back 3"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec2_connector_hs: endpoint { + remote-endpoint = <&dwc3_2_hs>; + }; + }; + }; + }; + }; +}; + +&atcphy0 { + apple,tunable-usb2-host = <0x8 0x7003 0x3>; + status = "okay"; +}; + +&dwc3_0_dart_0 { + status = "okay"; +}; + +&dwc3_0_dart_1 { + status = "okay"; +}; + +&dwc3_0 { + maximum-speed = "high-speed"; + phys = <&atcphy0 PHY_TYPE_USB2>; + phy-names = "usb2-phy"; + apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, + <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, <0x538 0x00000800 0x00000800>, + <0x580 0xffffffff 0x6f000006>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_0_hs: endpoint { + remote-endpoint = <&typec0_connector_hs>; + }; + }; + }; +}; + +&atcphy1 { + apple,tunable-usb2-host = <0x8 0x7003 0x3>; + status = "okay"; +}; + +&dwc3_1_dart_0 { + status = "okay"; +}; + +&dwc3_1_dart_1 { + status = "okay"; +}; + +&dwc3_1 { + maximum-speed = "high-speed"; + phys = <&atcphy1 PHY_TYPE_USB2>; + phy-names = "usb2-phy"; + apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, + <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, <0x538 0x00000800 0x00000800>, + <0x580 0xffffffff 0x6f000006>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_1_hs: endpoint { + remote-endpoint = <&typec1_connector_hs>; + }; + }; + }; +}; + +&atcphy2 { + apple,tunable-usb2-host = <0x8 0x7003 0x3>; + status = "okay"; +}; + +&dwc3_2_dart_0 { + status = "okay"; +}; + +&dwc3_2_dart_1 { + status = "okay"; +}; + +&dwc3_2 { + maximum-speed = "high-speed"; + phys = <&atcphy2 PHY_TYPE_USB2>; + phy-names = "usb2-phy"; + apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, + <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, <0x538 0x00000800 0x00000800>, + <0x580 0xffffffff 0x6f000006>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_2_hs: endpoint { + remote-endpoint = <&typec2_connector_hs>; + }; + }; + }; +}; + +/* guess: the J616c's operating points, binned per device */ +/ { + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gpu_uat_ttbs: uat-ttbs { + no-map; + status = "disabled"; + }; + + gpu_uat_pagetables: uat-pagetables { + no-map; + status = "disabled"; + }; + + gpu_uat_l2_pagetables: uat-l2-pagetables { + no-map; + status = "disabled"; + }; + + gpu_uat_handoff: uat-handoff { + no-map; + status = "disabled"; + }; + + gpu_fw_text: gpu-fw-text { + no-map; + status = "disabled"; + }; + + gpu_fw_data: gpu-fw-data { + no-map; + status = "disabled"; + }; + }; + + gpu_opp: opp-table-gpu { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <125000 125000 125000 125000>; + }; + + opp01 { + opp-hz = /bits/ 64 <338000000>; + opp-microvolt = <600000 600000 600000 600000>; + }; + + opp02 { + opp-hz = /bits/ 64 <618000000>; + opp-microvolt = <665000 665000 660000 660000>; + }; + + opp03 { + opp-hz = /bits/ 64 <796000000>; + opp-microvolt = <705000 705000 700000 705000>; + }; + + opp04 { + opp-hz = /bits/ 64 <924000000>; + opp-microvolt = <725000 725000 715000 730000>; + }; + + opp05 { + opp-hz = /bits/ 64 <952000000>; + opp-microvolt = <770000 770000 770000 780000>; + }; + + opp06 { + opp-hz = /bits/ 64 <1056000000>; + opp-microvolt = <770000 770000 770000 780000>; + }; + + opp07 { + opp-hz = /bits/ 64 <1062000000>; + opp-microvolt = <810000 810000 805000 810000>; + }; + + opp08 { + opp-hz = /bits/ 64 <1182000000>; + opp-microvolt = <810000 810000 805000 810000>; + }; + + opp09 { + opp-hz = /bits/ 64 <1182000000>; + opp-microvolt = <860000 860000 860000 860000>; + }; + + opp10 { + opp-hz = /bits/ 64 <1312000000>; + opp-microvolt = <860000 860000 860000 860000>; + }; + + opp11 { + opp-hz = /bits/ 64 <1242000000>; + opp-microvolt = <900000 895000 900000 900000>; + }; + + opp12 { + opp-hz = /bits/ 64 <1380000000>; + opp-microvolt = <900000 895000 900000 900000>; + }; + + opp13 { + opp-hz = /bits/ 64 <1326000000>; + opp-microvolt = <940000 925000 940000 940000>; + }; + + opp14 { + opp-hz = /bits/ 64 <1470000000>; + opp-microvolt = <940000 925000 940000 940000>; + }; + + opp15 { + opp-hz = /bits/ 64 <1578000000>; + opp-microvolt = <1020000 1020000 1020000 1020000>; + }; + }; + + gpu_cs_opp: opp-table-gpucs { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <24000000>; + opp-microvolt = <585000>; + }; + + opp01 { + opp-hz = /bits/ 64 <338000000>; + opp-microvolt = <585000>; + }; + + opp02 { + opp-hz = /bits/ 64 <618000000>; + opp-microvolt = <635000>; + }; + + opp03 { + opp-hz = /bits/ 64 <796000000>; + opp-microvolt = <685000>; + }; + + opp04 { + opp-hz = /bits/ 64 <992000000>; + opp-microvolt = <720000>; + }; + + opp05 { + opp-hz = /bits/ 64 <1188000000>; + opp-microvolt = <770000>; + }; + + opp06 { + opp-hz = /bits/ 64 <1380000000>; + opp-microvolt = <855000>; + }; + + opp07 { + opp-hz = /bits/ 64 <1470000000>; + opp-microvolt = <885000>; + }; + }; + + gpu_afr_opp: opp-table-gpuafr { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <24000000>; + opp-microvolt = <585000>; + }; + + opp01 { + opp-hz = /bits/ 64 <338000000>; + opp-microvolt = <585000>; + }; + + opp02 { + opp-hz = /bits/ 64 <618000000>; + opp-microvolt = <635000>; + }; + + opp03 { + opp-hz = /bits/ 64 <796000000>; + opp-microvolt = <685000>; + }; + + opp04 { + opp-hz = /bits/ 64 <992000000>; + opp-microvolt = <720000>; + }; + + opp05 { + opp-hz = /bits/ 64 <1188000000>; + opp-microvolt = <770000>; + }; + + opp06 { + opp-hz = /bits/ 64 <1380000000>; + opp-microvolt = <855000>; + }; + + opp07 { + opp-hz = /bits/ 64 <1470000000>; + opp-microvolt = <885000>; + }; + }; +}; + +&gpu { + memory-region = <&gpu_uat_ttbs>, <&gpu_uat_pagetables>, + <&gpu_uat_handoff>, <&gpu_fw_data>, + <&gpu_uat_l2_pagetables>, <&gpu_fw_text>; + memory-region-names = "ttbs", "pagetables", "handoff", "fw-data", + "l2-pagetables", "fw-text"; + operating-points-v2 = <&gpu_opp>; + apple,cs-opp = <&gpu_cs_opp>; + apple,afr-opp = <&gpu_afr_opp>; + apple,firmware-version = <26 5 2>; +}; + +/ { + /* guess: the SDZ line of the J616c and J773s, AP pin 54 */ + speaker_sdz: regulator-sn012776-sdz { + compatible = "regulator-fixed"; + regulator-name = "sn012776-sdz"; + gpios = <&pinctrl 54 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + /* + * The speaker stays off: it has no bring-up and no protection + * profile. The card, the amp and the AOP speaker stream are all left + * out or disabled. + */ + sound: sound { + compatible = "apple,j575c-macaudio", "apple,macaudio"; + model = "Mac Studio J575"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + dai-link@0 { + reg = <0>; + link-name = "Speaker"; + + cpu { + sound-dai = <&aop_audio 3>; + }; + + codec { + sound-dai = <&speaker>; + }; + }; + }; + + sound_jack: sound-jack { + compatible = "apple,j575c-macaudio-jack", "apple,macaudio"; + model = "Mac Studio J575 Jack"; + #address-cells = <1>; + #size-cells = <0>; + + dai-link@0 { + reg = <0>; + link-name = "Headphone Jack"; + + cpu { + sound-dai = <&aop_audio 4>; + }; + + codec { + sound-dai = <&jack_codec>; + }; + }; + }; +}; + +&aop { + status = "okay"; +}; + +&aop_mbox { + status = "okay"; +}; + +&aop_dart { + status = "okay"; +}; + +&admac0 { + status = "okay"; +}; + +&admac1 { + status = "okay"; +}; + +/* No microphones: only the jack's streams, as on the J773s. */ +&aop_audio { + dmas = <&admac1 4>, <&admac1 5>; + dma-names = "cout", "cin"; + apple,chassis-name = "J575"; + apple,machine-kind = "Mac Studio"; +}; + +/* guess: one SN012776 at 0x38 as on the J773s and J575d, interrupt AP 55 */ +&i2c1 { + speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + SDZ-supply = <&speaker_sdz>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker"; + interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <0>; + ti,vmon-slot-no = <2>; + status = "disabled"; + }; +}; + +/* guess: the J616c's and J773s's CS42L84 wiring */ +&i2c2 { + status = "okay"; + + jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + reset-gpios = <&pinctrl_nub 58 GPIO_ACTIVE_HIGH>; + #sound-dai-cells = <0>; + interrupts-extended = <&pinctrl 106 IRQ_TYPE_LEVEL_LOW>; + sound-name-prefix = "Jack"; + }; +}; + +&aop { + nonposted-mmio; +}; + +/* No ambient light sensor and no lid. */ +&aop_als { + status = "disabled"; +}; + +&aop_las { + status = "disabled"; +}; + +&admac1 { + dma-channels = <26>; + nonposted-mmio; +}; + +&admac0 { + nonposted-mmio; +}; + +&aop_dart { + nonposted-mmio; +}; + +&i2c1 { + nonposted-mmio; +}; + +&i2c2 { + nonposted-mmio; +}; + +/ { + reserved-memory { + aop_mmio_pmgr: aop-mmio-pmgr@508304000 { + reg = <0x5 0x08304000 0x0 0x4000>; + iommu-addresses = <&aop 0x5 0x08304000 0x0 0x4000>; + no-map; + }; + }; +}; + +&aop { + memory-region = <&aop_mmio_pmgr>; +}; + +/* + * Not described: HDMI and the external display chains (unknown PHY routing + * on this board), the fourth back port and the SEP (no Touch ID sensor). + */ diff --git a/arch/arm64/boot/dts/apple/t6041-j614-j616-j575-scaler.dtsi b/arch/arm64/boot/dts/apple/t6041-j614-j616-j575-scaler.dtsi new file mode 100644 index 0000000000000..34ecb3b560df9 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6041-j614-j616-j575-scaler.dtsi @@ -0,0 +1,189 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled M4 Max scaler resources from the preferred live J616c description. */ +/* MSR-DART gate IDs 425/457 alias physical MSR0/MSR1; do not duplicate MMIO providers. */ + +&pmgr_aux { + ps_msr0: ps_msr0_dart: power-controller@470 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x470 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0"; + power-domains = <&ps_fab5_soc>; + status = "disabled"; + }; +}; + +&pmgr_aux { + ps_msr0_ase_core: power-controller@478 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x478 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0_ase_core"; + power-domains = <&ps_msr0>; + status = "disabled"; + }; +}; + +&pmgr_aux { + ps_fab5_soc: power-controller@440 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x440 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab5_soc"; + power-domains = <&ps_afi>; + apple,always-on; + status = "disabled"; + }; +}; + +/* PMGR group 1 resolves via ps-groups to the main bank at 0x502280000. */ +&pmgr { + ps_msr1: ps_msr1_dart: power-controller@3b0 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3b0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1"; + power-domains = <&ps_fab6_soc>; + status = "disabled"; + }; + + ps_msr1_ase_core: power-controller@3b8 { + compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3b8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1_ase_core"; + power-domains = <&ps_msr1>; + status = "disabled"; + }; +}; + +/ { + scaler0_dart: iommu@521260000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x5 0x21260000 0x0 0xc000>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x300 0x0>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr0_dart>; + status = "disabled"; + }; + + scaler1_dart: iommu@587260000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x5 0x87260000 0x0 0x20000>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x300 0x0>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr1_dart>; + status = "disabled"; + }; + + scaler0: scaler@521000000 { + compatible = "apple,t6041-scaler", "apple,scaler"; + reg = <0x5 0x21000000 0x0 0x38000>, + <0x5 0x21210000 0x0 0x4000>, + <0x5 0x21204000 0x0 0x4000>, + <0x5 0x20000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0>, <&ps_msr0_ase_core>; + resets = <&ps_msr0>; + iommus = <&scaler0_dart 0>, <&scaler0_dart 1>; + clocks = <&max_scaler_clocks 417>; + status = "disabled"; + }; + + scaler1: scaler@587000000 { + compatible = "apple,t6041-scaler", "apple,scaler"; + reg = <0x5 0x87000000 0x0 0x38000>, + <0x5 0x87210000 0x0 0x4000>, + <0x5 0x87204000 0x0 0x4000>, + <0x5 0x86000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr1>, <&ps_msr1_ase_core>; + resets = <&ps_msr1>; + iommus = <&scaler1_dart 0>, <&scaler1_dart 1>; + clocks = <&max_scaler_clocks 418>; + status = "disabled"; + }; + + max_scaler_clocks: clock-controller@502800000 { + compatible = "apple,t6041-pmgr-clocks", "apple,pmgr-clocks"; + reg = <0x5 0x02800000 0x0 0x1e0000>, + <0x5 0x08300000 0x0 0x80000>, + <0x5 0x02280000 0x0 0x100000>, + <0x5 0x00000000 0x0 0x80000>, + <0x5 0x08200000 0x0 0x80000>, + <0x5 0x08004000 0x0 0x1000>, + <0x2 0x10e20000 0x0 0x2000>, + <0x2 0x10050000 0x0 0xef1000>, + <0x2 0x10e40000 0x0 0x9000>, + <0x2 0x10e50000 0x0 0xe81000>, + <0x2 0x10e70000 0x0 0x1000>, + <0x2 0x10050000 0x0 0x10000>, + <0x2 0x10150000 0x0 0x10000>, + <0x2 0x10250000 0x0 0x10000>, + <0x2 0x10350000 0x0 0x10000>, + <0x2 0x11e20000 0x0 0x2000>, + <0x2 0x11050000 0x0 0xef1000>, + <0x2 0x11e40000 0x0 0xb000>, + <0x2 0x11e50000 0x0 0xe81000>, + <0x2 0x11e70000 0x0 0x1000>, + <0x2 0x11050000 0x0 0x10000>, + <0x2 0x11150000 0x0 0x10000>, + <0x2 0x11250000 0x0 0x10000>, + <0x2 0x11350000 0x0 0x10000>, + <0x2 0x11450000 0x0 0x10000>, + <0x2 0x11550000 0x0 0x10000>, + <0x2 0x12e20000 0x0 0x2000>, + <0x2 0x12050000 0x0 0xef1000>, + <0x2 0x12e40000 0x0 0xb000>, + <0x2 0x12e50000 0x0 0xe81000>, + <0x2 0x12e70000 0x0 0x1000>, + <0x2 0x12050000 0x0 0x10000>, + <0x2 0x12150000 0x0 0x10000>, + <0x2 0x12250000 0x0 0x10000>, + <0x2 0x12350000 0x0 0x10000>, + <0x2 0x12450000 0x0 0x10000>, + <0x2 0x12550000 0x0 0x10000>, + <0x5 0x02800000 0x0 0x18000>, + <0x5 0x0282c000 0x0 0x4000>, + <0x5 0x02850000 0x0 0x4000>, + <0x5 0x02880000 0x0 0x1c000>, + <0x5 0x02900000 0x0 0x24000>, + <0x5 0x028f0000 0x0 0x4000>, + <0x5 0x028e0000 0x0 0x4000>, + <0x5 0x02820000 0x0 0x4000>, + <0x5 0x08330000 0x0 0x10000>, + <0x5 0x08374000 0x0 0x4000>, + <0x5 0x08360000 0x0 0x4000>, + <0x5 0x00200000 0x0 0x8000>, + <0x5 0x00400000 0x0 0x34000>, + <0x5 0x003c0000 0x0 0x30000>, + <0x5 0x08800000 0x0 0xa8000>, + <0x4 0x85878000 0x0 0x4000>, + <0x2 0x88eb0000 0x0 0x4000>, + <0x2 0x88e80000 0x0 0x30000>, + <0x5 0x08900000 0x0 0x18000>, + <0x5 0x00210000 0x0 0x8000>, + <0x5 0x0020c000 0x0 0x4000>, + <0x5 0x08004000 0x0 0x1000>, + <0x5 0x0007a000 0x0 0x4000>, + <0x5 0x04000000 0x0 0x1000000>, + <0x2 0x88e1c000 0x0 0x4000>, + <0x5 0x022a0000 0x0 0x4000>; + #clock-cells = <1>; + apple,pmgr = <&pmgr>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6041-j614c-j616c.dtsi b/arch/arm64/boot/dts/apple/t6041-j614c-j616c.dtsi new file mode 100644 index 0000000000000..de5eed04aed63 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6041-j614c-j616c.dtsi @@ -0,0 +1,1067 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple MacBook Pro (14-inch and 16-inch, M4 Max, 2024) + * + * The parts the J614c and J616c share. They do not use + * t604x-j614-j616.dtsi yet: the J616c's trackpad resets, PCIe, keyboard + * and display chains differ from the J616s's, and are qualified as they + * are. + * + * target-type: J614c / J616c + * + * Copyright The Asahi Linux Contributors + */ + +#include "t6041-j616c-ane.dtsi" +#include +#include + +/ { + chassis-type = "laptop"; + + aliases { + serial0 = &serial0; + keyboard = &keyboard; + wifi0 = "/pcie@1cb0000000/pci@0,0/wifi@0,0"; + bluetooth0 = "/pcie@1cb0000000/pci@0,0/bluetooth@0,1"; + mtp = &mtp; + dcp = &dcp; + disp0 = &display; + disp0-piodma = &disp0_piodma; + gpu = &gpu; + sep = &sep; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + stdout-path = "serial0:115200n8"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; + status = "disabled"; + }; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + }; + + memory@0 { + device_type = "memory"; + reg = <0 0 0 0>; + }; + + serial0: serial@429200000 { + compatible = "apple,s5l-uart"; + reg = <0x4 0x29200000 0x0 0x1000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + }; + + clk_disp0: clock-disp0 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <712000000>; + clock-output-names = "disp0"; + }; + + thermal-zones { + cpu-die-thermal { + polling-delay-passive = <1000>; + polling-delay = <1000>; + thermal-sensors = <&smc_hwmon 0>; + + trips { + cpu_die_passive: cpu-die-passive { + temperature = <113000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu-die-critical { + temperature = <118000>; + hysteresis = <0>; + type = "critical"; + }; + }; + + cooling-maps { + map-e { + trip = <&cpu_die_passive>; + cooling-device = + <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p0 { + trip = <&cpu_die_passive>; + cooling-device = + <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p05 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + + map-p1 { + trip = <&cpu_die_passive>; + cooling-device = + <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu_p15 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + }; +}; + +&cpufreq_e { + /delete-property/ apple,fast-die-effort; +}; + +&cpufreq_p0 { + /delete-property/ apple,fast-die-effort; +}; + +&cpufreq_p1 { + /delete-property/ apple,fast-die-effort; +}; + +&wdt { + timeout-sec = <140>; +}; + +&smc { + status = "okay"; + + smc_gpio_low: gpio-low { + compatible = "apple,smc-low-gpio"; + gpio-controller; + #gpio-cells = <2>; + }; +}; + +&smc_mbox { + status = "okay"; +}; + +&nub_spmi0 { + status = "okay"; +}; + +&mcc { + status = "okay"; +}; + +&smc_hwmon { + temperature-TCMz { + apple,key-id = "TCMz"; + label = "CPU Die Max"; + }; + + temperature-TCMb { + apple,key-id = "TCMb"; + label = "CPU TCMb"; + }; + + temperature-Tpx0 { + apple,key-id = "Tpx0"; + label = "CPU Tpx0"; + }; + + temperature-Tpx1 { + apple,key-id = "Tpx1"; + label = "CPU Tpx1"; + }; + + temperature-Tpx2 { + apple,key-id = "Tpx2"; + label = "CPU Tpx2"; + }; + + temperature-Tpx3 { + apple,key-id = "Tpx3"; + label = "CPU Tpx3"; + }; + + temperature-Tpx4 { + apple,key-id = "Tpx4"; + label = "CPU Tpx4"; + }; + + temperature-Tpx5 { + apple,key-id = "Tpx5"; + label = "CPU Tpx5"; + }; + + temperature-Tpx8 { + apple,key-id = "Tpx8"; + label = "CPU Tpx8"; + }; + + temperature-Tpx9 { + apple,key-id = "Tpx9"; + label = "CPU Tpx9"; + }; + + temperature-TpxA { + apple,key-id = "TpxA"; + label = "CPU TpxA"; + }; + + temperature-TpxB { + apple,key-id = "TpxB"; + label = "CPU TpxB"; + }; + + temperature-TpxC { + apple,key-id = "TpxC"; + label = "CPU TpxC"; + }; + + temperature-TpxD { + apple,key-id = "TpxD"; + label = "CPU TpxD"; + }; + + temperature-Tex0 { + apple,key-id = "Tex0"; + label = "CPU Tex0"; + }; + + temperature-Tex1 { + apple,key-id = "Tex1"; + label = "CPU Tex1"; + }; + + temperature-Tex2 { + apple,key-id = "Tex2"; + label = "CPU Tex2"; + }; + + temperature-Tex3 { + apple,key-id = "Tex3"; + label = "CPU Tex3"; + }; + + temperature-TH0x { + apple,key-id = "TH0x"; + label = "NAND Flash Temperature"; + }; + + temperature-TB0T { + apple,key-id = "TB0T"; + label = "Battery Hotspot"; + }; + + temperature-TCHP { + apple,key-id = "TCHP"; + label = "Charge Regulator Temp"; + }; + + temperature-TW0P { + apple,key-id = "TW0P"; + label = "WiFi/BT Module Temp"; + }; + + power-PSTR { + apple,key-id = "PSTR"; + label = "Total System Power"; + }; + + power-PHPC { + apple,key-id = "PHPC"; + label = "Heatpipe Power"; + }; + + power-PDTR { + apple,key-id = "PDTR"; + label = "AC Input Power"; + }; + + voltage-VD0R { + apple,key-id = "VD0R"; + label = "AC Input Voltage"; + }; + + voltage-SBAV { + apple,key-id = "SBAV"; + label = "Battery Voltage"; + }; + + current-ID0R { + apple,key-id = "ID0R"; + label = "AC Input Current"; + }; +}; + +&pinctrl { + status = "okay"; + + wifi_clkreq_pins: wifi-clkreq-pins { + pinmux = ; + }; +}; + +&pinctrl_nub { + status = "okay"; + /delete-property/ interrupt-controller; + /delete-property/ #interrupt-cells; + /delete-property/ interrupts; +}; + +&mtp { + status = "okay"; +}; + +&mtp_mbox { + status = "okay"; +}; + +&mtp_dart { + status = "okay"; +}; + +&mtp_dockchannel { + status = "okay"; +}; + +&mtp_hid { + compatible = "apple,dockchannel-hid"; + apple,afe-reset-gpios = <&smc_gpio_low 25 GPIO_ACTIVE_LOW>; + apple,stm-reset-gpios = <&smc_gpio_low 26 GPIO_ACTIVE_LOW>; + + multi-touch { + apple,power-method = <2>; + }; + + keyboard: keyboard { + hid-country-code = <0>; + apple,keyboard-layout-id = <0>; + }; + + stm { + }; + + actuator { + }; + + tp-accel { + }; + + mtp { + }; +}; + +&pcie_dart { + status = "okay"; +}; + +/ { + pcie0: pcie@1cb0000000 { + compatible = "apple,t6041-pcie", "apple,t6020-pcie"; + reg = <0x1c 0xb0000000 0x0 0x1000000>, + <0x4 0x14000000 0x0 0x4000>, + <0x4 0x10028000 0x0 0x4000>, + <0x4 0x11028000 0x0 0x4000>, + <0x4 0x12028000 0x0 0x4000>, + <0x4 0x13028000 0x0 0x4000>, + <0x4 0x17020000 0x0 0x4000>, + <0x4 0x17024000 0x0 0x4000>, + <0x4 0x17028000 0x0 0x4000>, + <0x4 0x1702c000 0x0 0x4000>; + reg-names = "config", "rc", + "port0", "port1", "port2", "port3", + "phy0", "phy1", "phy2", "phy3"; + ranges = <0x43000000 0xb 0xc0000000 0xb 0xc0000000 0x0 0x20000000>, + <0x02000000 0x0 0x80000000 0xb 0x80000000 0x0 0x40000000>; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_clkreq_pins>; + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0 1>; + iommu-map-mask = <0xffff>; + iommu-map = <0x100 &pcie_dart 1 2>; + msi-ranges = <&aic AIC_IRQ 2071 IRQ_TYPE_EDGE_RISING 32>; + msi-parent = <&pcie0>; + msi-controller; + interrupts = ; + interrupt-parent = <&aic>; + device_type = "pci"; + + port00: pci@0,0 { + reg = <0 0 0 0 0>; + ranges; + interrupt-map = <0 0 0 1 &port00 0 0 0 0>, + <0 0 0 2 &port00 0 0 0 1>, + <0 0 0 3 &port00 0 0 0 2>, + <0 0 0 4 &port00 0 0 0 3>; + interrupt-map-mask = <0 0 0 7>; + #interrupt-cells = <1>; + interrupt-controller; + #address-cells = <3>; + #size-cells = <2>; + pwren-gpios = <&smc_gpio 0x13 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>; + device_type = "pci"; + + bluetooth0: bluetooth@0,1 { + compatible = "pci14e4,5f72"; + reg = <0x100 0 0 0 0>; + local-bd-address = [00 00 00 00 00 00]; + status = "okay"; + }; + + wifi0: wifi@0,0 { + compatible = "pci14e4,4434", "brcm,bcm4329-fmac"; + reg = <0 0 0 0 0>; + brcm,ccode-map-trivial; + }; + }; + }; +}; + +&ans_mbox { + status = "okay"; +}; + +&ans_sart { + status = "okay"; +}; + +&nvme { + status = "okay"; +}; + +&display { + phandle = <&display>; + status = "okay"; +}; + +&dcp { + clocks = <&clk_disp0>; + phandle = <&dcp>; + + panel: panel { + apple,max-brightness = <500>; + }; +}; + +&disp0_piodma { + phandle = <&disp0_piodma>; +}; + +&nub_spmi_a0 { + status = "okay"; + + hpm1: usb-pd@a { + compatible = "apple,sn201202x"; + reg = <0xa SPMI_USID>; + interrupts = <37 IRQ_TYPE_EDGE_RISING>, + <39 IRQ_TYPE_EDGE_RISING>, + <43 IRQ_TYPE_EDGE_RISING>, + <45 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "select", "sleep", "wake"; + + typec1: connector { + compatible = "usb-c-connector"; + label = "USB-C Left Front"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec1_connector_hs: endpoint { + remote-endpoint = <&dwc3_1_hs>; + }; + }; + }; + }; + }; +}; + +&nub_spmi_a1 { + status = "okay"; + + hpm2: usb-pd@c { + compatible = "apple,sn201202x"; + reg = <0xc SPMI_USID>; + interrupts = <11 IRQ_TYPE_EDGE_RISING>, + <13 IRQ_TYPE_EDGE_RISING>, + <17 IRQ_TYPE_EDGE_RISING>, + <19 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "select", "sleep", "wake"; + + typec2: connector { + compatible = "usb-c-connector"; + label = "USB-C Right"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec2_connector_hs: endpoint { + remote-endpoint = <&dwc3_2_hs>; + }; + }; + }; + }; + }; +}; + +&atcphy1 { + apple,tunable-usb2-host = <0x8 0x7003 0x3>; + status = "okay"; +}; + +&dwc3_1_dart_0 { + status = "okay"; +}; + +&dwc3_1_dart_1 { + status = "okay"; +}; + +&dwc3_1 { + maximum-speed = "high-speed"; + phys = <&atcphy1 PHY_TYPE_USB2>; + phy-names = "usb2-phy"; + apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, + <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, <0x538 0x00000800 0x00000800>, + <0x580 0xffffffff 0x6f000006>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_1_hs: endpoint { + remote-endpoint = <&typec1_connector_hs>; + }; + }; + }; +}; + +&atcphy2 { + apple,tunable-usb2-host = <0x8 0x7003 0x3>; + status = "okay"; +}; + +&dwc3_2_dart_0 { + status = "okay"; +}; + +&dwc3_2_dart_1 { + status = "okay"; +}; + +&dwc3_2 { + maximum-speed = "high-speed"; + phys = <&atcphy2 PHY_TYPE_USB2>; + phy-names = "usb2-phy"; + apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, + <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, <0x538 0x00000800 0x00000800>, + <0x580 0xffffffff 0x6f000006>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_2_hs: endpoint { + remote-endpoint = <&typec2_connector_hs>; + }; + }; + }; +}; + +/ { + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gpu_uat_ttbs: uat-ttbs { + no-map; + status = "disabled"; + }; + + gpu_uat_pagetables: uat-pagetables { + no-map; + status = "disabled"; + }; + + gpu_uat_l2_pagetables: uat-l2-pagetables { + no-map; + status = "disabled"; + }; + + gpu_uat_handoff: uat-handoff { + no-map; + status = "disabled"; + }; + + gpu_fw_text: gpu-fw-text { + no-map; + status = "disabled"; + }; + + gpu_fw_data: gpu-fw-data { + no-map; + status = "disabled"; + }; + }; + + gpu_opp: opp-table-gpu { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <125000 125000 125000 125000>; + }; + + opp01 { + opp-hz = /bits/ 64 <338000000>; + opp-microvolt = <600000 600000 600000 600000>; + }; + + opp02 { + opp-hz = /bits/ 64 <618000000>; + opp-microvolt = <665000 665000 660000 660000>; + }; + + opp03 { + opp-hz = /bits/ 64 <796000000>; + opp-microvolt = <705000 705000 700000 705000>; + }; + + opp04 { + opp-hz = /bits/ 64 <924000000>; + opp-microvolt = <725000 725000 715000 730000>; + }; + + opp05 { + opp-hz = /bits/ 64 <952000000>; + opp-microvolt = <770000 770000 770000 780000>; + }; + + opp06 { + opp-hz = /bits/ 64 <1056000000>; + opp-microvolt = <770000 770000 770000 780000>; + }; + + opp07 { + opp-hz = /bits/ 64 <1062000000>; + opp-microvolt = <810000 810000 805000 810000>; + }; + + opp08 { + opp-hz = /bits/ 64 <1182000000>; + opp-microvolt = <810000 810000 805000 810000>; + }; + + opp09 { + opp-hz = /bits/ 64 <1182000000>; + opp-microvolt = <860000 860000 860000 860000>; + }; + + opp10 { + opp-hz = /bits/ 64 <1312000000>; + opp-microvolt = <860000 860000 860000 860000>; + }; + + opp11 { + opp-hz = /bits/ 64 <1242000000>; + opp-microvolt = <900000 895000 900000 900000>; + }; + + opp12 { + opp-hz = /bits/ 64 <1380000000>; + opp-microvolt = <900000 895000 900000 900000>; + }; + + opp13 { + opp-hz = /bits/ 64 <1326000000>; + opp-microvolt = <940000 925000 940000 940000>; + }; + + opp14 { + opp-hz = /bits/ 64 <1470000000>; + opp-microvolt = <940000 925000 940000 940000>; + }; + + opp15 { + opp-hz = /bits/ 64 <1578000000>; + opp-microvolt = <1020000 1020000 1020000 1020000>; + }; + }; + + gpu_cs_opp: opp-table-gpucs { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <24000000>; + opp-microvolt = <585000>; + }; + + opp01 { + opp-hz = /bits/ 64 <338000000>; + opp-microvolt = <585000>; + }; + + opp02 { + opp-hz = /bits/ 64 <618000000>; + opp-microvolt = <635000>; + }; + + opp03 { + opp-hz = /bits/ 64 <796000000>; + opp-microvolt = <685000>; + }; + + opp04 { + opp-hz = /bits/ 64 <992000000>; + opp-microvolt = <720000>; + }; + + opp05 { + opp-hz = /bits/ 64 <1188000000>; + opp-microvolt = <770000>; + }; + + opp06 { + opp-hz = /bits/ 64 <1380000000>; + opp-microvolt = <855000>; + }; + + opp07 { + opp-hz = /bits/ 64 <1470000000>; + opp-microvolt = <885000>; + }; + }; + + gpu_afr_opp: opp-table-gpuafr { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <24000000>; + opp-microvolt = <585000>; + }; + + opp01 { + opp-hz = /bits/ 64 <338000000>; + opp-microvolt = <585000>; + }; + + opp02 { + opp-hz = /bits/ 64 <618000000>; + opp-microvolt = <635000>; + }; + + opp03 { + opp-hz = /bits/ 64 <796000000>; + opp-microvolt = <685000>; + }; + + opp04 { + opp-hz = /bits/ 64 <992000000>; + opp-microvolt = <720000>; + }; + + opp05 { + opp-hz = /bits/ 64 <1188000000>; + opp-microvolt = <770000>; + }; + + opp06 { + opp-hz = /bits/ 64 <1380000000>; + opp-microvolt = <855000>; + }; + + opp07 { + opp-hz = /bits/ 64 <1470000000>; + opp-microvolt = <885000>; + }; + }; +}; + +&gpu { + memory-region = <&gpu_uat_ttbs>, <&gpu_uat_pagetables>, + <&gpu_uat_handoff>, <&gpu_fw_data>, + <&gpu_uat_l2_pagetables>, <&gpu_fw_text>; + memory-region-names = "ttbs", "pagetables", "handoff", "fw-data", + "l2-pagetables", "fw-text"; + operating-points-v2 = <&gpu_opp>; + apple,cs-opp = <&gpu_cs_opp>; + apple,afr-opp = <&gpu_afr_opp>; + apple,firmware-version = <26 5 2>; +}; + +/ { + aliases { + aop = &aop; + }; + + speaker_sdz: regulator-sn012776-sdz { + compatible = "regulator-fixed"; + regulator-name = "sn012776-sdz"; + gpios = <&pinctrl 54 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + sound: sound { + #address-cells = <1>; + #size-cells = <0>; + + dai-link@0 { + reg = <0>; + link-name = "Speakers"; + dai-tdm-idle-mode-0 = "zero"; + dai-tdm-idle-mode-1 = "zero"; + dai-tdm-slot-tx-idle-mask-0 = <0xf0f0f0>; + dai-tdm-slot-tx-idle-mask-1 = <0x0f0f0f>; + + cpu { + sound-dai = <&aop_audio 3>; + }; + + codec { + sound-dai = <&speaker_left_woof1>, <&speaker_right_woof1>, + <&speaker_left_woof2>, <&speaker_right_woof2>, + <&speaker_left_tweet>, <&speaker_right_tweet>; + }; + }; + }; + + sound_jack: sound-jack { + #address-cells = <1>; + #size-cells = <0>; + + dai-link@0 { + reg = <0>; + link-name = "Headphone Jack"; + + cpu { + sound-dai = <&aop_audio 4>; + }; + + codec { + sound-dai = <&jack_codec>; + }; + }; + }; +}; + +&aop { + nonposted-mmio; + memory-region = <&aop_mmio_pmgr>; + status = "okay"; +}; + +&aop_mbox { + status = "okay"; +}; + +&aop_dart { + nonposted-mmio; + status = "okay"; +}; + +&admac0 { + nonposted-mmio; + status = "okay"; +}; + +&admac1 { + dma-channels = <26>; + nonposted-mmio; + status = "okay"; +}; + +&aop_audio { + apple,machine-kind = "MacBook Pro"; +}; + +&i2c1 { + nonposted-mmio; + status = "okay"; + + speaker_left_woof1: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 1"; + interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <0>; + ti,vmon-slot-no = <2>; + }; + + speaker_left_woof2: codec@39 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x39>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 2"; + interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <8>; + ti,vmon-slot-no = <10>; + }; + + speaker_left_tweet: codec@3a { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3a>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Tweeter"; + interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <16>; + ti,vmon-slot-no = <18>; + }; +}; + +&i2c3 { + nonposted-mmio; + status = "okay"; + + speaker_right_woof1: codec@3b { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3b>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 1"; + interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <4>; + ti,vmon-slot-no = <6>; + }; + + speaker_right_woof2: codec@3c { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3c>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 2"; + interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <12>; + ti,vmon-slot-no = <14>; + }; + + speaker_right_tweet: codec@3d { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3d>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Tweeter"; + interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <20>; + ti,vmon-slot-no = <22>; + }; +}; + +&i2c2 { + nonposted-mmio; + status = "okay"; + + jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + reset-gpios = <&pinctrl_nub 58 GPIO_ACTIVE_HIGH>; + #sound-dai-cells = <0>; + interrupts-extended = <&pinctrl 106 IRQ_TYPE_LEVEL_LOW>; + sound-name-prefix = "Jack"; + }; +}; + +&aop_als { + status = "disabled"; +}; + +&aop_las { + status = "disabled"; +}; + +/ { + reserved-memory { + aop_mmio_pmgr: aop-mmio-pmgr@508304000 { + reg = <0x5 0x08304000 0x0 0x4000>; + iommu-addresses = <&aop 0x5 0x08304000 0x0 0x4000>; + no-map; + }; + }; +}; + +&sep_mbox { + status = "okay"; +}; + +&spi2 { + status = "okay"; +}; + +&mesa { + enable-gpios = <&pinctrl_nub 53 GPIO_ACTIVE_HIGH>; + interrupt-parent = <&pinctrl>; + interrupts = <116 IRQ_TYPE_EDGE_RISING>; + spi-cs-setup-delay-ns = <20>; + spi-cs-hold-delay-ns = <20>; + status = "okay"; +}; + +#include "hwmon-fan-dual.dtsi" + +&smc_hwmon { + fan-F0Ac { + apple,fan-manual-control; + }; + + fan-F1Ac { + apple,fan-manual-control; + }; +}; + +#include "t604x-extdisp.dtsi" + +/delete-node/ &atcphy0_xbar; +/delete-node/ &atcphy2_xbar; + +#include "t6041-j616c-hdmi.dtsi" +#include "t6041-j616c-usbc.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6041-j614c.dts b/arch/arm64/boot/dts/apple/t6041-j614c.dts new file mode 100644 index 0000000000000..3e4397c40d0d7 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6041-j614c.dts @@ -0,0 +1,93 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple MacBook Pro (14-inch, M4 Max, 2024) + * + * target-type: J614c + * + * The J616c's T6041 wiring with the 14-inch chassis of the J614s. There is + * no J614c ADT yet: its CPU limits and operating points, trackpad and + * keyboard wiring and panel brightness are the J616c's (guessed), and its + * Wi-Fi island the J614s's (guessed). + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t6041.dtsi" +#include "t6041-j614-j616-j575-scaler.dtsi" +#include "t6041-j614c-j616c.dtsi" + +/ { + compatible = "apple,j614c", "apple,t6041", "apple,arm-platform"; + model = "Apple MacBook Pro (14-inch, M4 Max, 2024)"; +}; + +&mtp_hid { + multi-touch { + firmware-name = "apple/tpmtfw-j614c.bin"; + }; +}; + +&wifi0 { + brcm,board-type = "apple,mriya"; +}; + +&bluetooth0 { + brcm,board-type = "apple,mriya"; +}; + +/* The J614s panel. */ +&panel { + compatible = "apple,panel-j614", "apple,panel-mini-led", "apple,panel"; + width-mm = <302>; + height-mm = <196>; + adj-height-mm = <189>; +}; + +/* + * The J614s speakers: no bring-up and no protection profile yet, so the + * card and the six amps stay disabled, as on the J614s. + */ +&sound { + compatible = "apple,j614-macaudio", "apple,macaudio"; + model = "MacBook Pro J614"; + status = "disabled"; +}; + +&speaker_left_woof1 { + status = "disabled"; +}; + +&speaker_left_woof2 { + status = "disabled"; +}; + +&speaker_left_tweet { + status = "disabled"; +}; + +&speaker_right_woof1 { + status = "disabled"; +}; + +&speaker_right_woof2 { + status = "disabled"; +}; + +&speaker_right_tweet { + status = "disabled"; +}; + +&sound_jack { + compatible = "apple,j614-macaudio-jack", "apple,macaudio"; + model = "MacBook Pro J614 Jack"; +}; + +&aop_audio { + apple,chassis-name = "J614"; +}; + +&mesa { + firmware-name = "apple/mesacal-j614c.bin", "apple/msrk-j614c.bin"; +}; diff --git a/arch/arm64/boot/dts/apple/t6041-j616c-usbc.dtsi b/arch/arm64/boot/dts/apple/t6041-j616c-usbc.dtsi index 4ccf897e1dd01..35f6bfc990e8d 100644 --- a/arch/arm64/boot/dts/apple/t6041-j616c-usbc.dtsi +++ b/arch/arm64/boot/dts/apple/t6041-j616c-usbc.dtsi @@ -66,7 +66,7 @@ ports { port@1 { reg = <1>; - typec1_con_ss: endpoint { + typec1_connector_ss: endpoint { remote-endpoint = <&atcphy1_ss>; }; }; @@ -260,7 +260,7 @@ port { atcphy1_ss: endpoint { - remote-endpoint = <&typec1_con_ss>; + remote-endpoint = <&typec1_connector_ss>; }; }; }; diff --git a/arch/arm64/boot/dts/apple/t6041-j616c.dts b/arch/arm64/boot/dts/apple/t6041-j616c.dts index 713cc25859f86..9e122229805c5 100644 --- a/arch/arm64/boot/dts/apple/t6041-j616c.dts +++ b/arch/arm64/boot/dts/apple/t6041-j616c.dts @@ -1,933 +1,58 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT -// Copyright The Asahi Linux Contributors +/* + * Apple MacBook Pro (16-inch, M4 Max, 2024) + * + * target-type: J616c + * + * Copyright The Asahi Linux Contributors + */ /dts-v1/; #include "t6041.dtsi" -#include "t6041-j616c-ane.dtsi" -#include -#include +#include "t6041-j614-j616-j575-scaler.dtsi" +#include "t6041-j614c-j616c.dtsi" / { compatible = "apple,j616c", "apple,t6041", "apple,arm-platform"; model = "Apple MacBook Pro (16-inch, M4 Max)"; - chassis-type = "laptop"; - - aliases { - serial0 = &serial0; - keyboard = &keyboard; - wifi0 = "/pcie@1cb0000000/pci@0,0/wifi@0,0"; - bluetooth0 = "/pcie@1cb0000000/pci@0,0/bluetooth@0,1"; - mtp = &mtp; - dcp = &dcp; - disp0 = &display; - disp0-piodma = &disp0_piodma; - gpu = &gpu; - sep = &sep; - }; - - chosen { - #address-cells = <2>; - #size-cells = <2>; - ranges; - - stdout-path = "serial0:115200n8"; - - framebuffer0: framebuffer@0 { - compatible = "apple,simple-framebuffer", "simple-framebuffer"; - reg = <0 0 0 0>; - status = "disabled"; - }; - }; - - reserved-memory { - #address-cells = <2>; - #size-cells = <2>; - ranges; - }; - - memory@0 { - device_type = "memory"; - reg = <0 0 0 0>; - }; - - serial0: serial@429200000 { - compatible = "apple,s5l-uart"; - reg = <0x4 0x29200000 0x0 0x1000>; - reg-io-width = <4>; - interrupt-parent = <&aic>; - interrupts = ; - clocks = <&clkref>, <&clkref>; - clock-names = "uart", "clk_uart_baud0"; - }; - - clk_disp0: clock-disp0 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <712000000>; - clock-output-names = "disp0"; - }; - - thermal-zones { - cpu-die-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - thermal-sensors = <&smc_hwmon 0>; - - trips { - cpu_die_passive: cpu-die-passive { - temperature = <113000>; - hysteresis = <5000>; - type = "passive"; - }; - - cpu-die-critical { - temperature = <118000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&cpu_die_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p0 { - trip = <&cpu_die_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p05 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p1 { - trip = <&cpu_die_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p15 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - }; -}; - -&cpufreq_e { - /delete-property/ apple,fast-die-effort; -}; - -&cpufreq_p0 { - /delete-property/ apple,fast-die-effort; -}; - -&cpufreq_p1 { - /delete-property/ apple,fast-die-effort; -}; - -&wdt { - timeout-sec = <140>; -}; - -&smc { - status = "okay"; - - smc_gpio_low: gpio-low { - compatible = "apple,smc-low-gpio"; - gpio-controller; - #gpio-cells = <2>; - }; -}; - -&smc_mbox { - status = "okay"; -}; - -&nub_spmi0 { - status = "okay"; -}; - -&mcc { - status = "okay"; -}; - -&smc_hwmon { - temperature-TCMz { - apple,key-id = "TCMz"; - label = "CPU Die Max"; - }; - temperature-TCMb { apple,key-id = "TCMb"; label = "CPU TCMb"; }; - temperature-Tpx0 { apple,key-id = "Tpx0"; label = "CPU Tpx0"; }; - temperature-Tpx1 { apple,key-id = "Tpx1"; label = "CPU Tpx1"; }; - temperature-Tpx2 { apple,key-id = "Tpx2"; label = "CPU Tpx2"; }; - temperature-Tpx3 { apple,key-id = "Tpx3"; label = "CPU Tpx3"; }; - temperature-Tpx4 { apple,key-id = "Tpx4"; label = "CPU Tpx4"; }; - temperature-Tpx5 { apple,key-id = "Tpx5"; label = "CPU Tpx5"; }; - temperature-Tpx8 { apple,key-id = "Tpx8"; label = "CPU Tpx8"; }; - temperature-Tpx9 { apple,key-id = "Tpx9"; label = "CPU Tpx9"; }; - temperature-TpxA { apple,key-id = "TpxA"; label = "CPU TpxA"; }; - temperature-TpxB { apple,key-id = "TpxB"; label = "CPU TpxB"; }; - temperature-TpxC { apple,key-id = "TpxC"; label = "CPU TpxC"; }; - temperature-TpxD { apple,key-id = "TpxD"; label = "CPU TpxD"; }; - temperature-Tex0 { apple,key-id = "Tex0"; label = "CPU Tex0"; }; - temperature-Tex1 { apple,key-id = "Tex1"; label = "CPU Tex1"; }; - temperature-Tex2 { apple,key-id = "Tex2"; label = "CPU Tex2"; }; - temperature-Tex3 { apple,key-id = "Tex3"; label = "CPU Tex3"; }; - temperature-TH0x { apple,key-id = "TH0x"; label = "NAND Flash Temperature"; }; - temperature-TB0T { apple,key-id = "TB0T"; label = "Battery Hotspot"; }; - temperature-TCHP { apple,key-id = "TCHP"; label = "Charge Regulator Temp"; }; - temperature-TW0P { apple,key-id = "TW0P"; label = "WiFi/BT Module Temp"; }; - power-PSTR { apple,key-id = "PSTR"; label = "Total System Power"; }; - power-PHPC { apple,key-id = "PHPC"; label = "Heatpipe Power"; }; - power-PDTR { apple,key-id = "PDTR"; label = "AC Input Power"; }; - voltage-VD0R { apple,key-id = "VD0R"; label = "AC Input Voltage"; }; - voltage-SBAV { apple,key-id = "SBAV"; label = "Battery Voltage"; }; - current-ID0R { apple,key-id = "ID0R"; label = "AC Input Current"; }; -}; - -&pinctrl { - status = "okay"; - - wifi_clkreq_pins: wifi-clkreq-pins { - pinmux = ; - }; -}; - -&pinctrl_nub { - status = "okay"; - /delete-property/ interrupt-controller; - /delete-property/ #interrupt-cells; - /delete-property/ interrupts; -}; - -&mtp { - status = "okay"; -}; - -&mtp_mbox { - status = "okay"; -}; - -&mtp_dart { - status = "okay"; -}; - -&mtp_dockchannel { - status = "okay"; }; &mtp_hid { - compatible = "apple,dockchannel-hid"; - apple,afe-reset-gpios = <&smc_gpio_low 25 GPIO_ACTIVE_LOW>; - apple,stm-reset-gpios = <&smc_gpio_low 26 GPIO_ACTIVE_LOW>; - multi-touch { firmware-name = "apple/tpmtfw-j616c.bin"; - apple,power-method = <2>; - }; - - keyboard: keyboard { - hid-country-code = <0>; - apple,keyboard-layout-id = <0>; - }; - - stm { - }; - - actuator { - }; - - tp-accel { - }; - - mtp { - }; -}; - -&pcie_dart { - status = "okay"; -}; - -/ { - pcie0: pcie@1cb0000000 { - compatible = "apple,t6041-pcie", "apple,t6020-pcie"; - reg = <0x1c 0xb0000000 0x0 0x1000000>, - <0x4 0x14000000 0x0 0x4000>, - <0x4 0x10028000 0x0 0x4000>, - <0x4 0x11028000 0x0 0x4000>, - <0x4 0x12028000 0x0 0x4000>, - <0x4 0x13028000 0x0 0x4000>, - <0x4 0x17020000 0x0 0x4000>, - <0x4 0x17024000 0x0 0x4000>, - <0x4 0x17028000 0x0 0x4000>, - <0x4 0x1702c000 0x0 0x4000>; - reg-names = "config", "rc", - "port0", "port1", "port2", "port3", - "phy0", "phy1", "phy2", "phy3"; - ranges = <0x43000000 0xb 0xc0000000 0xb 0xc0000000 0 0x20000000 0x2000000 0 0x80000000 0xb 0x80000000 0 0x40000000>; - pinctrl-names = "default"; - pinctrl-0 = <&wifi_clkreq_pins>; - #size-cells = <2>; - #address-cells = <3>; - bus-range = <0 1>; - iommu-map-mask = <0xffff>; - iommu-map = <0x100 &pcie_dart 1 2>; - msi-ranges = <&aic AIC_IRQ 2071 IRQ_TYPE_EDGE_RISING 32>; - msi-parent = <&pcie0>; - msi-controller; - interrupts = <0 0x6bb 4>; - interrupt-parent = <&aic>; - device_type = "pci"; - - port00: pci@0,0 { - reg = <0 0 0 0 0>; - ranges; - interrupt-map = <0 0 0 1 &port00 0 0 0 0 0 0 0 2 &port00 0 0 0 1 0 0 0 3 &port00 0 0 0 2 0 0 0 4 &port00 0 0 0 3>; - interrupt-map-mask = <0 0 0 7>; - #interrupt-cells = <1>; - interrupt-controller; - #size-cells = <2>; - #address-cells = <3>; - pwren-gpios = <&smc_gpio 0x13 0>; - reset-gpios = <&pinctrl 4 1>; - device_type = "pci"; - - bluetooth@0,1 { - compatible = "pci14e4,5f72"; - reg = <0x100 0 0 0 0>; - local-bd-address = [00 00 00 00 00 00]; - brcm,board-type = "apple,hostomel"; - status = "okay"; - }; - - wifi@0,0 { - compatible = "pci14e4,4434", "brcm,bcm4329-fmac"; - reg = <0 0 0 0 0>; - brcm,ccode-map-trivial; - brcm,board-type = "apple,hostomel"; - }; - }; - }; -}; - -&ans_mbox { - status = "okay"; -}; - -&ans_sart { - status = "okay"; -}; - -&nvme { - status = "okay"; -}; - -&display { - phandle = <&display>; - status = "okay"; -}; - -&dcp { - clocks = <&clk_disp0>; - phandle = <&dcp>; - - panel { - compatible = "apple,panel-j616", "apple,panel-mini-led", "apple,panel"; - width-mm = <346>; - height-mm = <223>; - adj-height-mm = <216>; - apple,max-brightness = <500>; - /* "Wide color (P3)" in the Apple technical specifications */ - apple,color-gamut = "display-p3"; - }; -}; - -&disp0_piodma { - phandle = <&disp0_piodma>; -}; - -&nub_spmi_a0 { - status = "okay"; - - hpm1: usb-pd@a { - compatible = "apple,sn201202x"; - reg = <0xa SPMI_USID>; - interrupts = <37 IRQ_TYPE_EDGE_RISING>, - <39 IRQ_TYPE_EDGE_RISING>, - <43 IRQ_TYPE_EDGE_RISING>, - <45 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "irq", "select", "sleep", "wake"; - - typec1: connector { - compatible = "usb-c-connector"; - label = "USB-C Left Front"; - power-role = "dual"; - data-role = "dual"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - typec1_con_hs: endpoint { - remote-endpoint = <&usb_drd1_hs>; - }; - }; - }; - }; - }; -}; - -&nub_spmi_a1 { - status = "okay"; - - hpm2: usb-pd@c { - compatible = "apple,sn201202x"; - reg = <0xc SPMI_USID>; - interrupts = <11 IRQ_TYPE_EDGE_RISING>, - <13 IRQ_TYPE_EDGE_RISING>, - <17 IRQ_TYPE_EDGE_RISING>, - <19 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "irq", "select", "sleep", "wake"; - - typec2: connector { - compatible = "usb-c-connector"; - label = "USB-C Right"; - power-role = "dual"; - data-role = "dual"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - typec2_con_hs: endpoint { - remote-endpoint = <&usb_drd2_hs>; - }; - }; - }; - }; - }; -}; - -&atcphy1 { - apple,tunable-usb2-host = <0x8 0x7003 0x3>; - status = "okay"; -}; - -&usb_drd1_dart_0 { - status = "okay"; -}; - -&usb_drd1_dart_1 { - status = "okay"; -}; - -&usb_drd1 { - maximum-speed = "high-speed"; - phys = <&atcphy1 PHY_TYPE_USB2>; - phy-names = "usb2-phy"; - apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, - <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, - <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, - <0x52c 0xff0000ff 0x08000008>, <0x538 0x00000800 0x00000800>, - <0x580 0xffffffff 0x6f000006>; - apple,tunable-cfg-host = <0x20 0xff 0x1b>; - status = "okay"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - usb_drd1_hs: endpoint { - remote-endpoint = <&typec1_con_hs>; - }; - }; - }; -}; - -&atcphy2 { - apple,tunable-usb2-host = <0x8 0x7003 0x3>; - status = "okay"; -}; - -&usb_drd2_dart_0 { - status = "okay"; -}; - -&usb_drd2_dart_1 { - status = "okay"; -}; - -&usb_drd2 { - maximum-speed = "high-speed"; - phys = <&atcphy2 PHY_TYPE_USB2>; - phy-names = "usb2-phy"; - apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, - <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, - <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, - <0x52c 0xff0000ff 0x08000008>, <0x538 0x00000800 0x00000800>, - <0x580 0xffffffff 0x6f000006>; - apple,tunable-cfg-host = <0x20 0xff 0x1b>; - status = "okay"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - usb_drd2_hs: endpoint { - remote-endpoint = <&typec2_con_hs>; - }; - }; - }; -}; - -/ { - reserved-memory { - #address-cells = <2>; - #size-cells = <2>; - ranges; - - gpu_uat_ttbs: uat-ttbs { - no-map; - status = "disabled"; - }; - - gpu_uat_pagetables: uat-pagetables { - no-map; - status = "disabled"; - }; - - gpu_uat_l2_pagetables: uat-l2-pagetables { - no-map; - status = "disabled"; - }; - - gpu_uat_handoff: uat-handoff { - no-map; - status = "disabled"; - }; - - gpu_fw_text: gpu-fw-text { - no-map; - status = "disabled"; - }; - - gpu_fw_data: gpu-fw-data { - no-map; - status = "disabled"; - }; - }; - - gpu_opp: opp-table-gpu { - compatible = "operating-points-v2"; - - opp00 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <125000 125000 125000 125000>; - }; - opp01 { - opp-hz = /bits/ 64 <338000000>; - opp-microvolt = <600000 600000 600000 600000>; - }; - opp02 { - opp-hz = /bits/ 64 <618000000>; - opp-microvolt = <665000 665000 660000 660000>; - }; - opp03 { - opp-hz = /bits/ 64 <796000000>; - opp-microvolt = <705000 705000 700000 705000>; - }; - opp04 { - opp-hz = /bits/ 64 <924000000>; - opp-microvolt = <725000 725000 715000 730000>; - }; - opp05 { - opp-hz = /bits/ 64 <952000000>; - opp-microvolt = <770000 770000 770000 780000>; - }; - opp06 { - opp-hz = /bits/ 64 <1056000000>; - opp-microvolt = <770000 770000 770000 780000>; - }; - opp07 { - opp-hz = /bits/ 64 <1062000000>; - opp-microvolt = <810000 810000 805000 810000>; - }; - opp08 { - opp-hz = /bits/ 64 <1182000000>; - opp-microvolt = <810000 810000 805000 810000>; - }; - opp09 { - opp-hz = /bits/ 64 <1182000000>; - opp-microvolt = <860000 860000 860000 860000>; - }; - opp10 { - opp-hz = /bits/ 64 <1312000000>; - opp-microvolt = <860000 860000 860000 860000>; - }; - opp11 { - opp-hz = /bits/ 64 <1242000000>; - opp-microvolt = <900000 895000 900000 900000>; - }; - opp12 { - opp-hz = /bits/ 64 <1380000000>; - opp-microvolt = <900000 895000 900000 900000>; - }; - opp13 { - opp-hz = /bits/ 64 <1326000000>; - opp-microvolt = <940000 925000 940000 940000>; - }; - opp14 { - opp-hz = /bits/ 64 <1470000000>; - opp-microvolt = <940000 925000 940000 940000>; - }; - opp15 { - opp-hz = /bits/ 64 <1578000000>; - opp-microvolt = <1020000 1020000 1020000 1020000>; - }; - }; - - gpu_cs_opp: opp-table-gpucs { - compatible = "operating-points-v2"; - - opp00 { - opp-hz = /bits/ 64 <24000000>; - opp-microvolt = <585000>; - }; - opp01 { - opp-hz = /bits/ 64 <338000000>; - opp-microvolt = <585000>; - }; - opp02 { - opp-hz = /bits/ 64 <618000000>; - opp-microvolt = <635000>; - }; - opp03 { - opp-hz = /bits/ 64 <796000000>; - opp-microvolt = <685000>; - }; - opp04 { - opp-hz = /bits/ 64 <992000000>; - opp-microvolt = <720000>; - }; - opp05 { - opp-hz = /bits/ 64 <1188000000>; - opp-microvolt = <770000>; - }; - opp06 { - opp-hz = /bits/ 64 <1380000000>; - opp-microvolt = <855000>; - }; - opp07 { - opp-hz = /bits/ 64 <1470000000>; - opp-microvolt = <885000>; - }; - }; - - gpu_afr_opp: opp-table-gpuafr { - compatible = "operating-points-v2"; - - opp00 { - opp-hz = /bits/ 64 <24000000>; - opp-microvolt = <585000>; - }; - opp01 { - opp-hz = /bits/ 64 <338000000>; - opp-microvolt = <585000>; - }; - opp02 { - opp-hz = /bits/ 64 <618000000>; - opp-microvolt = <635000>; - }; - opp03 { - opp-hz = /bits/ 64 <796000000>; - opp-microvolt = <685000>; - }; - opp04 { - opp-hz = /bits/ 64 <992000000>; - opp-microvolt = <720000>; - }; - opp05 { - opp-hz = /bits/ 64 <1188000000>; - opp-microvolt = <770000>; - }; - opp06 { - opp-hz = /bits/ 64 <1380000000>; - opp-microvolt = <855000>; - }; - opp07 { - opp-hz = /bits/ 64 <1470000000>; - opp-microvolt = <885000>; - }; - }; -}; - -&gpu { - memory-region = <&gpu_uat_ttbs>, <&gpu_uat_pagetables>, - <&gpu_uat_handoff>, <&gpu_fw_data>, - <&gpu_uat_l2_pagetables>, <&gpu_fw_text>; - memory-region-names = "ttbs", "pagetables", "handoff", "fw-data", - "l2-pagetables", "fw-text"; - operating-points-v2 = <&gpu_opp>; - apple,cs-opp = <&gpu_cs_opp>; - apple,afr-opp = <&gpu_afr_opp>; - apple,firmware-version = <26 5 2>; -}; - -/ { - aliases { - aop = &aop; - }; - speaker_sdz: regulator-sn012776-sdz { - compatible = "regulator-fixed"; - regulator-name = "sn012776-sdz"; - gpios = <&pinctrl 54 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; - - sound: sound { - compatible = "apple,j616-macaudio", "apple,macaudio"; - model = "MacBook Pro J616"; - #address-cells = <1>; - #size-cells = <0>; - - dai-link@0 { - reg = <0>; - link-name = "Speakers"; - dai-tdm-idle-mode-0 = "zero"; - dai-tdm-idle-mode-1 = "zero"; - dai-tdm-slot-tx-idle-mask-0 = <0xf0f0f0>; - dai-tdm-slot-tx-idle-mask-1 = <0x0f0f0f>; - - cpu { - sound-dai = <&aop_audio 3>; - }; - - codec { - sound-dai = <&speaker_left_woof1>, <&speaker_right_woof1>, - <&speaker_left_woof2>, <&speaker_right_woof2>, - <&speaker_left_tweet>, <&speaker_right_tweet>; - }; - }; - }; - - sound_jack: sound-jack { - compatible = "apple,j616-macaudio-jack", "apple,macaudio"; - model = "MacBook Pro J616 Jack"; - #address-cells = <1>; - #size-cells = <0>; - - dai-link@0 { - reg = <0>; - link-name = "Headphone Jack"; - - cpu { - sound-dai = <&aop_audio 4>; - }; - - codec { - sound-dai = <&jack_codec>; - }; - }; }; }; -&aop { - status = "okay"; +&wifi0 { + brcm,board-type = "apple,hostomel"; }; -&aop_mbox { - status = "okay"; +&bluetooth0 { + brcm,board-type = "apple,hostomel"; }; -&aop_dart { - status = "okay"; +&panel { + compatible = "apple,panel-j616", "apple,panel-mini-led", "apple,panel"; + width-mm = <346>; + height-mm = <223>; + adj-height-mm = <216>; }; -&admac0 { - status = "okay"; +&sound { + compatible = "apple,j616-macaudio", "apple,macaudio"; + model = "MacBook Pro J616"; }; -&admac1 { - status = "okay"; +&sound_jack { + compatible = "apple,j616-macaudio-jack", "apple,macaudio"; + model = "MacBook Pro J616 Jack"; }; &aop_audio { apple,chassis-name = "J616"; - apple,machine-kind = "MacBook Pro"; -}; - -&i2c1 { - status = "okay"; - - speaker_left_woof1: codec@38 { - compatible = "ti,sn012776", "ti,tas2764"; - reg = <0x38>; - SDZ-supply = <&speaker_sdz>; - apple,sdz-group-fail-closed; - #sound-dai-cells = <0>; - sound-name-prefix = "Left Woofer 1"; - interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; - ti,imon-slot-no = <0>; - ti,vmon-slot-no = <2>; - }; - - speaker_left_woof2: codec@39 { - compatible = "ti,sn012776", "ti,tas2764"; - reg = <0x39>; - SDZ-supply = <&speaker_sdz>; - apple,sdz-group-fail-closed; - #sound-dai-cells = <0>; - sound-name-prefix = "Left Woofer 2"; - interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; - ti,imon-slot-no = <8>; - ti,vmon-slot-no = <10>; - }; - - speaker_left_tweet: codec@3a { - compatible = "ti,sn012776", "ti,tas2764"; - reg = <0x3a>; - SDZ-supply = <&speaker_sdz>; - apple,sdz-group-fail-closed; - #sound-dai-cells = <0>; - sound-name-prefix = "Left Tweeter"; - interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; - ti,imon-slot-no = <16>; - ti,vmon-slot-no = <18>; - }; -}; - -&i2c3 { - status = "okay"; - - speaker_right_woof1: codec@3b { - compatible = "ti,sn012776", "ti,tas2764"; - reg = <0x3b>; - SDZ-supply = <&speaker_sdz>; - apple,sdz-group-fail-closed; - #sound-dai-cells = <0>; - sound-name-prefix = "Right Woofer 1"; - interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; - ti,imon-slot-no = <4>; - ti,vmon-slot-no = <6>; - }; - - speaker_right_woof2: codec@3c { - compatible = "ti,sn012776", "ti,tas2764"; - reg = <0x3c>; - SDZ-supply = <&speaker_sdz>; - apple,sdz-group-fail-closed; - #sound-dai-cells = <0>; - sound-name-prefix = "Right Woofer 2"; - interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; - ti,imon-slot-no = <12>; - ti,vmon-slot-no = <14>; - }; - - speaker_right_tweet: codec@3d { - compatible = "ti,sn012776", "ti,tas2764"; - reg = <0x3d>; - SDZ-supply = <&speaker_sdz>; - apple,sdz-group-fail-closed; - #sound-dai-cells = <0>; - sound-name-prefix = "Right Tweeter"; - interrupts-extended = <&pinctrl 55 IRQ_TYPE_LEVEL_LOW>; - ti,imon-slot-no = <20>; - ti,vmon-slot-no = <22>; - }; -}; - -&i2c2 { - status = "okay"; - - jack_codec: codec@4b { - compatible = "cirrus,cs42l84"; - reg = <0x4b>; - reset-gpios = <&pinctrl_nub 58 GPIO_ACTIVE_HIGH>; - #sound-dai-cells = <0>; - interrupts-extended = <&pinctrl 106 IRQ_TYPE_LEVEL_LOW>; - sound-name-prefix = "Jack"; - }; -}; - -&aop { nonposted-mmio; }; - -&aop_als { status = "disabled"; }; -&aop_las { status = "disabled"; }; - -&admac1 { dma-channels = <26>; nonposted-mmio; }; -&admac0 { nonposted-mmio; }; -&aop_dart { nonposted-mmio; }; -&i2c1 { nonposted-mmio; }; -&i2c2 { nonposted-mmio; }; -&i2c3 { nonposted-mmio; }; - -/ { - reserved-memory { - aop_mmio_pmgr: aop-mmio-pmgr@508304000 { - reg = <0x5 0x08304000 0x0 0x4000>; - iommu-addresses = <&aop 0x5 0x08304000 0x0 0x4000>; - no-map; - }; - }; -}; - -&sep_mbox { - status = "okay"; -}; - -&spi2 { - status = "okay"; }; &mesa { - status = "okay"; - enable-gpios = <&pinctrl_nub 53 GPIO_ACTIVE_HIGH>; - interrupt-parent = <&pinctrl>; - interrupts = <116 IRQ_TYPE_EDGE_RISING>; - spi-cs-setup-delay-ns = <20>; - spi-cs-hold-delay-ns = <20>; firmware-name = "apple/mesacal-j616c.bin", "apple/msrk-j616c.bin"; }; - -&aop { - memory-region = <&aop_mmio_pmgr>; -}; - -#include "hwmon-fan-dual.dtsi" - -&smc_hwmon { - fan-F0Ac { - apple,fan-manual-control; - }; - - fan-F1Ac { - apple,fan-manual-control; - }; -}; - -#include "t604x-extdisp.dtsi" - -/delete-node/ &atcphy0_xbar; -/delete-node/ &atcphy2_xbar; - -#include "t6041-j616c-hdmi.dtsi" -#include "t6041-j616c-usbc.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6041.dtsi b/arch/arm64/boot/dts/apple/t6041.dtsi index 094a7c4bd8fa6..cedebb355bd3e 100644 --- a/arch/arm64/boot/dts/apple/t6041.dtsi +++ b/arch/arm64/boot/dts/apple/t6041.dtsi @@ -1,210 +1,15 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT -// Copyright The Asahi Linux Contributors +/* + * Apple T6041 "M4 Max" SoC + * + * Copyright The Asahi Linux Contributors + */ #include "t604x.dtsi" - -/* Keep the validated T6041 topology independent of unqualified T6040 blocks. */ -/delete-node/ &clk_200m; -/delete-node/ &sio; -/delete-node/ &ave0_dart1; -/delete-node/ &ave0_dart0; -/delete-node/ &apr0_dart; -/delete-node/ &usb4_0_dart; -/delete-node/ &apciec0_dart; -/delete-node/ &usb4_1_dart; -/delete-node/ &apciec1_dart; -/delete-node/ &usb4_2_dart; -/delete-node/ &apciec2_dart; -/delete-node/ &apcie1_dart; -/delete-node/ &sio_dart; -/delete-node/ &jpeg0; -/delete-node/ &jpeg1; -/delete-node/ &jpeg0_dart; -/delete-node/ &jpeg1_dart; -/delete-node/ &scaler0_dart; -/delete-node/ &usb4_0_mbox; -/delete-node/ &usb4_1_mbox; -/delete-node/ &usb4_2_mbox; -/delete-node/ &sio_mbox; -/delete-node/ &pinctrl_smc; -/delete-node/ &ps_gpx; -/delete-node/ &ps_apcie_gp; -/delete-node/ &ps_fab4_soc; -/delete-node/ &ps_sio_cpu; -/delete-node/ &ps_fpwm1; -/delete-node/ &ps_fpwm2; -/delete-node/ &ps_i2c0; -/delete-node/ &ps_i2c5; -/delete-node/ &ps_i2c7; -/delete-node/ &ps_uart_p; -/delete-node/ &ps_dpa_p; -/delete-node/ &ps_aes; -/delete-node/ &ps_spi0; -/delete-node/ &ps_spi1; -/delete-node/ &ps_spi3; -/delete-node/ &ps_spi4; -/delete-node/ &ps_spi5; -/delete-node/ &ps_qspi; -/delete-node/ &ps_uart_n; -/delete-node/ &ps_uart0; -/delete-node/ &ps_uart1; -/delete-node/ &ps_uart2; -/delete-node/ &ps_uart3; -/delete-node/ &ps_uart4; -/delete-node/ &ps_uart5; -/delete-node/ &ps_uart6; -/delete-node/ &ps_dpa0; -/delete-node/ &ps_dpa1; -/delete-node/ &ps_dpa2; -/delete-node/ &ps_dpa3; -/delete-node/ &ps_dpa4; -/delete-node/ &ps_disp_sys; -/delete-node/ &ps_amcc4; -/delete-node/ &ps_amcc5; -/delete-node/ &ps_amcc6; -/delete-node/ &ps_amcc7; -/delete-node/ &ps_amcc12; -/delete-node/ &ps_amcc13; -/delete-node/ &ps_amcc14; -/delete-node/ &ps_amcc15; -/delete-node/ &ps_dcs_04; -/delete-node/ &ps_dcs_05; -/delete-node/ &ps_dcs_06; -/delete-node/ &ps_dcs_07; -/delete-node/ &ps_dcs_12; -/delete-node/ &ps_dcs_13; -/delete-node/ &ps_dcs_14; -/delete-node/ &ps_dcs_15; -/delete-node/ &ps_disp_fe; -/delete-node/ &ps_apcie_sys_gp; -/delete-node/ &ps_apcie_phy_sw; -/delete-node/ &ps_jpg; -/delete-node/ &pmgr_disp; -/delete-node/ &ps_ecpu_0; -/delete-node/ &ps_ecpu_2; -/delete-node/ &ps_dwi; -/delete-node/ &ps_aic; -/delete-node/ &ps_pmc; -/delete-node/ &ps_pms_c1ppt; -/delete-node/ &ps_soc_dpe; -/delete-node/ &ps_pmgr_soc_ocla; -/delete-node/ &ps_pms_fpwm0; -/delete-node/ &ps_pms_fpwm1; -/delete-node/ &ps_pms_fpwm2; -/delete-node/ &ps_pms_fpwm3; -/delete-node/ &ps_pms_fpwm4; -/delete-node/ &ps_fab0_soc; -/delete-node/ &ps_ecpu_3; -/delete-node/ &ps_amcc0; -/delete-node/ &ps_dcs_00; -/delete-node/ &ps_rom; -/delete-node/ &ps_amcc1; -/delete-node/ &ps_dcs_01; -/delete-node/ &ps_amcc2; -/delete-node/ &ps_dcs_02; -/delete-node/ &ps_amcc3; -/delete-node/ &ps_dcs_03; -/delete-node/ &ps_amcc8; -/delete-node/ &ps_dcs_08; -/delete-node/ &ps_amcc9; -/delete-node/ &ps_dcs_09; -/delete-node/ &ps_amcc10; -/delete-node/ &ps_dcs_10; -/delete-node/ &ps_amcc11; -/delete-node/ &ps_pcpu0_0; -/delete-node/ &ps_dcs_11; -/delete-node/ &ps_venc0_sys; -/delete-node/ &ps_pcpu0_1; -/delete-node/ &ps_fab_gw_0; -/delete-node/ &ps_fab_gw_1; -/delete-node/ &ps_fab_afr; -/delete-node/ &ps_fab1_soc; -/delete-node/ &ps_pcpu0_2; -/delete-node/ &ps_scodec; -/delete-node/ &ps_scodec_streaming; -/delete-node/ &ps_fab2_soc; -/delete-node/ &ps_dispext0_sys; -/delete-node/ &ps_dispext0_fe; -/delete-node/ &ps_dispext0_cpu; -/delete-node/ &ps_pcpu0_3; -/delete-node/ &ps_atc0_cio; -/delete-node/ &ps_atc0_pcie; -/delete-node/ &ps_atc0_cio_pcie; -/delete-node/ &ps_atc0_cio_usb; -/delete-node/ &ps_atc1_cio; -/delete-node/ &ps_atc1_pcie; -/delete-node/ &ps_atc1_cio_pcie; -/delete-node/ &ps_atc1_cio_usb; -/delete-node/ &ps_atc2_cio; -/delete-node/ &ps_atc2_pcie; -/delete-node/ &ps_atc2_cio_pcie; -/delete-node/ &ps_pcpu0_4; -/delete-node/ &ps_atc2_cio_usb; -/delete-node/ &ps_atc3_cio; -/delete-node/ &ps_atc3_pcie; -/delete-node/ &ps_atc3_cio_pcie; -/delete-node/ &ps_atc3_cio_usb; -/delete-node/ &ps_fab5_soc; -/delete-node/ &ps_sbr; -/delete-node/ &ps_gpio; -/delete-node/ &ps_msg; -/delete-node/ &ps_ap_tmm; -/delete-node/ &ps_msr0; -/delete-node/ &ps_msr0_ase_core; -/delete-node/ &ps_pcpu0_5; -/delete-node/ &ps_fab7_soc; -/delete-node/ &ps_dispext1_sys; -/delete-node/ &ps_dispext1_fe; -/delete-node/ &ps_dispext1_cpu; -/delete-node/ &ps_pcpu1_0; -/delete-node/ &ps_pcpu1_1; -/delete-node/ &ps_pcpu1_2; -/delete-node/ &ps_pcpu1_3; -/delete-node/ &ps_pcpu1_4; -/delete-node/ &ps_pcpu1_5; -/delete-node/ &ps_ecpu_1; -/delete-node/ &ps_ecpm; -/delete-node/ &ps_pcpm0; -/delete-node/ &ps_pcpm1; -/delete-node/ &pmgr_venc; -/delete-node/ &ps_debug_gated; -/delete-node/ &ps_nub_fabric; -/delete-node/ &ps_nub_sram; -/delete-node/ &ps_debug_switch; -/delete-node/ &ps_nub_spmi_ahb; -/delete-node/ &ps_nub_spmi0; -/delete-node/ &ps_nub_spmi_a2; -/delete-node/ &ps_nub_spi0; -/delete-node/ &ps_nub_aon; -/delete-node/ &ps_nub_ocla; -/delete-node/ &ps_nub_spmi1; -/delete-node/ &ps_nub_spmi2; -/delete-node/ &ps_nub_spmi3; -/delete-node/ &ps_nub_spmi4; -/delete-node/ &dcuart; -/delete-node/ &spi4; -/delete-node/ &qspi; -/delete-node/ &nub_spmi1; -/delete-node/ &nub_spmi2; -/delete-node/ &nub_spmi3; -/delete-node/ &nub_spmi4; -/delete-node/ &aop_spmi0; -/delete-node/ &ave; - -/delete-node/ &aop_accel; -/delete-node/ &aop_gyro; -/delete-node/ &pmc_soc_max; -/delete-node/ &pmu_rtc; - -/ { - /delete-node/ pmu; -}; - &avd { compatible = "apple,t6041-max-avd", "apple,t6041-avd", "apple,t8132-avd"; power-domains = <&ps_avd_sys>; - /delete-property/ power-domain-names; }; /* @@ -213,8 +18,6 @@ * Abbey offsets (ADT info-rtc_alarm_*). */ &nub_spmi0 { - /delete-node/ pmic@e; - pmic@b { compatible = "apple,chapel-pmic", "apple,spmi-nvmem"; reg = <0xb SPMI_USID>; @@ -259,105 +62,6 @@ }; }; -&usb_drd0_dart_0 { - /delete-property/ apple,dma-range; -}; - -&usb_drd0_dart_1 { - /delete-property/ apple,dma-range; -}; - -&usb_drd1_dart_0 { - /delete-property/ apple,dma-range; -}; - -&usb_drd1_dart_1 { - /delete-property/ apple,dma-range; -}; - -&usb_drd2_dart_0 { - /delete-property/ apple,dma-range; -}; - -&usb_drd2_dart_1 { - /delete-property/ apple,dma-range; -}; - -&mtp_dart { - /delete-property/ apple,dma-range; -}; - -&{/opp-table-e/opp01} { - /delete-property/ opp-microwatt; -}; - -&{/opp-table-e/opp02} { - /delete-property/ opp-microwatt; -}; - -&{/opp-table-e/opp03} { - /delete-property/ opp-microwatt; -}; - -&{/opp-table-e/opp04} { - /delete-property/ opp-microwatt; -}; - -&{/opp-table-e/opp05} { - /delete-property/ opp-microwatt; -}; - -&{/opp-table-e/opp06} { - /delete-property/ opp-microwatt; -}; - -&{/opp-table-e/opp07} { - /delete-property/ opp-microwatt; -}; - -&ps_avd_sys { - /delete-property/ power-domains; -}; - -&ps_atc0_common { - /delete-property/ power-domains; -}; - -&ps_atc1_common { - /delete-property/ power-domains; -}; - -&ps_atc2_common { - /delete-property/ power-domains; -}; - -&ps_atc3_common { - /delete-property/ power-domains; -}; - -/* FAB4_SOC and FAB5_SOC are critical, on from iBoot and not described here. */ -&ps_ane_sys { - /delete-property/ power-domains; -}; - -&ps_pmp { - /delete-property/ power-domains; -}; - -&ps_pms_sram { - /delete-property/ power-domains; -}; - -&serial0 { - /delete-property/ power-domains; - /delete-property/ status; -}; - -/delete-node/ &gpu; -/delete-node/ &gfx_mbox; -/delete-node/ &opp_p0; -/delete-node/ &opp_p1; - / { opp_p0: opp-table-p0 { compatible = "operating-points-v2"; @@ -593,7 +297,6 @@ }; &pmc { - /delete-property/ apple,pmp; apple,static-voters = <1 3>; }; @@ -603,12 +306,12 @@ reg = <0x2 0x8a600000 0x0 0x88000>, <0x2 0x88000000 0x0 0x3758000>; reg-names = "asc", "sgx"; - mboxes = <&gfx_mbox>; + mboxes = <&agx_mbox>; power-domains = <&ps_gfx>; status = "disabled"; }; - gfx_mbox: mailbox@28a600000 { + agx_mbox: mailbox@28a600000 { compatible = "apple,t6040-ascwrap-v6"; reg = <0x2 0x8a600000 0x0 0x88000>, <0x2 0x8a050000 0x0 0x8>; diff --git a/arch/arm64/boot/dts/apple/t604x-extdisp.dtsi b/arch/arm64/boot/dts/apple/t604x-extdisp.dtsi index dcbce6e842cd9..3b60ac6afcb78 100644 --- a/arch/arm64/boot/dts/apple/t604x-extdisp.dtsi +++ b/arch/arm64/boot/dts/apple/t604x-extdisp.dtsi @@ -100,7 +100,6 @@ mboxes = <&atcphy3_mbox>; mbox-names = "phy-cpu"; nonposted-mmio; - status = "disabled"; apple,tunable-axi2af = <0x0 0x800000ff 0x80000025>, <0x4 0x80ff00ff 0x80250003>, @@ -260,6 +259,7 @@ <0x1d098 0x00080000 0x00080000>, <0x1d0a4 0x00800000 0x00800000>, <0x1d0a8 0x00200000 0x00200000>; + status = "disabled"; }; atcphy3_mbox: mailbox@39b148000 { @@ -282,32 +282,32 @@ compatible = "apple,t6041-display-crossbar"; reg = <0x3 0x8324c000 0x0 0x4000>; #mux-control-cells = <1>; - status = "disabled"; power-domains = <&ps_atc0_usb>; + status = "disabled"; }; atcphy1_xbar: mux@38b24c000 { compatible = "apple,t6041-display-crossbar"; reg = <0x3 0x8b24c000 0x0 0x4000>; #mux-control-cells = <1>; - status = "disabled"; power-domains = <&ps_atc1_usb>; + status = "disabled"; }; atcphy2_xbar: mux@39324c000 { compatible = "apple,t6041-display-crossbar"; reg = <0x3 0x9324c000 0x0 0x4000>; #mux-control-cells = <1>; - status = "disabled"; power-domains = <&ps_atc2_usb>; + status = "disabled"; }; atcphy3_xbar: mux@39b24c000 { compatible = "apple,t6041-display-crossbar"; reg = <0x3 0x9b24c000 0x0 0x4000>; #mux-control-cells = <1>; - status = "disabled"; power-domains = <&ps_atc3_usb>; + status = "disabled"; }; }; diff --git a/arch/arm64/boot/dts/apple/t604x-j575-j773.dtsi b/arch/arm64/boot/dts/apple/t604x-j575-j773.dtsi new file mode 100644 index 0000000000000..7c5592f80fca9 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t604x-j575-j773.dtsi @@ -0,0 +1,82 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * This file contains the parts common to the M4 Pro Mac mini (J773s) + * and M4 Max Mac Studio (J575c). + * + * target-type: J575c / J773s + * + * Copyright The Asahi Linux Contributors + */ + +/* + * Neither has an internal panel or a camera: the internal display and ISP + * blocks of the SoC stay disabled, and the boot loader's framebuffer is on + * an external display. + */ +/ { + chassis-type = "desktop"; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* To be filled by loader */ + /* Format properties will be added by loader */ + status = "disabled"; + }; + }; + + memory@0 { + device_type = "memory"; + reg = <0 0 0 0>; /* To be filled by loader */ + }; + + /* The DART of PCIe port 2, the Ethernet port (J773s ADT dart-apcie2). */ + apcie2_dart: iommu@412000000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x4 0x12000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; +}; + +/* + * The ISP and camera sensor have no power states here (J773s ADT no_ps), and + * the ISP's own PMGR block sits behind ISP_SYS: keep every ISP domain off. + */ +&ps_ispsens0 { + status = "disabled"; +}; + +&ps_isp_sys { + status = "disabled"; +}; + +&ps_isp_cpu { + status = "disabled"; +}; + +&ps_isp_fe { + status = "disabled"; +}; + +&ps_isp_dprx { + status = "disabled"; +}; + +&ps_isp_secure { + status = "disabled"; +}; + +&ps_isp_be { + status = "disabled"; +}; + +&ps_isp_clr { + status = "disabled"; +}; diff --git a/arch/arm64/boot/dts/apple/t604x-j614-j616.dtsi b/arch/arm64/boot/dts/apple/t604x-j614-j616.dtsi index 7fb0face47e9b..9b7ebe787459b 100644 --- a/arch/arm64/boot/dts/apple/t604x-j614-j616.dtsi +++ b/arch/arm64/boot/dts/apple/t604x-j614-j616.dtsi @@ -109,8 +109,8 @@ */ gpu_fw_text: gpu-fw-text { reg = <0 0 0 0>; - status = "disabled"; no-map; + status = "disabled"; }; /* @@ -119,8 +119,8 @@ */ gpu_fw_data: gpu-fw-data { reg = <0 0 0 0>; - status = "disabled"; no-map; + status = "disabled"; }; /* @@ -130,26 +130,26 @@ */ uat_ttbs: uat-ttbs { reg = <0 0 0 0>; - status = "disabled"; no-map; + status = "disabled"; }; uat_pagetables: uat-pagetables { reg = <0 0 0 0>; - status = "disabled"; no-map; + status = "disabled"; }; uat_l2_pagetables: uat-l2-pagetables { reg = <0 0 0 0>; - status = "disabled"; no-map; + status = "disabled"; }; uat_handoff: uat-handoff { reg = <0 0 0 0>; - status = "disabled"; no-map; + status = "disabled"; }; }; @@ -169,1462 +169,12 @@ max-brightness = <255>; }; }; +}; - /* - * GPU performance states, one opp-microvolt cell per cluster (ADT - * /arm-io/sgx perf-states and perf-states1). The operating points are - * binned per device: the loader fills these placeholders. - * The driver requires a completed calibration handoff. Entries keep the - * order of the GPU performance states, which is not sorted by frequency. - */ - gpu_opp: opp-table-gpu { - compatible = "operating-points-v2"; - - opp00 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp01 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp02 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp03 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp04 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp05 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp06 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp07 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp08 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp09 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp10 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp11 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp12 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp13 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp14 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp15 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - }; - - /* The GPU's CS clock domain (ADT cs-perf-states) */ - gpu_cs_opp: opp-table-gpucs { - compatible = "operating-points-v2"; - - opp00 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp01 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp02 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp03 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp04 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp05 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp06 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp07 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - }; - - /* The GPU's AFR clock domain (ADT afr-perf-states) */ - gpu_afr_opp: opp-table-gpuafr { - compatible = "operating-points-v2"; - - opp00 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp01 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp02 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp03 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp04 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp05 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp06 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - opp07 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; - }; - - /* - * CPU die temperature: SMC key TCMz (CPU die max), sensor 0 of - * smc_hwmon, polled once a second as the SMC refreshes it. Per-cluster - * and GPU zones follow, one per SMC die-maximum sensor (smc_hwmon - * channels 1-23, in the order of the temperature nodes below): Tex0-3 - * throttle the E cluster, Tpx0-5 the first P cluster and Tpx8-D the - * second. The die zone throttles all three. The cpufreq cooling device - * sits on a cluster's policy CPU, so each map lists every CPU of its - * cluster. - * - * The fast control is the PMP's, as on macOS: its loop holds its own - * hot-spot sensors at the ADT fast-die-ctrl-loop target of 110 C and - * cpufreq enforces its effort as a frequency limit within milliseconds. - * Under a sustained all-core build TCMz then settles at 113 to 114 C. - * The CPU zones are the slower backstop above that point: the power - * allocator switches on at 75 C and controls at 115 C, so it leaves the - * PMP's operating point alone and only trims what the PMP lets through. - * - * The PMP's sensors do not see every hot spot. Under mixed SIMD, - * memory and GPU load the per-core Tpx sensors follow a core's power - * within a second and jump by 9-10 C (one standard deviation) between - * 1 s samples while the PMP's effort stays at zero. A controller on - * these samples cannot stop single excursions, and a proportional one - * swings between no limit and full cooling every second, so the zones - * are integral-led: the wide 40 C switch-on window keeps the - * proportional gains low and integral-time-constant-ms sets the - * integral term. Each zone throttles only the cluster its sensor sits - * on: the allocator divides a zone's budget by requested power, so a - * zone that throttled every cluster left a hot core's own cluster - * nearly at full speed. - * - * Critical (orderly shutdown) is at 125 C, the per-sensor maximum the - * ADT temp-sensor table gives next to the 110 C target for the PMP's - * sensors (the sochot level). The SMC sensors read a few degrees above - * the PMP's, so Linux shuts down at or before the hardware's own limit. - * A hot trip at 120 C only reports, and the critical trip acts only - * after three consecutive samples at or above it (critical-samples), - * so one excursion cannot shut the machine down. Under any load the - * per-core excursions have peaked at 116.5-118 C, which the former - * 118 C critical trip turned into a shutdown. - * - * The GPU has no cooling device of its own: its firmware sets the GPU - * performance state and starts limiting at 101 C. So when a GPU die - * sensor reaches the GPU firmware's limit, the seven - * hottest ones (Tg05, Tg0S, Tg0Y, Tg0k, Tg0z, Tg1V, Tg1l) also shed - * CPU power through the CPU clusters, from the same 101 C, leaving the - * shared heat budget to the GPU. They shut down at 118 C. While the - * GPU is powered off its sensors report placeholder values from -4 to - * 4 C. - * - * Every zone runs the power allocator, which acts at any temperature - * unless a zone has a second passive trip: the first one is then its - * switch-on point, below which it resets and grants full power. So each - * zone has one: 75 C under the 115 C die and CPU control trip and 90 C - * under the GPU zones' 101 C one. Without them the GPU zones, whose - * placeholder readings never warm up, held all 14 CPUs to about 7.5 W - * (1.26/1.02/1.26 GHz) under any all-core load. The GPU zones also - * carry the die's sustainable power rather than the allocator's - * estimate from the lowest CPU states (about 2.6 W). - * - * The fans stay with the SMC, as on macOS: macOS writes no SMC key at - * runtime and its fans run in the SMC's own mode, which ramps them - * under sustained load. No zone has active trips; the hwmon fans stay - * cooling devices for userspace and manual control. - * - * sustainable-power is what the CPUs dissipate with the die held at - * its operating point: 720 s of all-core load (10 P, 4 E busy loops), - * headless, SMC fans in their own mode. Over the last 600 s TCMz held - * 112.0 to 113.8 C with the PMP limiting the P clusters to a mean of - * about 3.7 GHz and the fans at 3450/3730 rpm (where macOS settles - * too). The SMC core rails then read P0 25.3 W, P1 23.9 W and E 2.1 W - * on average, the units of the energy model. Each zone gets the sum - * over the clusters it throttles. Without it the power allocator - * estimates a budget from the cooling devices' lowest states, which - * throttles far below what this machine sustains. - * - * All of these values were measured on the J616s. The J614s inherits - * them until it is measured: Apple's package power limits for it are - * about 78% (CPU) and 90% (GPU) of the J616s ones, so its budgets are - * generous here, and these zones are a backstop behind the PMP. - */ - thermal-zones { - cpu-die-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <51300>; - thermal-sensors = <&smc_hwmon 0>; /* TCMz */ - - trips { - cpu_die_switch_on: cpu-die-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_die_passive: cpu-die-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - cpu-die-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - cpu-die-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&cpu_die_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p0 { - trip = <&cpu_die_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p1 { - trip = <&cpu_die_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-e0-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <2100>; - thermal-sensors = <&smc_hwmon 1>; /* Tex0 */ - - trips { - cpu_e0_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_e0_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&cpu_e0_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-e1-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <2100>; - thermal-sensors = <&smc_hwmon 2>; /* Tex1 */ - - trips { - cpu_e1_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_e1_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&cpu_e1_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-e2-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <2100>; - thermal-sensors = <&smc_hwmon 3>; /* Tex2 */ - - trips { - cpu_e2_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_e2_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&cpu_e2_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-e3-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <2100>; - thermal-sensors = <&smc_hwmon 4>; /* Tex3 */ - - trips { - cpu_e3_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_e3_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&cpu_e3_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p00-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <25300>; - thermal-sensors = <&smc_hwmon 5>; /* Tpx0 */ - - trips { - cpu_p00_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p00_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p0 { - trip = <&cpu_p00_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p01-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <25300>; - thermal-sensors = <&smc_hwmon 6>; /* Tpx1 */ - - trips { - cpu_p01_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p01_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p0 { - trip = <&cpu_p01_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p02-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <25300>; - thermal-sensors = <&smc_hwmon 7>; /* Tpx2 */ - - trips { - cpu_p02_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p02_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p0 { - trip = <&cpu_p02_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p03-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <25300>; - thermal-sensors = <&smc_hwmon 8>; /* Tpx3 */ - - trips { - cpu_p03_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p03_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p0 { - trip = <&cpu_p03_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p04-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <25300>; - thermal-sensors = <&smc_hwmon 9>; /* Tpx4 */ - - trips { - cpu_p04_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p04_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p0 { - trip = <&cpu_p04_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p05-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <25300>; - thermal-sensors = <&smc_hwmon 10>; /* Tpx5 */ - - trips { - cpu_p05_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p05_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p0 { - trip = <&cpu_p05_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p10-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <23900>; - thermal-sensors = <&smc_hwmon 11>; /* Tpx8 */ - - trips { - cpu_p10_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p10_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p1 { - trip = <&cpu_p10_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p11-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <23900>; - thermal-sensors = <&smc_hwmon 12>; /* Tpx9 */ - - trips { - cpu_p11_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p11_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p1 { - trip = <&cpu_p11_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p12-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <23900>; - thermal-sensors = <&smc_hwmon 13>; /* TpxA */ - - trips { - cpu_p12_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p12_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p1 { - trip = <&cpu_p12_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p13-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <23900>; - thermal-sensors = <&smc_hwmon 14>; /* TpxB */ - - trips { - cpu_p13_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p13_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p1 { - trip = <&cpu_p13_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p14-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <23900>; - thermal-sensors = <&smc_hwmon 15>; /* TpxC */ - - trips { - cpu_p14_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p14_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p1 { - trip = <&cpu_p14_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - cpu-p15-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - integral-time-constant-ms = <20000>; - critical-samples = <3>; - sustainable-power = <23900>; - thermal-sensors = <&smc_hwmon 16>; /* TpxD */ - - trips { - cpu_p15_switch_on: trip-switch-on { - temperature = <75000>; - hysteresis = <2000>; - type = "passive"; - }; - - cpu_p15_passive: trip-passive { - temperature = <115000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-hot { - temperature = <120000>; - hysteresis = <2000>; - type = "hot"; - }; - - trip-critical { - temperature = <125000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-p1 { - trip = <&cpu_p15_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - gpu0-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - sustainable-power = <51300>; - thermal-sensors = <&smc_hwmon 17>; /* Tg05 */ - - trips { - gpu0_switch_on: trip-switch-on { - temperature = <90000>; - hysteresis = <2000>; - type = "passive"; - }; - - gpu0_passive: trip-passive { - temperature = <101000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-critical { - temperature = <118000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&gpu0_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p0 { - trip = <&gpu0_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p1 { - trip = <&gpu0_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - gpu1-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - sustainable-power = <51300>; - thermal-sensors = <&smc_hwmon 18>; /* Tg0S */ - - trips { - gpu1_switch_on: trip-switch-on { - temperature = <90000>; - hysteresis = <2000>; - type = "passive"; - }; - - gpu1_passive: trip-passive { - temperature = <101000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-critical { - temperature = <118000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&gpu1_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p0 { - trip = <&gpu1_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p1 { - trip = <&gpu1_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - gpu2-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - sustainable-power = <51300>; - thermal-sensors = <&smc_hwmon 19>; /* Tg0Y */ - - trips { - gpu2_switch_on: trip-switch-on { - temperature = <90000>; - hysteresis = <2000>; - type = "passive"; - }; - - gpu2_passive: trip-passive { - temperature = <101000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-critical { - temperature = <118000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&gpu2_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p0 { - trip = <&gpu2_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p1 { - trip = <&gpu2_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - gpu3-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - sustainable-power = <51300>; - thermal-sensors = <&smc_hwmon 20>; /* Tg0k */ - - trips { - gpu3_switch_on: trip-switch-on { - temperature = <90000>; - hysteresis = <2000>; - type = "passive"; - }; - - gpu3_passive: trip-passive { - temperature = <101000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-critical { - temperature = <118000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&gpu3_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p0 { - trip = <&gpu3_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p1 { - trip = <&gpu3_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - gpu4-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - sustainable-power = <51300>; - thermal-sensors = <&smc_hwmon 21>; /* Tg0z */ - - trips { - gpu4_switch_on: trip-switch-on { - temperature = <90000>; - hysteresis = <2000>; - type = "passive"; - }; - - gpu4_passive: trip-passive { - temperature = <101000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-critical { - temperature = <118000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&gpu4_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p0 { - trip = <&gpu4_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p1 { - trip = <&gpu4_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - gpu5-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - sustainable-power = <51300>; - thermal-sensors = <&smc_hwmon 22>; /* Tg1V */ - - trips { - gpu5_switch_on: trip-switch-on { - temperature = <90000>; - hysteresis = <2000>; - type = "passive"; - }; - - gpu5_passive: trip-passive { - temperature = <101000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-critical { - temperature = <118000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&gpu5_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p0 { - trip = <&gpu5_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p1 { - trip = <&gpu5_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - - gpu6-thermal { - polling-delay-passive = <1000>; - polling-delay = <1000>; - sustainable-power = <51300>; - thermal-sensors = <&smc_hwmon 23>; /* Tg1l */ - - trips { - gpu6_switch_on: trip-switch-on { - temperature = <90000>; - hysteresis = <2000>; - type = "passive"; - }; - - gpu6_passive: trip-passive { - temperature = <101000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-critical { - temperature = <118000>; - hysteresis = <0>; - type = "critical"; - }; - }; - - cooling-maps { - map-e { - trip = <&gpu6_passive>; - cooling-device = - <&cpu_e0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_e3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p0 { - trip = <&gpu6_passive>; - cooling-device = - <&cpu_p00 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p01 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p02 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p03 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p04 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - - map-p1 { - trip = <&gpu6_passive>; - cooling-device = - <&cpu_p10 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p11 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p12 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p13 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&cpu_p14 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; - }; +/* GPU operating points, thermal zones and the sensors they read */ +#include "t6040-gpu-thermal.dtsi" +/ { /* * The boot NOR runs from a PMU rail that is on whenever the SoC is * and that no OS switches. The ADT gives the flash no supply. @@ -1795,12 +345,12 @@ }; &mesa { - status = "okay"; enable-gpios = <&pinctrl_nub 53 GPIO_ACTIVE_HIGH>; interrupt-parent = <&pinctrl>; interrupts = <116 IRQ_TYPE_EDGE_RISING>; spi-cs-setup-delay-ns = <20>; spi-cs-hold-delay-ns = <20>; + status = "okay"; /* The board file names the per-device factory data. */ }; @@ -1852,141 +402,13 @@ &smc_hwmon { /* - * TCMz and the 23 zone sensors after it must stay the first - * temperature children: the thermal zones name a sensor by its index, - * so the shared hwmon includes below only append after them. - * - * Every key below is in this machine's SMC key table as a readable - * float and was read on the J616s (SMC firmware of macOS 26.6.2). - * The J614s key table has not been read yet. - * Keys that only ever read a fixed placeholder (Tz1*, Ta0*) or a - * fixed limit (TVMx, TVmS, TVms, PHPB, PHPM) are left out; rails that - * read 0 W while idle are kept. GPU (Tg*), P-cluster (Tp*) and - * E-cluster (Te*) labels follow load tests: Tg* only read live while - * the GPU is powered and rise with GPU load, Tp* and Te* rise with CPU - * load. Other names follow the SMC key groups and are not otherwise - * verified. SBA1-3 are the three cells of the 3S battery. + * Every key here and in the zone sensors is a readable float in the + * J616s SMC key table (macOS 26.6.2); the J614s table has not been + * read. Keys that only read a placeholder (Tz1*, Ta0*) or a fixed + * limit (TVMx, TVmS, TVms, PHPB, PHPM) are left out. Tg*, Tp* and Te* + * labels follow GPU and CPU load tests; the others follow the SMC key + * groups. SBA1-3 are the cells of the 3S battery. */ - temperature-TCMz { - apple,key-id = "TCMz"; - label = "CPU Die Max"; - }; - - temperature-Tex0 { - apple,key-id = "Tex0"; - label = "E-cluster Tex0"; - }; - - temperature-Tex1 { - apple,key-id = "Tex1"; - label = "E-cluster Tex1"; - }; - - temperature-Tex2 { - apple,key-id = "Tex2"; - label = "E-cluster Tex2"; - }; - - temperature-Tex3 { - apple,key-id = "Tex3"; - label = "E-cluster Tex3"; - }; - - temperature-Tpx0 { - apple,key-id = "Tpx0"; - label = "P-cluster Tpx0"; - }; - - temperature-Tpx1 { - apple,key-id = "Tpx1"; - label = "P-cluster Tpx1"; - }; - - temperature-Tpx2 { - apple,key-id = "Tpx2"; - label = "P-cluster Tpx2"; - }; - - temperature-Tpx3 { - apple,key-id = "Tpx3"; - label = "P-cluster Tpx3"; - }; - - temperature-Tpx4 { - apple,key-id = "Tpx4"; - label = "P-cluster Tpx4"; - }; - - temperature-Tpx5 { - apple,key-id = "Tpx5"; - label = "P-cluster Tpx5"; - }; - - temperature-Tpx8 { - apple,key-id = "Tpx8"; - label = "P-cluster Tpx8"; - }; - - temperature-Tpx9 { - apple,key-id = "Tpx9"; - label = "P-cluster Tpx9"; - }; - - temperature-TpxA { - apple,key-id = "TpxA"; - label = "P-cluster TpxA"; - }; - - temperature-TpxB { - apple,key-id = "TpxB"; - label = "P-cluster TpxB"; - }; - - temperature-TpxC { - apple,key-id = "TpxC"; - label = "P-cluster TpxC"; - }; - - temperature-TpxD { - apple,key-id = "TpxD"; - label = "P-cluster TpxD"; - }; - - temperature-Tg05 { - apple,key-id = "Tg05"; - label = "GPU Tg05"; - }; - - temperature-Tg0S { - apple,key-id = "Tg0S"; - label = "GPU Tg0S"; - }; - - temperature-Tg0Y { - apple,key-id = "Tg0Y"; - label = "GPU Tg0Y"; - }; - - temperature-Tg0k { - apple,key-id = "Tg0k"; - label = "GPU Tg0k"; - }; - - temperature-Tg0z { - apple,key-id = "Tg0z"; - label = "GPU Tg0z"; - }; - - temperature-Tg1V { - apple,key-id = "Tg1V"; - label = "GPU Tg1V"; - }; - - temperature-Tg1l { - apple,key-id = "Tg1l"; - label = "GPU Tg1l"; - }; - temperature-TAOL { apple,key-id = "TAOL"; label = "SMC TAOL"; @@ -4250,32 +2672,36 @@ reg-names = "config", "rc", "port0", "port1", "port2", "port3", "phy0", "phy1", "phy2", "phy3"; - ranges = <0x43000000 0xb 0xc0000000 0xb 0xc0000000 0 0x20000000 0x2000000 0 0x80000000 0xb 0x80000000 0 0x40000000>; + ranges = <0x43000000 0xb 0xc0000000 0xb 0xc0000000 0x0 0x20000000>, + <0x02000000 0x0 0x80000000 0xb 0x80000000 0x0 0x40000000>; pinctrl-names = "default"; pinctrl-0 = <&wifi_clkreq_pins>; - #size-cells = <2>; #address-cells = <3>; + #size-cells = <2>; bus-range = <0 1>; iommu-map-mask = <0xffff>; iommu-map = <0x100 &pcie_dart 1 2>; msi-ranges = <&aic AIC_IRQ 2071 IRQ_TYPE_EDGE_RISING 32>; msi-parent = <&pcie0>; msi-controller; - interrupts = <0 0x6bb 4>; + interrupts = ; interrupt-parent = <&aic>; device_type = "pci"; port00: pci@0,0 { reg = <0 0 0 0 0>; ranges; - interrupt-map = <0 0 0 1 &port00 0 0 0 0 0 0 0 2 &port00 0 0 0 1 0 0 0 3 &port00 0 0 0 2 0 0 0 4 &port00 0 0 0 3>; + interrupt-map = <0 0 0 1 &port00 0 0 0 0>, + <0 0 0 2 &port00 0 0 0 1>, + <0 0 0 3 &port00 0 0 0 2>, + <0 0 0 4 &port00 0 0 0 3>; interrupt-map-mask = <0 0 0 7>; #interrupt-cells = <1>; interrupt-controller; - #size-cells = <2>; #address-cells = <3>; - pwren-gpios = <&smc_gpio 0x13 0>; - reset-gpios = <&pinctrl 4 1>; + #size-cells = <2>; + pwren-gpios = <&smc_gpio 0x13 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pinctrl 4 GPIO_ACTIVE_LOW>; device_type = "pci"; bluetooth0: bluetooth@0,1 { @@ -4530,7 +2956,7 @@ }; /* The loader fills the operating points, calibration and all six memory regions. */ -&gfx_mbox { +&agx_mbox { status = "okay"; }; @@ -4576,14 +3002,14 @@ port@0 { reg = <0>; - typec0_con_hs: endpoint { - remote-endpoint = <&usb_drd0_hs>; + typec0_connector_hs: endpoint { + remote-endpoint = <&dwc3_0_hs>; }; }; port@1 { reg = <1>; - typec0_con_ss: endpoint { + typec0_connector_ss: endpoint { remote-endpoint = <&atcphy0_ss>; }; }; @@ -4612,14 +3038,14 @@ port@0 { reg = <0>; - typec1_con_hs: endpoint { - remote-endpoint = <&usb_drd1_hs>; + typec1_connector_hs: endpoint { + remote-endpoint = <&dwc3_1_hs>; }; }; port@1 { reg = <1>; - typec1_con_ss: endpoint { + typec1_connector_ss: endpoint { remote-endpoint = <&atcphy1_ss>; }; }; @@ -4663,14 +3089,14 @@ port@0 { reg = <0>; - typec2_con_hs: endpoint { - remote-endpoint = <&usb_drd2_hs>; + typec2_connector_hs: endpoint { + remote-endpoint = <&dwc3_2_hs>; }; }; port@1 { reg = <1>; - typec2_con_ss: endpoint { + typec2_connector_ss: endpoint { remote-endpoint = <&atcphy2_ss>; }; }; @@ -4689,14 +3115,14 @@ port@0 { reg = <0>; atcphy0_ss: endpoint { - remote-endpoint = <&typec0_con_ss>; + remote-endpoint = <&typec0_connector_ss>; }; }; port@1 { reg = <1>; atcphy0_usb3: endpoint { - remote-endpoint = <&usb_drd0_ss>; + remote-endpoint = <&dwc3_0_ss>; }; }; }; @@ -4706,15 +3132,15 @@ status = "okay"; }; -&usb_drd0_dart_0 { +&dwc3_0_dart_0 { status = "okay"; }; -&usb_drd0_dart_1 { +&dwc3_0_dart_1 { status = "okay"; }; -&usb_drd0 { +&dwc3_0 { status = "okay"; ports { @@ -4723,14 +3149,14 @@ port@0 { reg = <0>; - usb_drd0_hs: endpoint { - remote-endpoint = <&typec0_con_hs>; + dwc3_0_hs: endpoint { + remote-endpoint = <&typec0_connector_hs>; }; }; port@1 { reg = <1>; - usb_drd0_ss: endpoint { + dwc3_0_ss: endpoint { remote-endpoint = <&atcphy0_usb3>; }; }; @@ -4747,14 +3173,14 @@ port@0 { reg = <0>; atcphy1_ss: endpoint { - remote-endpoint = <&typec1_con_ss>; + remote-endpoint = <&typec1_connector_ss>; }; }; port@1 { reg = <1>; atcphy1_usb3: endpoint { - remote-endpoint = <&usb_drd1_ss>; + remote-endpoint = <&dwc3_1_ss>; }; }; }; @@ -4764,15 +3190,15 @@ status = "okay"; }; -&usb_drd1_dart_0 { +&dwc3_1_dart_0 { status = "okay"; }; -&usb_drd1_dart_1 { +&dwc3_1_dart_1 { status = "okay"; }; -&usb_drd1 { +&dwc3_1 { status = "okay"; ports { @@ -4781,14 +3207,14 @@ port@0 { reg = <0>; - usb_drd1_hs: endpoint { - remote-endpoint = <&typec1_con_hs>; + dwc3_1_hs: endpoint { + remote-endpoint = <&typec1_connector_hs>; }; }; port@1 { reg = <1>; - usb_drd1_ss: endpoint { + dwc3_1_ss: endpoint { remote-endpoint = <&atcphy1_usb3>; }; }; @@ -4805,14 +3231,14 @@ port@0 { reg = <0>; atcphy2_ss: endpoint { - remote-endpoint = <&typec2_con_ss>; + remote-endpoint = <&typec2_connector_ss>; }; }; port@1 { reg = <1>; atcphy2_usb3: endpoint { - remote-endpoint = <&usb_drd2_ss>; + remote-endpoint = <&dwc3_2_ss>; }; }; }; @@ -4822,15 +3248,15 @@ status = "okay"; }; -&usb_drd2_dart_0 { +&dwc3_2_dart_0 { status = "okay"; }; -&usb_drd2_dart_1 { +&dwc3_2_dart_1 { status = "okay"; }; -&usb_drd2 { +&dwc3_2 { status = "okay"; ports { @@ -4839,14 +3265,14 @@ port@0 { reg = <0>; - usb_drd2_hs: endpoint { - remote-endpoint = <&typec2_con_hs>; + dwc3_2_hs: endpoint { + remote-endpoint = <&typec2_connector_hs>; }; }; port@1 { reg = <1>; - usb_drd2_ss: endpoint { + dwc3_2_ss: endpoint { remote-endpoint = <&atcphy2_usb3>; }; }; @@ -4890,6 +3316,27 @@ status = "okay"; }; +/* Both JPEG engines; they have no board wiring. */ +&ps_jpg { + status = "okay"; +}; + +&jpeg0_dart { + status = "okay"; +}; + +&jpeg0 { + status = "okay"; +}; + +&jpeg1_dart { + status = "okay"; +}; + +&jpeg1 { + status = "okay"; +}; + #include "t6040-j616s-usb3.dtsi" /* External display chain, all disabled: the gate in drivers/soc/apple/display-gate.c enables it. */ diff --git a/arch/arm64/boot/dts/apple/t604x-pmgr.dtsi b/arch/arm64/boot/dts/apple/t604x-pmgr.dtsi index 735df142bd0eb..977818bca2ec3 100644 --- a/arch/arm64/boot/dts/apple/t604x-pmgr.dtsi +++ b/arch/arm64/boot/dts/apple/t604x-pmgr.dtsi @@ -297,7 +297,6 @@ #power-domain-cells = <0>; #reset-cells = <0>; label = "avd_sys"; - power-domains = <&ps_fab0_soc>; }; ps_afc: power-controller@178 { @@ -316,7 +315,6 @@ #reset-cells = <0>; label = "pmp"; apple,always-on; - power-domains = <&ps_pms>; }; ps_pms_sram: power-controller@418 { @@ -326,7 +324,6 @@ #reset-cells = <0>; label = "pms_sram"; apple,always-on; - power-domains = <&ps_pms>; }; ps_fab6_soc: power-controller@480 { @@ -361,7 +358,6 @@ #reset-cells = <0>; label = "atc0_common"; apple,always-on; - power-domains = <&ps_fab2_soc>; }; ps_atc1_common: power-controller@3b8 { @@ -371,7 +367,6 @@ #reset-cells = <0>; label = "atc1_common"; apple,always-on; - power-domains = <&ps_fab2_soc>; }; ps_atc2_common: power-controller@3e0 { @@ -381,7 +376,6 @@ #reset-cells = <0>; label = "atc2_common"; apple,always-on; - power-domains = <&ps_fab2_soc>; }; }; @@ -519,1421 +513,22 @@ * Enable the provider and its parents together with the consumer. */ &pmgr { - ps_apcie_gp: power-controller@100 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x100 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "apcie_gp"; - status = "disabled"; - }; - - ps_fab4_soc: power-controller@128 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x128 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "fab4_soc"; - power-domains = <&ps_afc>; - apple,always-on; - }; - - ps_sio_cpu: power-controller@130 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x130 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "sio_cpu"; - power-domains = <&ps_sio>; - apple,always-on; - status = "disabled"; - }; - - ps_fpwm1: power-controller@140 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x140 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "fpwm1"; - power-domains = <&ps_sio>; - status = "disabled"; - }; - - ps_fpwm2: power-controller@148 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x148 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "fpwm2"; - power-domains = <&ps_sio>; - status = "disabled"; - }; - - ps_i2c0: power-controller@150 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x150 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "i2c0"; - power-domains = <&ps_sio>; - status = "disabled"; - }; - - ps_i2c5: power-controller@178 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x178 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "i2c5"; - power-domains = <&ps_sio>; - status = "disabled"; - }; - - ps_i2c7: power-controller@188 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x188 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "i2c7"; - power-domains = <&ps_sio>; - status = "disabled"; - }; - - - ps_uart_p: power-controller@1a0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1a0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "uart_p"; - power-domains = <&ps_sio>; - status = "disabled"; - }; - - ps_dpa_p: power-controller@1a8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1a8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dpa_p"; - power-domains = <&ps_sio>; - apple,always-on; - status = "disabled"; - }; - - ps_aes: power-controller@1b0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1b0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "aes"; - power-domains = <&ps_sio>; - apple,always-on; - status = "disabled"; - }; - - ps_spi0: power-controller@1b8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1b8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "spi0"; - power-domains = <&ps_spi_p>; - status = "disabled"; - }; - - ps_spi1: power-controller@1c0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1c0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "spi1"; - power-domains = <&ps_spi_p>; - status = "disabled"; - }; - - - ps_spi3: power-controller@1d0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1d0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "spi3"; - power-domains = <&ps_spi_p>; - status = "disabled"; - }; - - ps_spi4: power-controller@1d8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1d8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "spi4"; - power-domains = <&ps_spi_p>; - status = "disabled"; - }; - - ps_spi5: power-controller@1e0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1e0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "spi5"; - power-domains = <&ps_spi_p>; - status = "disabled"; - }; - - ps_qspi: power-controller@1e8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1e8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "qspi"; - power-domains = <&ps_spi_p>; - status = "disabled"; - }; - - ps_uart_n: power-controller@1f0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1f0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "uart_n"; - power-domains = <&ps_uart_p>; - status = "disabled"; - }; - - ps_uart0: power-controller@1f8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1f8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "uart0"; - power-domains = <&ps_uart_p>; - status = "disabled"; - }; - - ps_uart1: power-controller@200 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x200 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "uart1"; - power-domains = <&ps_uart_p>; - status = "disabled"; - }; - - ps_uart2: power-controller@208 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x208 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "uart2"; - power-domains = <&ps_uart_p>; - status = "disabled"; - }; - - ps_uart3: power-controller@210 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x210 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "uart3"; - power-domains = <&ps_uart_p>; - status = "disabled"; - }; - - ps_uart4: power-controller@218 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x218 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "uart4"; - power-domains = <&ps_uart_p>; - status = "disabled"; - }; - - ps_uart5: power-controller@220 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x220 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "uart5"; - power-domains = <&ps_uart_p>; - status = "disabled"; - }; - - ps_uart6: power-controller@228 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x228 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "uart6"; - power-domains = <&ps_uart_p>; - status = "disabled"; - }; - - ps_dpa0: power-controller@230 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x230 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dpa0"; - power-domains = <&ps_dpa_p>; - status = "disabled"; - }; - - ps_dpa1: power-controller@238 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x238 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dpa1"; - power-domains = <&ps_dpa_p>; - status = "disabled"; - }; - - ps_dpa2: power-controller@240 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x240 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dpa2"; - power-domains = <&ps_dpa_p>; - status = "disabled"; - }; - - ps_dpa3: power-controller@248 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x248 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dpa3"; - power-domains = <&ps_dpa_p>; - status = "disabled"; - }; - - ps_dpa4: power-controller@250 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x250 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dpa4"; - power-domains = <&ps_dpa_p>; - status = "disabled"; - }; - - ps_disp_sys: power-controller@258 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x258 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "disp_sys"; - power-domains = <&ps_fab6_soc>; - status = "disabled"; - }; - - ps_amcc4: power-controller@260 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x260 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc4"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc5: power-controller@268 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x268 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc5"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc6: power-controller@270 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x270 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc6"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc7: power-controller@278 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x278 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc7"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc12: power-controller@280 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x280 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc12"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc13: power-controller@288 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x288 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc13"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc14: power-controller@290 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x290 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc14"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc15: power-controller@298 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x298 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc15"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_04: power-controller@2e0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2e0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_04"; - power-domains = <&ps_amcc4>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_05: power-controller@2e8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2e8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_05"; - power-domains = <&ps_amcc5>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_06: power-controller@2f0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2f0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_06"; - power-domains = <&ps_amcc6>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_07: power-controller@2f8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2f8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_07"; - power-domains = <&ps_amcc7>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_12: power-controller@300 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x300 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_12"; - power-domains = <&ps_amcc12>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_13: power-controller@308 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x308 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_13"; - power-domains = <&ps_amcc13>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_14: power-controller@310 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x310 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_14"; - power-domains = <&ps_amcc14>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_15: power-controller@318 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x318 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_15"; - power-domains = <&ps_amcc15>; - apple,always-on; - status = "disabled"; - }; - - ps_disp_fe: power-controller@368 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x368 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "disp_fe"; - power-domains = <&ps_disp_sys>; - status = "disabled"; - }; - - ps_apcie_sys_gp: power-controller@390 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x390 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "apcie_sys_gp"; - power-domains = <&ps_fab3_soc>, <&ps_apcie_gp>; - status = "disabled"; - }; - - ps_apcie_phy_sw: power-controller@398 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x398 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "apcie_phy_sw"; - power-domains = <&ps_apcie_sys_st0>, <&ps_apcie_sys_st1>; - status = "disabled"; - }; - - ps_jpg: power-controller@3a0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3a0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "jpg"; - power-domains = <&ps_fab4_soc>; - status = "disabled"; - }; - - ps_ane_sys: power-controller@3c0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3c0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "ane_sys"; - power-domains = <&ps_fab5_soc>, <&ps_fab4_soc>; - }; - -}; - -&pmgr_aux { - ps_ecpu_0: power-controller@0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "ecpu_0"; - status = "disabled"; - }; - - ps_ecpu_1: power-controller@8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "ecpu_1"; - status = "disabled"; - }; - - ps_ecpu_2: power-controller@10 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x10 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "ecpu_2"; - status = "disabled"; - }; - - ps_ecpu_3: power-controller@18 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x18 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "ecpu_3"; - status = "disabled"; - }; - - ps_pcpu0_0: power-controller@20 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x20 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu0_0"; - status = "disabled"; - }; - - ps_pcpu0_1: power-controller@28 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x28 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu0_1"; - status = "disabled"; - }; - - ps_pcpu0_2: power-controller@30 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x30 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu0_2"; - status = "disabled"; - }; - - ps_pcpu0_3: power-controller@38 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x38 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu0_3"; - status = "disabled"; - }; - - ps_pcpu0_4: power-controller@40 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x40 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu0_4"; - status = "disabled"; - }; - - ps_pcpu0_5: power-controller@48 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x48 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu0_5"; - status = "disabled"; - }; - - ps_pcpu1_0: power-controller@50 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x50 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu1_0"; - status = "disabled"; - }; - - ps_pcpu1_1: power-controller@58 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x58 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu1_1"; - status = "disabled"; - }; - - ps_pcpu1_2: power-controller@60 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x60 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu1_2"; - status = "disabled"; - }; - - ps_pcpu1_3: power-controller@68 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x68 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu1_3"; - status = "disabled"; - }; - - ps_pcpu1_4: power-controller@70 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x70 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu1_4"; - status = "disabled"; - }; - - ps_pcpu1_5: power-controller@78 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x78 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpu1_5"; - status = "disabled"; - }; - - ps_ecpm: power-controller@80 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x80 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "ecpm"; - status = "disabled"; - }; - - ps_pcpm0: power-controller@88 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x88 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpm0"; - status = "disabled"; - }; - - ps_pcpm1: power-controller@90 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x90 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pcpm1"; - status = "disabled"; - }; - - ps_dwi: power-controller@108 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x108 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dwi"; - status = "disabled"; - }; - - ps_aic: power-controller@118 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x118 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "aic"; - power-domains = <&ps_pms>; - status = "disabled"; - }; - - ps_pmc: power-controller@120 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x120 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pmc"; - power-domains = <&ps_pms>; - apple,always-on; - status = "disabled"; - }; - - ps_pms_c1ppt: power-controller@128 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x128 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pms_c1ppt"; - power-domains = <&ps_pms>; - apple,always-on; - status = "disabled"; - }; - - ps_soc_dpe: power-controller@130 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x130 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "soc_dpe"; - power-domains = <&ps_pms>; - apple,always-on; - status = "disabled"; - }; - - ps_pmgr_soc_ocla: power-controller@138 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x138 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pmgr_soc_ocla"; - status = "disabled"; - }; - - ps_pms_fpwm0: power-controller@140 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x140 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pms_fpwm0"; - power-domains = <&ps_pms>; - apple,always-on; - status = "disabled"; - }; - - ps_pms_fpwm1: power-controller@148 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x148 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pms_fpwm1"; - power-domains = <&ps_pms>; - apple,always-on; - status = "disabled"; - }; - - ps_pms_fpwm2: power-controller@150 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x150 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pms_fpwm2"; - power-domains = <&ps_pms>; - apple,always-on; - status = "disabled"; - }; - - ps_pms_fpwm3: power-controller@158 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x158 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pms_fpwm3"; - power-domains = <&ps_pms>; - apple,always-on; - status = "disabled"; - }; - - ps_pms_fpwm4: power-controller@160 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x160 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "pms_fpwm4"; - power-domains = <&ps_pms>; - apple,always-on; - status = "disabled"; - }; - - ps_fab0_soc: power-controller@168 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x168 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "fab0_soc"; - power-domains = <&ps_afi>; - apple,always-on; - }; - - ps_amcc0: power-controller@180 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x180 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc0"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_00: power-controller@188 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x188 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_00"; - power-domains = <&ps_amcc0>; - apple,always-on; - status = "disabled"; - }; - - ps_rom: power-controller@190 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x190 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "rom"; - power-domains = <&ps_amcc0>; - status = "disabled"; - }; - - ps_amcc1: power-controller@198 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x198 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc1"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_01: power-controller@1a0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1a0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_01"; - power-domains = <&ps_amcc1>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc2: power-controller@1a8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1a8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc2"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_02: power-controller@1b0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1b0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_02"; - power-domains = <&ps_amcc2>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc3: power-controller@1b8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1b8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc3"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_03: power-controller@1c0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1c0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_03"; - power-domains = <&ps_amcc3>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc8: power-controller@1c8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1c8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc8"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_08: power-controller@1d0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1d0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_08"; - power-domains = <&ps_amcc8>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc9: power-controller@1d8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1d8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc9"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_09: power-controller@1e0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1e0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_09"; - power-domains = <&ps_amcc9>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc10: power-controller@1e8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1e8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc10"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_10: power-controller@1f0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1f0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_10"; - power-domains = <&ps_amcc10>; - apple,always-on; - status = "disabled"; - }; - - ps_amcc11: power-controller@1f8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1f8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "amcc11"; - power-domains = <&ps_afc>; - apple,always-on; - status = "disabled"; - }; - - ps_dcs_11: power-controller@200 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x200 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dcs_11"; - power-domains = <&ps_amcc11>; - apple,always-on; - status = "disabled"; - }; - - ps_venc0_sys: power-controller@278 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x278 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "venc0_sys"; - power-domains = <&ps_fab0_soc>; - status = "disabled"; - }; - - ps_fab_gw_0: power-controller@288 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x288 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "fab_gw_0"; - apple,always-on; - status = "disabled"; - }; - - ps_fab_gw_1: power-controller@290 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x290 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "fab_gw_1"; - apple,always-on; - status = "disabled"; - }; - - ps_fab_afr: power-controller@298 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x298 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "fab_afr"; - apple,always-on; - status = "disabled"; - }; - - ps_fab1_soc: power-controller@2d0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2d0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "fab1_soc"; - power-domains = <&ps_afi>; - apple,always-on; - status = "disabled"; - }; - - ps_scodec: power-controller@328 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x328 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "scodec"; - power-domains = <&ps_fab1_soc>; - status = "disabled"; - }; - - ps_scodec_streaming: power-controller@330 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x330 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "scodec_streaming"; - power-domains = <&ps_scodec>; - status = "disabled"; - }; - - ps_fab2_soc: power-controller@338 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x338 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "fab2_soc"; - power-domains = <&ps_afi>; - apple,always-on; - }; - - ps_dispext0_sys: power-controller@340 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x340 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dispext0_sys"; - power-domains = <&ps_fab2_soc>; - status = "disabled"; - }; - - ps_dispext0_fe: power-controller@348 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x348 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dispext0_fe"; - power-domains = <&ps_dispext0_sys>; - status = "disabled"; - }; - - ps_dispext0_cpu: power-controller@350 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x350 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dispext0_cpu"; - power-domains = <&ps_dispext0_fe>; - status = "disabled"; - }; - - ps_atc0_cio: power-controller@398 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x398 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc0_cio"; - power-domains = <&ps_atc0_common>; - status = "disabled"; - }; - - ps_atc0_pcie: power-controller@3a0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3a0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc0_pcie"; - power-domains = <&ps_atc0_common>; - status = "disabled"; - }; - - ps_atc0_cio_pcie: power-controller@3a8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3a8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc0_cio_pcie"; - power-domains = <&ps_atc0_cio>; - status = "disabled"; - }; - - ps_atc0_cio_usb: power-controller@3b0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3b0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc0_cio_usb"; - power-domains = <&ps_atc0_cio>; - status = "disabled"; - }; - - ps_atc1_cio: power-controller@3c0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3c0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc1_cio"; - power-domains = <&ps_atc1_common>; - status = "disabled"; - }; - - ps_atc1_pcie: power-controller@3c8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3c8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc1_pcie"; - power-domains = <&ps_atc1_common>; - status = "disabled"; - }; - - ps_atc1_cio_pcie: power-controller@3d0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3d0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc1_cio_pcie"; - power-domains = <&ps_atc1_cio>; - status = "disabled"; - }; - - ps_atc1_cio_usb: power-controller@3d8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3d8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc1_cio_usb"; - power-domains = <&ps_atc1_cio>; - status = "disabled"; - }; - - ps_atc2_cio: power-controller@3e8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3e8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc2_cio"; - power-domains = <&ps_atc2_common>; - status = "disabled"; - }; - - ps_atc2_pcie: power-controller@3f0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3f0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc2_pcie"; - power-domains = <&ps_atc2_common>; - status = "disabled"; - }; - - ps_atc2_cio_pcie: power-controller@3f8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3f8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc2_cio_pcie"; - power-domains = <&ps_atc2_cio>; - status = "disabled"; - }; - - ps_atc2_cio_usb: power-controller@400 { + ps_ane_sys: power-controller@3c0 { compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x400 4>; + reg = <0x3c0 4>; #power-domain-cells = <0>; #reset-cells = <0>; - label = "atc2_cio_usb"; - power-domains = <&ps_atc2_cio>; - status = "disabled"; + label = "ane_sys"; }; +}; +&pmgr_aux { ps_atc3_common: power-controller@408 { compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; reg = <0x408 4>; #power-domain-cells = <0>; #reset-cells = <0>; label = "atc3_common"; - power-domains = <&ps_fab2_soc>; - status = "disabled"; - }; - - ps_atc3_cio: power-controller@420 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x420 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc3_cio"; - power-domains = <&ps_atc3_common>; - status = "disabled"; - }; - - ps_atc3_pcie: power-controller@428 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x428 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc3_pcie"; - power-domains = <&ps_atc3_common>; - status = "disabled"; - }; - - ps_atc3_cio_pcie: power-controller@430 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x430 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc3_cio_pcie"; - power-domains = <&ps_atc3_cio>; - status = "disabled"; - }; - - ps_atc3_cio_usb: power-controller@438 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x438 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc3_cio_usb"; - power-domains = <&ps_atc3_cio>; - status = "disabled"; - }; - - ps_fab5_soc: power-controller@440 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x440 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "fab5_soc"; - power-domains = <&ps_afi>; - apple,always-on; - }; - - ps_sbr: power-controller@448 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x448 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "sbr"; - power-domains = <&ps_fab5_soc>; - apple,always-on; - status = "disabled"; - }; - - ps_gpio: power-controller@450 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x450 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "gpio"; - power-domains = <&ps_sbr>; - status = "disabled"; - }; - - ps_msg: power-controller@458 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x458 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "msg"; - power-domains = <&ps_sbr>; - status = "disabled"; - }; - - ps_ap_tmm: power-controller@468 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x468 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "ap_tmm"; - power-domains = <&ps_sbr>; - status = "disabled"; - }; - - ps_msr0: power-controller@470 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x470 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "msr0"; - power-domains = <&ps_fab5_soc>; - status = "disabled"; - }; - - ps_msr0_ase_core: power-controller@478 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x478 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "msr0_ase_core"; - power-domains = <&ps_msr0>; - status = "disabled"; - }; - - ps_fab7_soc: power-controller@488 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x488 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "fab7_soc"; - power-domains = <&ps_afi>; - apple,always-on; - status = "disabled"; - }; - - ps_dispext1_sys: power-controller@490 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x490 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dispext1_sys"; - power-domains = <&ps_fab7_soc>; - status = "disabled"; - }; - - ps_dispext1_fe: power-controller@498 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x498 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dispext1_fe"; - power-domains = <&ps_dispext1_sys>; - status = "disabled"; - }; - - ps_dispext1_cpu: power-controller@4a0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x4a0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "dispext1_cpu"; - power-domains = <&ps_dispext1_fe>; status = "disabled"; }; }; @@ -1977,77 +572,6 @@ }; &pmgr_mini { - ps_debug_gated: power-controller@0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "debug_gated"; - apple,always-on; - status = "disabled"; - }; - - ps_nub_spmi_ahb: power-controller@58 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x58 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "nub_spmi_ahb"; - apple,always-on; - status = "disabled"; - }; - - ps_nub_spmi0: power-controller@60 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x60 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "nub_spmi0"; - power-domains = <&ps_nub_spmi_ahb>; - apple,always-on; - status = "disabled"; - }; - - ps_nub_spmi_a2: power-controller@78 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x78 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "nub_spmi_a2"; - apple,always-on; - status = "disabled"; - }; - - ps_nub_spi0: power-controller@80 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x80 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "nub_spi0"; - apple,always-on; - status = "disabled"; - }; - - ps_nub_aon: power-controller@88 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x88 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "nub_aon"; - apple,always-on; - status = "disabled"; - }; - - ps_nub_ocla: power-controller@98 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x98 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "nub_ocla"; - apple,always-on; - status = "disabled"; - }; - ps_atc3_common_dp: power-controller@b8 { compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; reg = <0xb8 4>; @@ -2057,17 +581,6 @@ status = "disabled"; }; - ps_nub_spmi1: power-controller@c0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xc0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "nub_spmi1"; - power-domains = <&ps_nub_spmi_ahb>; - apple,always-on; - status = "disabled"; - }; - ps_atc3_usb_aon: power-controller@e0 { compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; reg = <0xe0 4>; @@ -2077,111 +590,66 @@ status = "disabled"; }; - ps_nub_spmi2: power-controller@e8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xe8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "nub_spmi2"; - power-domains = <&ps_nub_spmi_ahb>; - apple,always-on; - status = "disabled"; - }; - - ps_nub_spmi3: power-controller@f0 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xf0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "nub_spmi3"; - power-domains = <&ps_nub_spmi_ahb>; - apple,always-on; - status = "disabled"; - }; - - ps_nub_spmi4: power-controller@f8 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xf8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "nub_spmi4"; - power-domains = <&ps_nub_spmi_ahb>; - apple,always-on; - status = "disabled"; - }; - - ps_nub_fabric: power-controller@100 { + ps_atc3_usb: power-controller@148 { compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x100 4>; + reg = <0x148 4>; #power-domain-cells = <0>; #reset-cells = <0>; - label = "nub_fabric"; - apple,always-on; + label = "atc3_usb"; + power-domains = <&ps_atc3_common>, <&ps_atc3_usb_aon>; status = "disabled"; }; - ps_nub_sram: power-controller@108 { + ps_atc3_phymxwrap: power-controller@168 { compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x108 4>; + reg = <0x168 4>; #power-domain-cells = <0>; #reset-cells = <0>; - label = "nub_sram"; - power-domains = <&ps_nub_fabric>; - apple,always-on; + label = "atc3_phymxwrap"; + power-domains = <&ps_atc3_common>, <&ps_atc3_usb_aon>; status = "disabled"; }; +}; - ps_debug_switch: power-controller@110 { +&pmgr { + ps_sio_cpu: power-controller@130 { compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x110 4>; + reg = <0x130 4>; #power-domain-cells = <0>; #reset-cells = <0>; - label = "debug_switch"; + label = "sio_cpu"; + power-domains = <&ps_sio>; apple,always-on; status = "disabled"; }; - ps_atc3_usb: power-controller@148 { - compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x148 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "atc3_usb"; - power-domains = <&ps_atc3_common>, <&ps_atc3_usb_aon>; - status = "disabled"; - }; - - ps_atc3_phymxwrap: power-controller@168 { + ps_qspi: power-controller@1e8 { compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x168 4>; + reg = <0x1e8 4>; #power-domain-cells = <0>; #reset-cells = <0>; - label = "atc3_phymxwrap"; - power-domains = <&ps_atc3_common>, <&ps_atc3_usb_aon>; + label = "qspi"; + power-domains = <&ps_spi_p>; status = "disabled"; }; -}; -&pmgr_disp { - ps_disp_cpu: power-controller@0 { + ps_jpg: power-controller@3a0 { compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x0 4>; + reg = <0x3a0 4>; #power-domain-cells = <0>; #reset-cells = <0>; - label = "disp_cpu"; - power-domains = <&ps_disp_fe>; + label = "jpg"; status = "disabled"; }; }; -&pmgr_gfx { - ps_gpx: power-controller@0 { +&pmgr_aux { + ps_venc0_sys: power-controller@278 { compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x0 4>; + reg = <0x278 4>; #power-domain-cells = <0>; #reset-cells = <0>; - label = "gpx"; - apple,always-on; + label = "venc0_sys"; status = "disabled"; }; }; diff --git a/arch/arm64/boot/dts/apple/t604x.dtsi b/arch/arm64/boot/dts/apple/t604x.dtsi index 091adfdfda6df..664ecf70a851c 100644 --- a/arch/arm64/boot/dts/apple/t604x.dtsi +++ b/arch/arm64/boot/dts/apple/t604x.dtsi @@ -326,19 +326,17 @@ }; /* - * DVFS states from the ADT: /arm-io/pmgr voltage-states1-sram (E), - * voltage-states5-sram (P0) and voltage-states13-sram (P1), word 0 - * in kHz. opp-level is the hardware p-state. Each P cluster has its - * own table even though the frequencies are the same: opp-shared - * means one clock domain per table. + * DVFS states from the ADT /arm-io/pmgr voltage-states1-sram (E), + * voltage-states5-sram (P0) and voltage-states13-sram (P1), word 0 in + * kHz; opp-level is the hardware p-state. Each P cluster has its own + * table: opp-shared means one clock domain per table. * - * opp-microwatt is the power of one busy core, measured on a J616s - * from the SMC core-rail meters (P0 PR0b, P1 PP0b, E PP2b) with the - * cluster pinned at each state. The P values follow a k * V^2 * f + c - * fit to the sweep, because the PMP's die-temperature limit clips the - * two top states within seconds. One busy E core does not register on - * its meter below 2352 MHz, so the E values are the idle cluster plus - * a quarter of the four-core increase. + * opp-microwatt is one busy core's power on a J616s, from the SMC + * core-rail meters (P0 PR0b, P1 PP0b, E PP2b). The P values follow a + * k * V^2 * f + c fit, as the PMP clips the two top states within + * seconds; the E values are the idle cluster plus a quarter of the + * four-core increase, since one E core does not register below + * 2352 MHz. */ opp_e: opp-table-e { compatible = "operating-points-v2"; @@ -347,239 +345,30 @@ opp01 { opp-hz = /bits/ 64 <1020000000>; opp-level = <1>; - opp-microwatt = <81900>; }; opp02 { opp-hz = /bits/ 64 <1404000000>; opp-level = <2>; - opp-microwatt = <133100>; }; opp03 { opp-hz = /bits/ 64 <1788000000>; opp-level = <3>; - opp-microwatt = <209400>; }; opp04 { opp-hz = /bits/ 64 <2112000000>; opp-level = <4>; - opp-microwatt = <301400>; }; opp05 { opp-hz = /bits/ 64 <2352000000>; opp-level = <5>; - opp-microwatt = <383900>; }; opp06 { opp-hz = /bits/ 64 <2532000000>; opp-level = <6>; - opp-microwatt = <478500>; }; opp07 { opp-hz = /bits/ 64 <2592000000>; opp-level = <7>; - opp-microwatt = <531000>; - }; - }; - - opp_p0: opp-table-p0 { - compatible = "operating-points-v2"; - opp-shared; - - opp01 { - opp-hz = /bits/ 64 <1260000000>; - opp-level = <1>; - opp-microwatt = <513000>; - }; - opp02 { - opp-hz = /bits/ 64 <1512000000>; - opp-level = <2>; - opp-microwatt = <715000>; - }; - opp03 { - opp-hz = /bits/ 64 <1800000000>; - opp-level = <3>; - opp-microwatt = <907500>; - }; - opp04 { - opp-hz = /bits/ 64 <2088000000>; - opp-level = <4>; - opp-microwatt = <1158200>; - }; - opp05 { - opp-hz = /bits/ 64 <2352000000>; - opp-level = <5>; - opp-microwatt = <1494500>; - }; - opp06 { - opp-hz = /bits/ 64 <2616000000>; - opp-level = <6>; - opp-microwatt = <1782600>; - }; - opp07 { - opp-hz = /bits/ 64 <2868000000>; - opp-level = <7>; - opp-microwatt = <2209600>; - }; - opp08 { - opp-hz = /bits/ 64 <3096000000>; - opp-level = <8>; - opp-microwatt = <2636700>; - }; - opp09 { - opp-hz = /bits/ 64 <3300000000>; - opp-level = <9>; - opp-microwatt = <3247200>; - }; - opp10 { - opp-hz = /bits/ 64 <3468000000>; - opp-level = <10>; - opp-microwatt = <3668700>; - }; - opp11 { - opp-hz = /bits/ 64 <3624000000>; - opp-level = <11>; - opp-microwatt = <4128200>; - }; - opp12 { - opp-hz = /bits/ 64 <3756000000>; - opp-level = <12>; - opp-microwatt = <4819300>; - }; - opp13 { - opp-hz = /bits/ 64 <3852000000>; - opp-level = <13>; - opp-microwatt = <4977700>; - }; - opp14 { - opp-hz = /bits/ 64 <3924000000>; - opp-level = <14>; - opp-microwatt = <5315900>; - }; - opp15 { - opp-hz = /bits/ 64 <3996000000>; - opp-level = <15>; - opp-microwatt = <5575900>; - }; - opp16 { - opp-hz = /bits/ 64 <4044000000>; - opp-level = <16>; - opp-microwatt = <5773400>; - }; - opp17 { - opp-hz = /bits/ 64 <4104000000>; - opp-level = <17>; - opp-microwatt = <5969200>; - }; - opp18 { - opp-hz = /bits/ 64 <4416000000>; - opp-level = <18>; - opp-microwatt = <8274900>; - }; - opp19 { - opp-hz = /bits/ 64 <4512000000>; - opp-level = <19>; - opp-microwatt = <9256900>; - }; - }; - - opp_p1: opp-table-p1 { - compatible = "operating-points-v2"; - opp-shared; - - opp01 { - opp-hz = /bits/ 64 <1260000000>; - opp-level = <1>; - opp-microwatt = <561800>; - }; - opp02 { - opp-hz = /bits/ 64 <1512000000>; - opp-level = <2>; - opp-microwatt = <772500>; - }; - opp03 { - opp-hz = /bits/ 64 <1800000000>; - opp-level = <3>; - opp-microwatt = <988900>; - }; - opp04 { - opp-hz = /bits/ 64 <2088000000>; - opp-level = <4>; - opp-microwatt = <1302300>; - }; - opp05 { - opp-hz = /bits/ 64 <2352000000>; - opp-level = <5>; - opp-microwatt = <1644100>; - }; - opp06 { - opp-hz = /bits/ 64 <2616000000>; - opp-level = <6>; - opp-microwatt = <2003700>; - }; - opp07 { - opp-hz = /bits/ 64 <2868000000>; - opp-level = <7>; - opp-microwatt = <2349000>; - }; - opp08 { - opp-hz = /bits/ 64 <3096000000>; - opp-level = <8>; - opp-microwatt = <2723000>; - }; - opp09 { - opp-hz = /bits/ 64 <3300000000>; - opp-level = <9>; - opp-microwatt = <3333200>; - }; - opp10 { - opp-hz = /bits/ 64 <3468000000>; - opp-level = <10>; - opp-microwatt = <3711900>; - }; - opp11 { - opp-hz = /bits/ 64 <3624000000>; - opp-level = <11>; - opp-microwatt = <4129900>; - }; - opp12 { - opp-hz = /bits/ 64 <3756000000>; - opp-level = <12>; - opp-microwatt = <4666300>; - }; - opp13 { - opp-hz = /bits/ 64 <3852000000>; - opp-level = <13>; - opp-microwatt = <4881000>; - }; - opp14 { - opp-hz = /bits/ 64 <3924000000>; - opp-level = <14>; - opp-microwatt = <5176700>; - }; - opp15 { - opp-hz = /bits/ 64 <3996000000>; - opp-level = <15>; - opp-microwatt = <5306500>; - }; - opp16 { - opp-hz = /bits/ 64 <4044000000>; - opp-level = <16>; - opp-microwatt = <5618900>; - }; - opp17 { - opp-hz = /bits/ 64 <4104000000>; - opp-level = <17>; - opp-microwatt = <5843100>; - }; - opp18 { - opp-hz = /bits/ 64 <4416000000>; - opp-level = <18>; - opp-microwatt = <8075300>; - }; - opp19 { - opp-hz = /bits/ 64 <4512000000>; - opp-level = <19>; - opp-microwatt = <8949200>; }; }; @@ -593,13 +382,6 @@ ; }; - pmu { - compatible = "apple,t6040-pmu"; - interrupt-parent = <&aic>; - /* The AIC raises both clusters' PMU FIQs as this one. */ - interrupts = ; - }; - /* The 24 MHz reference clock (ADT clock-ids 4) of the I2C, PWM and watchdog blocks */ clkref: clock-ref { compatible = "fixed-clock"; @@ -832,10 +614,9 @@ interrupt-parent = <&aic>; interrupts = , ; - power-domains = <&ps_avd_sys>, <&pmc_soc_max>; - power-domain-names = "core", "perf"; resets = <&ps_avd_sys>; iommus = <&avd_dart 0>; + dma-coherent; }; avd_dart: iommu@281020000 { @@ -847,18 +628,6 @@ power-domains = <&ps_avd_sys>; }; - /* Named after its sgx range: the coprocessor range is the mailbox node's too. */ - gpu: gpu@288000000 { - compatible = "apple,agx-t6040"; - reg = <0x2 0x8a600000 0x0 0x88000>, - <0x2 0x88000000 0x0 0x3758000>; - reg-names = "asc", "sgx"; - mboxes = <&gfx_mbox>; - power-domains = <&pmp_gfx>; - apple,clpc = <&clpc>; - status = "disabled"; - }; - pmgr_gfx: power-management@288e80000 { compatible = "apple,t6041-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; #address-cells = <1>; @@ -867,21 +636,6 @@ /* child nodes are added in t604x-pmgr.dtsi */ }; - gfx_mbox: mailbox@28a600000 { - compatible = "apple,t6040-ascwrap-v6"; - reg = <0x2 0x8a600000 0x0 0x88000>, - <0x2 0x8a050000 0x0 0x8>; - reg-names = "wrapper", "iop-vbar"; - interrupt-parent = <&aic>; - interrupts = , - ; - interrupt-names = "send-empty", "recv-not-empty"; - apple,firmware-role = "GFX"; - power-domains = <&ps_gfx>; - #mbox-cells = <0>; - status = "disabled"; - }; - disp0_dart: iommu@402300000 { compatible = "apple,t6041-dart", "apple,t8110-dart"; reg = <0x4 0x02300000 0x0 0xc000>; @@ -1275,20 +1029,6 @@ #size-cells = <1>; }; - pmgr_disp: power-management@502290000 { - compatible = "apple,t6041-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x5 0x02290000 0x0 0x4000>; - #address-cells = <1>; - #size-cells = <1>; - }; - - pmgr_venc: power-management@502808000 { - compatible = "apple,t6041-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x5 0x02808000 0x0 0x4000>; - #address-cells = <1>; - #size-cells = <1>; - }; - pmgr_isp: power-management@502284000 { compatible = "apple,t6041-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; #address-cells = <1>; @@ -1325,19 +1065,15 @@ }; /* - * PMC voter interface: the floor word of agent a at "voters" + - * 0x4000 * a, the floors the PMC honours and the rail enable words - * at "rails". Both lie inside pmgr_dcp's range, which the DCP driver - * only hands to its firmware, so the two do not conflict; "rails" - * comes first so that this node's unit address differs from - * pmgr_dcp's. + * PMC voter interface: agent a's floor word at "voters" + 0x4000 * a, + * and the rail enables at "rails". Both lie inside pmgr_dcp's range, + * which the DCP driver only hands to its firmware; "rails" comes first + * so this node's unit address differs from pmgr_dcp's. + * * Static voters are the PMP (0), CLPC (1) and AP (3). The PMP votes - * the DCS and fabric for memory clients other than the CPUs, the GPU - * among them; without its agent, GPU work runs at a low DCS - * state unless a CPU is busy. iBoot leaves the PMP's floor at the top - * DCS state, so its agent must stay off while the PMP does not run: - * apple,pmp holds off the PMC until the PMP driver has bound, and - * unbinds the PMC first. + * the DCS and fabric for non-CPU memory clients such as the GPU, and + * iBoot leaves its floor at the top DCS state, so apple,pmp keeps the + * PMC off until the PMP driver has bound. */ pmc: power-management@5048aa000 { compatible = "apple,t6041-pmc"; @@ -1347,25 +1083,12 @@ nonposted-mmio; #address-cells = <1>; #size-cells = <0>; - apple,pmp = <&pmp>; apple,static-voters = <0 1 3>; status = "disabled"; clpc: performance-controller@1 { compatible = "apple,t6041-clpc"; reg = <1>; - - }; - - /* - * The SoC rail at its highest state. The video encoder runs on - * the fabric clock and encodes at less than half speed below it. - */ - pmc_soc_max: floor-soc-max { - label = "soc-max"; - #power-domain-cells = <0>; - apple,rail = <1>; - apple,level = <2>; }; }; @@ -1426,49 +1149,6 @@ interrupt-parent = <&aic>; interrupts = ; status = "disabled"; - - pmic@e { - compatible = "apple,abbey-pmic", "apple,spmi-nvmem"; - reg = <0xe SPMI_USID>; - - pmu_rtc: rtc { - compatible = "apple,t6041-pmu-rtc"; - interrupt-parent = <&nub_spmi0>; - interrupts = <2 IRQ_TYPE_EDGE_RISING>; - nvmem-cells = <&rtc_offset>; - nvmem-cell-names = "rtc_offset"; - wakeup-source; - }; - - nvmem-layout { - compatible = "fixed-layout"; - #address-cells = <1>; - #size-cells = <1>; - - rtc_offset: rtc-offset@2100 { - reg = <0x2100 0x6>; - }; - - boot_stage: boot-stage@f801 { - reg = <0xf801 0x1>; - }; - - boot_error_count: boot-error-count@f802,0 { - reg = <0xf802 0x1>; - bits = <0 4>; - }; - - panic_count: panic-count@f802,4 { - reg = <0xf802 0x1>; - bits = <4 4>; - }; - - shutdown_flag: shutdown-flag@f80f,3 { - reg = <0xf80f 0x1>; - bits = <3 1>; - }; - }; - }; }; smc: smc@50c600000 { @@ -1557,15 +1237,6 @@ aop_las: las { compatible = "apple,t6041-aop-las", "apple,aop-las"; }; - - /* The calibration properties come from the bootloader. */ - aop_accel: accel { - compatible = "apple,t6041-aop-accel", "apple,aop-accel"; - }; - - aop_gyro: gyro { - compatible = "apple,t6041-aop-gyro", "apple,aop-gyro"; - }; }; /* ADT lists the interrupts as 1, 0, 3, 2 of the block: send-empty is the lowest. */ @@ -1648,7 +1319,6 @@ interrupt-parent = <&aic>; interrupts = ; #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; /* ADT "remap": streams 1 2 3 are stream 0 */ apple,remap-streams = <1 0>, <2 0>, <3 0>; status = "disabled"; @@ -1872,29 +1542,27 @@ status = "disabled"; }; - usb_drd0_dart_0: iommu@382f00000 { + dwc3_0_dart_0: iommu@382f00000 { compatible = "apple,t6041-dart", "apple,t8110-dart"; reg = <0x3 0x82f00000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_atc0_usb>; #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; status = "disabled"; }; - usb_drd0_dart_1: iommu@382f80000 { + dwc3_0_dart_1: iommu@382f80000 { compatible = "apple,t6041-dart", "apple,t8110-dart"; reg = <0x3 0x82f80000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_atc0_usb>; #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; status = "disabled"; }; - usb_drd0: usb@382280000 { + dwc3_0: usb@382280000 { compatible = "apple,t6040-dwc3", "apple,t8103-dwc3"; reg = <0x3 0x82280000 0x0 0xcd00>, <0x3 0x8228cd00 0x0 0x3200>, @@ -1910,7 +1578,7 @@ dr_mode = "otg"; usb-role-switch; role-switch-default-mode = "host"; - iommus = <&usb_drd0_dart_0 0>, <&usb_drd0_dart_1 1>; + iommus = <&dwc3_0_dart_0 0>, <&dwc3_0_dart_1 1>; power-domains = <&ps_atc0_usb>; resets = <&atcphy0>; phys = <&atcphy0 PHY_TYPE_USB2>, <&atcphy0 PHY_TYPE_USB3>; @@ -1958,29 +1626,27 @@ status = "disabled"; }; - usb_drd1_dart_0: iommu@38af00000 { + dwc3_1_dart_0: iommu@38af00000 { compatible = "apple,t6041-dart", "apple,t8110-dart"; reg = <0x3 0x8af00000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_atc1_usb>; #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; status = "disabled"; }; - usb_drd1_dart_1: iommu@38af80000 { + dwc3_1_dart_1: iommu@38af80000 { compatible = "apple,t6041-dart", "apple,t8110-dart"; reg = <0x3 0x8af80000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_atc1_usb>; #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; status = "disabled"; }; - usb_drd1: usb@38a280000 { + dwc3_1: usb@38a280000 { compatible = "apple,t6040-dwc3", "apple,t8103-dwc3"; reg = <0x3 0x8a280000 0x0 0xcd00>, <0x3 0x8a28cd00 0x0 0x3200>, @@ -1996,7 +1662,7 @@ dr_mode = "otg"; usb-role-switch; role-switch-default-mode = "host"; - iommus = <&usb_drd1_dart_0 0>, <&usb_drd1_dart_1 1>; + iommus = <&dwc3_1_dart_0 0>, <&dwc3_1_dart_1 1>; power-domains = <&ps_atc1_usb>; resets = <&atcphy1>; phys = <&atcphy1 PHY_TYPE_USB2>, <&atcphy1 PHY_TYPE_USB3>; @@ -2044,29 +1710,27 @@ status = "disabled"; }; - usb_drd2_dart_0: iommu@392f00000 { + dwc3_2_dart_0: iommu@392f00000 { compatible = "apple,t6041-dart", "apple,t8110-dart"; reg = <0x3 0x92f00000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_atc2_usb>; #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; status = "disabled"; }; - usb_drd2_dart_1: iommu@392f80000 { + dwc3_2_dart_1: iommu@392f80000 { compatible = "apple,t6041-dart", "apple,t8110-dart"; reg = <0x3 0x92f80000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_atc2_usb>; #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; status = "disabled"; }; - usb_drd2: usb@392280000 { + dwc3_2: usb@392280000 { compatible = "apple,t6040-dwc3", "apple,t8103-dwc3"; reg = <0x3 0x92280000 0x0 0xcd00>, <0x3 0x9228cd00 0x0 0x3200>, @@ -2082,73 +1746,13 @@ dr_mode = "otg"; usb-role-switch; role-switch-default-mode = "host"; - iommus = <&usb_drd2_dart_0 0>, <&usb_drd2_dart_1 1>; + iommus = <&dwc3_2_dart_0 0>, <&dwc3_2_dart_1 1>; power-domains = <&ps_atc2_usb>; resets = <&atcphy2>; phys = <&atcphy2 PHY_TYPE_USB2>, <&atcphy2 PHY_TYPE_USB3>; phy-names = "usb2-phy", "usb3-phy"; status = "disabled"; }; - /* Additional DARTs; enabled together with their DMA consumers. */ - ave0_dart1: iommu@283080000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x2 0x83080000 0x0 0xc000>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x00004000 0x0 0xffffc000>; - interrupt-parent = <&aic>; - interrupts = ; - power-domains = <&ps_venc0_sys>; - status = "disabled"; - }; - - ave0_dart0: iommu@2830a0000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x2 0x830a0000 0x0 0xc000>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x00004000 0x0 0xffffc000>; - interrupt-parent = <&aic>; - interrupts = ; - power-domains = <&ps_venc0_sys>; - status = "disabled"; - }; - - apr0_dart: iommu@301020000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x3 0x01020000 0x0 0xc000>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x300 0x0>; - interrupt-parent = <&aic>; - interrupts = ; - power-domains = <&ps_scodec>; - status = "disabled"; - }; - - apciec0_dart: iommu@384000000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x3 0x84000000 0x0 0x20000>; - #iommu-cells = <1>; - interrupt-parent = <&aic>; - interrupts = ; - status = "disabled"; - }; - - apciec1_dart: iommu@38c000000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x3 0x8c000000 0x0 0x20000>; - #iommu-cells = <1>; - interrupt-parent = <&aic>; - interrupts = ; - status = "disabled"; - }; - - apciec2_dart: iommu@394000000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x3 0x94000000 0x0 0x20000>; - #iommu-cells = <1>; - interrupt-parent = <&aic>; - interrupts = ; - status = "disabled"; - }; dispext0_dart: iommu@3a2300000 { compatible = "apple,t6041-dart", "apple,t8110-dart"; @@ -2170,26 +1774,6 @@ status = "disabled"; }; - apcie1_dart: iommu@411000000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x4 0x11000000 0x0 0x20000>; - #iommu-cells = <1>; - interrupt-parent = <&aic>; - interrupts = ; - status = "disabled"; - }; - - sio_dart: iommu@429060000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x4 0x29060000 0x0 0x20000>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x1c000 0x2ff 0xfffe4000>; - interrupt-parent = <&aic>; - interrupts = ; - power-domains = <&ps_sio>; - status = "disabled"; - }; - ane0_dart0: iommu@485800000 { compatible = "apple,t6041-dart", "apple,t8110-dart"; reg = <0x4 0x85800000 0x0 0xc000>; @@ -2226,61 +1810,6 @@ status = "disabled"; }; - jpeg0: jpeg@487000000 { - compatible = "apple,t6041-jpeg"; - reg = <0x4 0x87000000 0x0 0x4000>; - interrupt-parent = <&aic>; - interrupts = ; - iommus = <&jpeg0_dart 0>; - power-domains = <&ps_jpg>; - apple,dma-range = /bits/ 64 <0x10000000000 0x100000000>; - status = "disabled"; - }; - - jpeg0_dart: iommu@487020000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x4 0x87020000 0x0 0xc000>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x300 0x0>; - interrupt-parent = <&aic>; - interrupts = ; - power-domains = <&ps_jpg>; - status = "disabled"; - }; - - jpeg1: jpeg@487060000 { - compatible = "apple,t6041-jpeg"; - reg = <0x4 0x87060000 0x0 0x4000>; - interrupt-parent = <&aic>; - interrupts = ; - iommus = <&jpeg1_dart 0>; - power-domains = <&ps_jpg>; - apple,dma-range = /bits/ 64 <0x10000000000 0x100000000>; - status = "disabled"; - }; - - jpeg1_dart: iommu@487080000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x4 0x87080000 0x0 0xc000>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x300 0x0>; - interrupt-parent = <&aic>; - interrupts = ; - power-domains = <&ps_jpg>; - status = "disabled"; - }; - - scaler0_dart: iommu@521260000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x5 0x21260000 0x0 0xc000>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x300 0x0>; - interrupt-parent = <&aic>; - interrupts = ; - power-domains = <&ps_msr0>; - status = "disabled"; - }; - dispext1_dart: iommu@602300000 { compatible = "apple,t6041-dart", "apple,t8110-dart"; reg = <0x6 0x02300000 0x0 0xc000>; @@ -2323,73 +1852,141 @@ status = "disabled"; }; - pinctrl_smc: pinctrl@50c824000 { - compatible = "apple,t6041-pinctrl", "apple,t8103-pinctrl"; - reg = <0x5 0x0c824000 0x0 0x4000>; - clocks = <&clkref>; - gpio-controller; - #gpio-cells = <2>; - gpio-ranges = <&pinctrl_smc 0 0 24>; - apple,npins = <24>; - interrupt-controller; - #interrupt-cells = <2>; + /* + * Disabled until the H16 firmware path is proven on hardware. The + * loader fills the preload reservations and the firmware IOVAs from + * the ADT, so enabling it then only takes status = "okay" here and on + * the three DARTs. + */ + ane: ane@484000000 { + compatible = "apple,t6041-ane"; + reg = <0x4 0x84000000 0x0 0x2000000>, + <0x5 0x02280000 0x0 0x18000>, + <0x5 0x022a0000 0x0 0x4000>, + <0x5 0x003c0000 0x0 0x30000>, + <0x2 0x12000000 0x0 0xff4000>, + <0x5 0x22000000 0x0 0x2000000>, + <0x5 0x08374000 0x0 0x4000>; + reg-names = "engine", "pmgr", "aux-0", "aux-1", "aux-2", + "aux-3", "aux-4"; interrupt-parent = <&aic>; - interrupts = , - , - , - , - , - , - ; - /* Coprocessor pins and interrupt groups need an ownership handoff. */ + interrupts = ; + /* Stream 0 only: the MPM stream 11 is not given to the host. */ + iommus = <&ane0_dart0 0>, <&ane0_dart1 0>, <&ane0_dart2 0>; + power-domains = <&ps_ane_sys>, <&ps_ane_cpu>, <&ps_ane_mpm>, + <&ps_ane_td>, <&ps_ane_base>; + apple,ane-type = <0x110>; + apple,firmware-preloaded; + /* Inclusive DAPF bounds, in hardware record order. */ + apple,dapf-ranges = /bits/ 64 <0x5022803c0 0x5022803c3>, + /bits/ 64 <0x50228c000 0x50228c01b>, + /bits/ 64 <0x581668000 0x581668003>, + /bits/ 64 <0x28a668000 0x28a668003>; + /* Default firmware layout; the loader rewrites it from the ADT. */ + apple,firmware-iovas = /bits/ 64 <0x10000000000 0x100000c0000>; + /* The bootloader supplies the physical TEXT/DATA reservations. */ status = "disabled"; }; - nub_spmi1: spmi@509054000 { - compatible = "apple,t6041-spmi", "apple,t8103-spmi"; - reg = <0x5 0x09054000 0x0 0x100>; - #address-cells = <2>; - #size-cells = <0>; - power-domains = <&ps_nub_spmi1>; + serial0: serial@429200000 { + compatible = "apple,s5l-uart"; + reg = <0x4 0x29200000 0x0 0x4000>; + reg-io-width = <4>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clkref>, <&clkref>; + clock-names = "uart", "clk_uart_baud0"; + }; + + cpu_pmu: pmu { + compatible = "apple,t6040-pmu"; + interrupt-parent = <&aic>; + /* The AIC raises both clusters' PMU FIQs as this one. */ + interrupts = ; + }; + + pmgr_venc: power-management@502808000 { + compatible = "apple,t6041-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x5 0x02808000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + }; + + /* Additional DARTs; enabled together with their DMA consumers. */ + ave0_dart1: iommu@283080000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x2 0x83080000 0x0 0xc000>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x00004000 0x0 0xffffc000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc0_sys>; status = "disabled"; }; - nub_spmi2: spmi@509094000 { - compatible = "apple,t6041-spmi", "apple,t8103-spmi"; - reg = <0x5 0x09094000 0x0 0x100>; - #address-cells = <2>; - #size-cells = <0>; - power-domains = <&ps_nub_spmi2>; + ave0_dart0: iommu@2830a0000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x2 0x830a0000 0x0 0xc000>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x00004000 0x0 0xffffc000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc0_sys>; status = "disabled"; }; - nub_spmi3: spmi@5090d4000 { - compatible = "apple,t6041-spmi", "apple,t8103-spmi"; - reg = <0x5 0x090d4000 0x0 0x100>; - #address-cells = <2>; - #size-cells = <0>; - power-domains = <&ps_nub_spmi3>; + sio_dart: iommu@429060000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x4 0x29060000 0x0 0x20000>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x1c000 0x2ff 0xfffe4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_sio>; status = "disabled"; }; - nub_spmi4: spmi@509114000 { - compatible = "apple,t6041-spmi", "apple,t8103-spmi"; - reg = <0x5 0x09114000 0x0 0x100>; - #address-cells = <2>; - #size-cells = <0>; - power-domains = <&ps_nub_spmi4>; + jpeg0: jpeg@487000000 { + compatible = "apple,t6041-jpeg"; + reg = <0x4 0x87000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&jpeg0_dart 0>; + power-domains = <&ps_jpg>; + apple,dma-range = /bits/ 64 <0x10000000000 0x100000000>; status = "disabled"; }; - aop_spmi0: spmi@510914000 { - compatible = "apple,t6041-spmi", "apple,t8103-spmi"; - reg = <0x5 0x10914000 0x0 0x100>; - #address-cells = <2>; - #size-cells = <0>; - #interrupt-cells = <2>; - interrupt-controller; + jpeg0_dart: iommu@487020000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x4 0x87020000 0x0 0xc000>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x300 0x0>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + status = "disabled"; + }; + + jpeg1: jpeg@487060000 { + compatible = "apple,t6041-jpeg"; + reg = <0x4 0x87060000 0x0 0x4000>; interrupt-parent = <&aic>; - interrupts = ; + interrupts = ; + iommus = <&jpeg1_dart 0>; + power-domains = <&ps_jpg>; + apple,dma-range = /bits/ 64 <0x10000000000 0x100000000>; + status = "disabled"; + }; + + jpeg1_dart: iommu@487080000 { + compatible = "apple,t6041-dart", "apple,t8110-dart"; + reg = <0x4 0x87080000 0x0 0xc000>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x300 0x0>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; status = "disabled"; }; @@ -2401,19 +1998,6 @@ clock-output-names = "clk_200m"; }; - spi4: spi@429110000 { - compatible = "apple,t6041-spi", "apple,t8103-spi"; - reg = <0x4 0x29110000 0x0 0x4000>; - interrupt-parent = <&aic>; - interrupts = ; - clocks = <&clkref>; - power-domains = <&ps_spi4>; - #address-cells = <1>; - #size-cells = <0>; - /* Panel/TCON control belongs to the display firmware. */ - status = "disabled"; - }; - qspi: spi@429118000 { compatible = "apple,t6041-qspi"; reg = <0x4 0x29118000 0x0 0x4800>; @@ -2454,42 +2038,6 @@ status = "disabled"; }; - /* - * Disabled until the H16 firmware path is proven on hardware. The - * loader fills the preload reservations and the firmware IOVAs from - * the ADT, so enabling it then only takes status = "okay" here and on - * the three DARTs. - */ - ane: ane@484000000 { - compatible = "apple,t6041-ane"; - reg = <0x4 0x84000000 0x0 0x2000000>, - <0x5 0x02280000 0x0 0x18000>, - <0x5 0x022a0000 0x0 0x4000>, - <0x5 0x003c0000 0x0 0x30000>, - <0x2 0x12000000 0x0 0xff4000>, - <0x5 0x22000000 0x0 0x2000000>, - <0x5 0x08374000 0x0 0x4000>; - reg-names = "engine", "pmgr", "aux-0", "aux-1", "aux-2", - "aux-3", "aux-4"; - interrupt-parent = <&aic>; - interrupts = ; - /* Stream 0 only: the MPM stream 11 is not given to the host. */ - iommus = <&ane0_dart0 0>, <&ane0_dart1 0>, <&ane0_dart2 0>; - power-domains = <&ps_ane_sys>, <&ps_ane_cpu>, <&ps_ane_mpm>, - <&ps_ane_td>, <&ps_ane_base>; - apple,ane-type = <0x110>; - apple,firmware-preloaded; - /* Inclusive DAPF bounds, in hardware record order. */ - apple,dapf-ranges = /bits/ 64 <0x5022803c0 0x5022803c3>, - /bits/ 64 <0x50228c000 0x50228c01b>, - /bits/ 64 <0x581668000 0x581668003>, - /bits/ 64 <0x28a668000 0x28a668003>; - /* Default firmware layout; the loader rewrites it from the ADT. */ - apple,firmware-iovas = /bits/ 64 <0x10000000000 0x100000c0000>; - /* The bootloader supplies the physical TEXT/DATA reservations. */ - status = "disabled"; - }; - /* The video encoder stays disabled until its firmware backend is available. */ ave: video-codec@283100000 { compatible = "apple,t6041-ave"; @@ -2504,116 +2052,11 @@ , ; power-domains = <&ps_venc0_dma>, <&ps_venc0_pipe4>, - <&ps_venc0_pipe5>, <&ps_venc0_me0>, <&ps_venc0_me1>, - <&pmc_soc_max>; - power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1", "perf"; + <&ps_venc0_pipe5>, <&ps_venc0_me0>, <&ps_venc0_me1>; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1"; iommus = <&ave0_dart0 0>, <&ave0_dart1 0>; status = "disabled"; }; - - serial0: serial@429200000 { - compatible = "apple,s5l-uart"; - reg = <0x4 0x29200000 0x0 0x4000>; - reg-io-width = <4>; - interrupt-parent = <&aic>; - interrupts = ; - clocks = <&clkref>, <&clkref>; - clock-names = "uart", "clk_uart_baud0"; - power-domains = <&ps_uart0>; - status = "disabled"; - }; - - dcuart: serial@50883c000 { - compatible = "apple,dockchannel-uart"; - reg = <0x5 0x0883c000 0x0 0x4000>, - <0x5 0x08838000 0x0 0x4000>, - <0x5 0x0880c000 0x0 0x4000>; - reg-names = "data", "config", "irq"; - interrupt-parent = <&aic>; - interrupts = ; - apple,channel = <2>; - apple,sw-drain; - status = "disabled"; - }; - - /* ACIO 0 remains disabled until its host-router handoff is supported. */ - usb4_0_mbox: mailbox@381108000 { - compatible = "apple,t6041-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x3 0x81108000 0x0 0x4000>; - interrupt-parent = <&aic>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - power-domains = <&ps_atc0_cio>; - status = "disabled"; - }; - - usb4_0_dart: iommu@381a80000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x3 0x81a80000 0x0 0xc000>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x300 0x0>; - interrupt-parent = <&aic>; - interrupts = ; - status = "disabled"; - }; - - /* ACIO 1 remains disabled until its host-router handoff is supported. */ - usb4_1_mbox: mailbox@389108000 { - compatible = "apple,t6041-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x3 0x89108000 0x0 0x4000>; - interrupt-parent = <&aic>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - power-domains = <&ps_atc1_cio>; - status = "disabled"; - }; - - usb4_1_dart: iommu@389a80000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x3 0x89a80000 0x0 0xc000>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x300 0x0>; - interrupt-parent = <&aic>; - interrupts = ; - status = "disabled"; - }; - - /* ACIO 2 remains disabled until its host-router handoff is supported. */ - usb4_2_mbox: mailbox@391108000 { - compatible = "apple,t6041-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x3 0x91108000 0x0 0x4000>; - interrupt-parent = <&aic>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - power-domains = <&ps_atc2_cio>; - status = "disabled"; - }; - - usb4_2_dart: iommu@391a80000 { - compatible = "apple,t6041-dart", "apple,t8110-dart"; - reg = <0x3 0x91a80000 0x0 0xc000>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x300 0x0>; - interrupt-parent = <&aic>; - interrupts = ; - status = "disabled"; - }; - }; #include "t604x-pmgr.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8103-j274-control.dtsi b/arch/arm64/boot/dts/apple/t8103-j274-control.dtsi new file mode 100644 index 0000000000000..9d4ff5ccdac89 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8103-j274-control.dtsi @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Populated board control clients. Transport ownership is not transferred. */ + +&i2c3 { + ethernet_sideband: ethernet-sideband@32 { + compatible = "apple,t8103-aqc107-i2c", "apple,aqc107-i2c"; + reg = <0x32>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8103-j274.dts b/arch/arm64/boot/dts/apple/t8103-j274.dts index 2d491408f32cb..11d55fa84da33 100644 --- a/arch/arm64/boot/dts/apple/t8103-j274.dts +++ b/arch/arm64/boot/dts/apple/t8103-j274.dts @@ -147,3 +147,5 @@ }; #include "hwmon-mini.dtsi" + +#include "t8103-j274-control.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8103-j293-control.dtsi b/arch/arm64/boot/dts/apple/t8103-j293-control.dtsi new file mode 100644 index 0000000000000..8b8b6da30d738 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8103-j293-control.dtsi @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Populated board control clients. Transport ownership is not transferred. */ + +&spi4 { + panel_controller: panel-timing-controller@0 { + compatible = "parade,dp855"; + reg = <0>; + status = "disabled"; + + i2c { + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + temperature-sensor@70 { + compatible = "ti,tmp103"; + reg = <0x70>; + status = "disabled"; + }; + temperature-sensor@71 { + compatible = "ti,tmp103"; + reg = <0x71>; + status = "disabled"; + }; + temperature-sensor@72 { + compatible = "ti,tmp103"; + reg = <0x72>; + status = "disabled"; + }; + }; + }; +}; + +&i2c4 { + touchbar_control: touchbar-driver@4c { + compatible = "apple,t8103-touchbar-driver", "apple,touchbar-driver"; + reg = <0x4c>; + status = "disabled"; + }; +}; + +&i2c4 { + touchbar_calibration: touchbar-calibration@50 { + compatible = "apple,t8103-touchbar-calibration", "apple,touchbar-calibration"; + reg = <0x50>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8103-j293.dts b/arch/arm64/boot/dts/apple/t8103-j293.dts index bc42ad5a57043..d5006b1a2aed7 100644 --- a/arch/arm64/boot/dts/apple/t8103-j293.dts +++ b/arch/arm64/boot/dts/apple/t8103-j293.dts @@ -329,3 +329,5 @@ &isp { apple,platform-id = <1>; }; + +#include "t8103-j293-control.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8103-j313-control.dtsi b/arch/arm64/boot/dts/apple/t8103-j313-control.dtsi new file mode 100644 index 0000000000000..56f8a1959635f --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8103-j313-control.dtsi @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Populated board control clients. Transport ownership is not transferred. */ + +&i2c2 { + atcrt0: retimer@18 { + compatible = "apple,t8103-atcrt", "apple,atcrt"; + reg = <0x18>; + status = "disabled"; + }; + + atcrt1: retimer@19 { + compatible = "apple,t8103-atcrt", "apple,atcrt"; + reg = <0x19>; + status = "disabled"; + }; +}; + +&spi4 { + panel_controller: panel-timing-controller@0 { + compatible = "parade,dp855"; + reg = <0>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8103-j313.dts b/arch/arm64/boot/dts/apple/t8103-j313.dts index 299227ea2b9a0..b1125b78a85d0 100644 --- a/arch/arm64/boot/dts/apple/t8103-j313.dts +++ b/arch/arm64/boot/dts/apple/t8103-j313.dts @@ -221,3 +221,5 @@ &isp { apple,platform-id = <1>; }; + +#include "t8103-j313-control.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8103-j456-control.dtsi b/arch/arm64/boot/dts/apple/t8103-j456-control.dtsi new file mode 100644 index 0000000000000..233084a6d8e69 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8103-j456-control.dtsi @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Populated board control clients. Transport ownership is not transferred. */ + +&spi4 { + panel_controller: panel-timing-controller@0 { + compatible = "parade,dp855"; + reg = <0>; + status = "disabled"; + }; +}; + +&i2c0 { + hcpm: hcpm@8 { + compatible = "apple,t8103-hcpm", "apple,hcpm"; + reg = <0x8>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8103-j456.dts b/arch/arm64/boot/dts/apple/t8103-j456.dts index ca3499abc17a1..abdf520835c32 100644 --- a/arch/arm64/boot/dts/apple/t8103-j456.dts +++ b/arch/arm64/boot/dts/apple/t8103-j456.dts @@ -170,3 +170,8 @@ &isp { apple,platform-id = <2>; }; + +/* Two fans on the 4-port model, from the product spec, not an ADT. */ +#include "hwmon-fan-dual.dtsi" + +#include "t8103-j456-control.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8103-j457-control.dtsi b/arch/arm64/boot/dts/apple/t8103-j457-control.dtsi new file mode 100644 index 0000000000000..233084a6d8e69 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8103-j457-control.dtsi @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Populated board control clients. Transport ownership is not transferred. */ + +&spi4 { + panel_controller: panel-timing-controller@0 { + compatible = "parade,dp855"; + reg = <0>; + status = "disabled"; + }; +}; + +&i2c0 { + hcpm: hcpm@8 { + compatible = "apple,t8103-hcpm", "apple,hcpm"; + reg = <0x8>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8103-j457.dts b/arch/arm64/boot/dts/apple/t8103-j457.dts index 5933913088bca..c2e0e7f638890 100644 --- a/arch/arm64/boot/dts/apple/t8103-j457.dts +++ b/arch/arm64/boot/dts/apple/t8103-j457.dts @@ -151,3 +151,8 @@ &isp { apple,platform-id = <2>; }; + +/* One fan on the 2-port model, from the product spec, not an ADT. */ +#include "hwmon-fan.dtsi" + +#include "t8103-j457-control.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8103-peripherals.dtsi b/arch/arm64/boot/dts/apple/t8103-peripherals.dtsi new file mode 100644 index 0000000000000..d8d908f27d18c --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8103-peripherals.dtsi @@ -0,0 +1,861 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Hardware resources retained for devices without a qualified OS handoff. */ + +&{/soc} { + mcc: memory-controller@200100000 { + compatible = "apple,t8103-mcc", "apple,mcc"; + reg = <0x2 0x00100000 0x0 0x100000>, + <0x2 0x00000000 0x0 0x100000>, + <0x2 0x00200000 0x0 0x200000>; + status = "disabled"; + }; + + + mtrtempsensor8: temperature-sensor@210ee4000 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x10ee4000 0x0 0x4>, + <0x2 0x10ee1014 0x0 0x4>, + <0x2 0x10ee1018 0x0 0x4>, + <0x2 0x10ee101c 0x0 0x4>, + <0x2 0x10ee1020 0x0 0x4>, + <0x2 0x10ee1004 0x0 0x4>, + <0x2 0x10ee1000 0x0 0x4>, + <0x2 0x10ee1160 0x0 0x4>, + <0x2 0x10ee115c 0x0 0x4>, + <0x2 0x10ee1168 0x0 0x4>, + <0x2 0x10ee1164 0x0 0x4>, + <0x2 0x10ee4004 0x0 0x4>, + <0x2 0x10ee1010 0x0 0x4>, + <0x2 0x10ee100c 0x0 0x4>, + <0x2 0x10ee1008 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor9: temperature-sensor@210ee4600 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x10ee4600 0x0 0x4>, + <0x2 0x10ee1614 0x0 0x4>, + <0x2 0x10ee1618 0x0 0x4>, + <0x2 0x10ee161c 0x0 0x4>, + <0x2 0x10ee1620 0x0 0x4>, + <0x2 0x10ee1604 0x0 0x4>, + <0x2 0x10ee1600 0x0 0x4>, + <0x2 0x10ee1760 0x0 0x4>, + <0x2 0x10ee175c 0x0 0x4>, + <0x2 0x10ee1768 0x0 0x4>, + <0x2 0x10ee1764 0x0 0x4>, + <0x2 0x10ee4604 0x0 0x4>, + <0x2 0x10ee1610 0x0 0x4>, + <0x2 0x10ee160c 0x0 0x4>, + <0x2 0x10ee1608 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor10: temperature-sensor@211ee4400 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x11ee4400 0x0 0x4>, + <0x2 0x11ee1414 0x0 0x4>, + <0x2 0x11ee1418 0x0 0x4>, + <0x2 0x11ee141c 0x0 0x4>, + <0x2 0x11ee1420 0x0 0x4>, + <0x2 0x11ee1404 0x0 0x4>, + <0x2 0x11ee1400 0x0 0x4>, + <0x2 0x11ee1560 0x0 0x4>, + <0x2 0x11ee155c 0x0 0x4>, + <0x2 0x11ee1568 0x0 0x4>, + <0x2 0x11ee1564 0x0 0x4>, + <0x2 0x11ee4404 0x0 0x4>, + <0x2 0x11ee1410 0x0 0x4>, + <0x2 0x11ee140c 0x0 0x4>, + <0x2 0x11ee1408 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor11: temperature-sensor@211ee4600 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x11ee4600 0x0 0x4>, + <0x2 0x11ee1614 0x0 0x4>, + <0x2 0x11ee1618 0x0 0x4>, + <0x2 0x11ee161c 0x0 0x4>, + <0x2 0x11ee1620 0x0 0x4>, + <0x2 0x11ee1604 0x0 0x4>, + <0x2 0x11ee1600 0x0 0x4>, + <0x2 0x11ee1760 0x0 0x4>, + <0x2 0x11ee175c 0x0 0x4>, + <0x2 0x11ee1768 0x0 0x4>, + <0x2 0x11ee1764 0x0 0x4>, + <0x2 0x11ee4604 0x0 0x4>, + <0x2 0x11ee1610 0x0 0x4>, + <0x2 0x11ee160c 0x0 0x4>, + <0x2 0x11ee1608 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor12: temperature-sensor@211ee4800 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x11ee4800 0x0 0x4>, + <0x2 0x11ee1814 0x0 0x4>, + <0x2 0x11ee1818 0x0 0x4>, + <0x2 0x11ee181c 0x0 0x4>, + <0x2 0x11ee1820 0x0 0x4>, + <0x2 0x11ee1804 0x0 0x4>, + <0x2 0x11ee1800 0x0 0x4>, + <0x2 0x11ee1960 0x0 0x4>, + <0x2 0x11ee195c 0x0 0x4>, + <0x2 0x11ee1968 0x0 0x4>, + <0x2 0x11ee1964 0x0 0x4>, + <0x2 0x11ee4804 0x0 0x4>, + <0x2 0x11ee1810 0x0 0x4>, + <0x2 0x11ee180c 0x0 0x4>, + <0x2 0x11ee1808 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor13: temperature-sensor@211eec000 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x11eec000 0x0 0x4>, + <0x2 0x11ee9014 0x0 0x4>, + <0x2 0x11ee9018 0x0 0x4>, + <0x2 0x11ee901c 0x0 0x4>, + <0x2 0x11ee9020 0x0 0x4>, + <0x2 0x11ee9004 0x0 0x4>, + <0x2 0x11ee9000 0x0 0x4>, + <0x2 0x11ee9160 0x0 0x4>, + <0x2 0x11ee915c 0x0 0x4>, + <0x2 0x11ee9168 0x0 0x4>, + <0x2 0x11ee9164 0x0 0x4>, + <0x2 0x11eec004 0x0 0x4>, + <0x2 0x11ee9010 0x0 0x4>, + <0x2 0x11ee900c 0x0 0x4>, + <0x2 0x11ee9008 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor14: temperature-sensor@211ef4200 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x11ef4200 0x0 0x4>, + <0x2 0x11ef1214 0x0 0x4>, + <0x2 0x11ef1218 0x0 0x4>, + <0x2 0x11ef121c 0x0 0x4>, + <0x2 0x11ef1220 0x0 0x4>, + <0x2 0x11ef1204 0x0 0x4>, + <0x2 0x11ef1200 0x0 0x4>, + <0x2 0x11ef1360 0x0 0x4>, + <0x2 0x11ef135c 0x0 0x4>, + <0x2 0x11ef1368 0x0 0x4>, + <0x2 0x11ef1364 0x0 0x4>, + <0x2 0x11ef4204 0x0 0x4>, + <0x2 0x11ef1210 0x0 0x4>, + <0x2 0x11ef120c 0x0 0x4>, + <0x2 0x11ef1208 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor15: temperature-sensor@211ef4400 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x11ef4400 0x0 0x4>, + <0x2 0x11ef1414 0x0 0x4>, + <0x2 0x11ef1418 0x0 0x4>, + <0x2 0x11ef141c 0x0 0x4>, + <0x2 0x11ef1420 0x0 0x4>, + <0x2 0x11ef1404 0x0 0x4>, + <0x2 0x11ef1400 0x0 0x4>, + <0x2 0x11ef1560 0x0 0x4>, + <0x2 0x11ef155c 0x0 0x4>, + <0x2 0x11ef1568 0x0 0x4>, + <0x2 0x11ef1564 0x0 0x4>, + <0x2 0x11ef4404 0x0 0x4>, + <0x2 0x11ef1410 0x0 0x4>, + <0x2 0x11ef140c 0x0 0x4>, + <0x2 0x11ef1408 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor16: temperature-sensor@211ef4600 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x11ef4600 0x0 0x4>, + <0x2 0x11ef1614 0x0 0x4>, + <0x2 0x11ef1618 0x0 0x4>, + <0x2 0x11ef161c 0x0 0x4>, + <0x2 0x11ef1620 0x0 0x4>, + <0x2 0x11ef1604 0x0 0x4>, + <0x2 0x11ef1600 0x0 0x4>, + <0x2 0x11ef1760 0x0 0x4>, + <0x2 0x11ef175c 0x0 0x4>, + <0x2 0x11ef1768 0x0 0x4>, + <0x2 0x11ef1764 0x0 0x4>, + <0x2 0x11ef4604 0x0 0x4>, + <0x2 0x11ef1610 0x0 0x4>, + <0x2 0x11ef160c 0x0 0x4>, + <0x2 0x11ef1608 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + aes: crypto@23500c000 { + compatible = "apple,t8103-aes", "apple,aes"; + reg = <0x2 0x3500c000 0x0 0x4000>, + <0x2 0x3d2d0000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&sio_dart 1>; + status = "disabled"; + }; + + pwm0: pwm@235040000 { + compatible = "apple,t8103-pwm", "apple,pwm"; + reg = <0x2 0x35040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_fpwm0>; + status = "disabled"; + }; + + spi4: spi@235110000 { + compatible = "apple,t8103-spi", "apple,spi"; + reg = <0x2 0x35110000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_spi4>; + clocks = <&peripheral_clocks 380>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + aic_timebase: timer@23b108000 { + compatible = "apple,t8103-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x3b108000 0x0 0x1000>; + status = "disabled"; + }; + + dwi: bus-controller@23b200000 { + compatible = "apple,t8103-dwi", "apple,dwi"; + reg = <0x2 0x3b200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + mtrtempsensor3: temperature-sensor@23b284000 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x3b284000 0x0 0x4>, + <0x2 0x3b281014 0x0 0x4>, + <0x2 0x3b281018 0x0 0x4>, + <0x2 0x3b28101c 0x0 0x4>, + <0x2 0x3b281020 0x0 0x4>, + <0x2 0x3b281004 0x0 0x4>, + <0x2 0x3b281000 0x0 0x4>, + <0x2 0x3b281160 0x0 0x4>, + <0x2 0x3b28115c 0x0 0x4>, + <0x2 0x3b281168 0x0 0x4>, + <0x2 0x3b281164 0x0 0x4>, + <0x2 0x3b284004 0x0 0x4>, + <0x2 0x3b281010 0x0 0x4>, + <0x2 0x3b28100c 0x0 0x4>, + <0x2 0x3b281008 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor4: temperature-sensor@23b284200 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x3b284200 0x0 0x4>, + <0x2 0x3b281214 0x0 0x4>, + <0x2 0x3b281218 0x0 0x4>, + <0x2 0x3b28121c 0x0 0x4>, + <0x2 0x3b281220 0x0 0x4>, + <0x2 0x3b281204 0x0 0x4>, + <0x2 0x3b281200 0x0 0x4>, + <0x2 0x3b281360 0x0 0x4>, + <0x2 0x3b28135c 0x0 0x4>, + <0x2 0x3b281368 0x0 0x4>, + <0x2 0x3b281364 0x0 0x4>, + <0x2 0x3b284204 0x0 0x4>, + <0x2 0x3b281210 0x0 0x4>, + <0x2 0x3b28120c 0x0 0x4>, + <0x2 0x3b281208 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor5: temperature-sensor@23b284400 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x3b284400 0x0 0x4>, + <0x2 0x3b281414 0x0 0x4>, + <0x2 0x3b281418 0x0 0x4>, + <0x2 0x3b28141c 0x0 0x4>, + <0x2 0x3b281420 0x0 0x4>, + <0x2 0x3b281404 0x0 0x4>, + <0x2 0x3b281400 0x0 0x4>, + <0x2 0x3b281560 0x0 0x4>, + <0x2 0x3b28155c 0x0 0x4>, + <0x2 0x3b281568 0x0 0x4>, + <0x2 0x3b281564 0x0 0x4>, + <0x2 0x3b284404 0x0 0x4>, + <0x2 0x3b281410 0x0 0x4>, + <0x2 0x3b28140c 0x0 0x4>, + <0x2 0x3b281408 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor6: temperature-sensor@23b29c200 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x3b29c200 0x0 0x4>, + <0x2 0x3b299214 0x0 0x4>, + <0x2 0x3b299218 0x0 0x4>, + <0x2 0x3b29921c 0x0 0x4>, + <0x2 0x3b299220 0x0 0x4>, + <0x2 0x3b299204 0x0 0x4>, + <0x2 0x3b299200 0x0 0x4>, + <0x2 0x3b299360 0x0 0x4>, + <0x2 0x3b29935c 0x0 0x4>, + <0x2 0x3b299368 0x0 0x4>, + <0x2 0x3b299364 0x0 0x4>, + <0x2 0x3b29c204 0x0 0x4>, + <0x2 0x3b299210 0x0 0x4>, + <0x2 0x3b29920c 0x0 0x4>, + <0x2 0x3b299208 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor7: temperature-sensor@23b2a4000 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x3b2a4000 0x0 0x4>, + <0x2 0x3b2a1014 0x0 0x4>, + <0x2 0x3b2a1018 0x0 0x4>, + <0x2 0x3b2a101c 0x0 0x4>, + <0x2 0x3b2a1020 0x0 0x4>, + <0x2 0x3b2a1004 0x0 0x4>, + <0x2 0x3b2a1000 0x0 0x4>, + <0x2 0x3b2a1160 0x0 0x4>, + <0x2 0x3b2a115c 0x0 0x4>, + <0x2 0x3b2a1168 0x0 0x4>, + <0x2 0x3b2a1164 0x0 0x4>, + <0x2 0x3b2a4004 0x0 0x4>, + <0x2 0x3b2a1010 0x0 0x4>, + <0x2 0x3b2a100c 0x0 0x4>, + <0x2 0x3b2a1008 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1-clr", "ctl1-set", "ctl2-clr", "ctl2-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + mtrtempsensor17: temperature-sensor@23b2e0200 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x3b2e0200 0x0 0x4>, + <0x2 0x3b2e0204 0x0 0x4>; + reg-names = "readbk", "readbk1"; + status = "disabled"; + }; + + mtrtempsensor18: temperature-sensor@23b2e0c00 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x3b2e0c00 0x0 0x4>, + <0x2 0x3b2e0c04 0x0 0x4>; + reg-names = "readbk", "readbk1"; + status = "disabled"; + }; + + tempsensor0: temperature-sensor@23b2e4000 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x3b2e4000 0x0 0x4>, + <0x2 0x3b2c405c 0x0 0x4>, + <0x2 0x3b2c4060 0x0 0x4>, + <0x2 0x3b2c4064 0x0 0x4>, + <0x2 0x3b2c4068 0x0 0x4>, + <0x2 0x3b2c4004 0x0 0x4>, + <0x2 0x3b2c4000 0x0 0x4>, + <0x2 0x3b2c4008 0x0 0x4>, + <0x2 0x3b2c400c 0x0 0x4>, + <0x2 0x3b2c409c 0x0 0x4>, + <0x2 0x3b2c4098 0x0 0x4>, + <0x2 0x3b2c40a4 0x0 0x4>, + <0x2 0x3b2c40a0 0x0 0x4>, + <0x2 0x3b2e4004 0x0 0x4>, + <0x2 0x3b2c4058 0x0 0x4>, + <0x2 0x3b2c4054 0x0 0x4>, + <0x2 0x3b2c4010 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1", "ctl2", "ctl3-clr", "ctl3-set", "ctl4-clr", "ctl4-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + tempsensor1: temperature-sensor@23b2e8000 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x3b2e8000 0x0 0x4>, + <0x2 0x3b2c805c 0x0 0x4>, + <0x2 0x3b2c8060 0x0 0x4>, + <0x2 0x3b2c8064 0x0 0x4>, + <0x2 0x3b2c8068 0x0 0x4>, + <0x2 0x3b2c8004 0x0 0x4>, + <0x2 0x3b2c8000 0x0 0x4>, + <0x2 0x3b2c8008 0x0 0x4>, + <0x2 0x3b2c800c 0x0 0x4>, + <0x2 0x3b2c809c 0x0 0x4>, + <0x2 0x3b2c8098 0x0 0x4>, + <0x2 0x3b2c80a4 0x0 0x4>, + <0x2 0x3b2c80a0 0x0 0x4>, + <0x2 0x3b2e8004 0x0 0x4>, + <0x2 0x3b2c8058 0x0 0x4>, + <0x2 0x3b2c8054 0x0 0x4>, + <0x2 0x3b2c8010 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1", "ctl2", "ctl3-clr", "ctl3-set", "ctl4-clr", "ctl4-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + tempsensor2: temperature-sensor@23b2ec000 { + compatible = "apple,t8103-die-temperature-sensor", "apple,die-temperature-sensor"; + reg = <0x2 0x3b2ec000 0x0 0x4>, + <0x2 0x3b2cc05c 0x0 0x4>, + <0x2 0x3b2cc060 0x0 0x4>, + <0x2 0x3b2cc064 0x0 0x4>, + <0x2 0x3b2cc068 0x0 0x4>, + <0x2 0x3b2cc004 0x0 0x4>, + <0x2 0x3b2cc000 0x0 0x4>, + <0x2 0x3b2cc008 0x0 0x4>, + <0x2 0x3b2cc00c 0x0 0x4>, + <0x2 0x3b2cc09c 0x0 0x4>, + <0x2 0x3b2cc098 0x0 0x4>, + <0x2 0x3b2cc0a4 0x0 0x4>, + <0x2 0x3b2cc0a0 0x0 0x4>, + <0x2 0x3b2ec004 0x0 0x4>, + <0x2 0x3b2cc058 0x0 0x4>, + <0x2 0x3b2cc054 0x0 0x4>, + <0x2 0x3b2cc010 0x0 0x4>; + reg-names = "readbk", "alarm0", "alarm1", "alarm2", "alarm3", "ctl0-clr", "ctl0-set", "ctl1", "ctl2", "ctl3-clr", "ctl3-set", "ctl4-clr", "ctl4-set", "readbk1", "readcnt", "readsum", "status"; + status = "disabled"; + }; + + pmp_dart: iommu@23b300000 { + compatible = "apple,t8103-dart"; + reg = <0x2 0x3b300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + pmp: coprocessor@23bc00000 { + compatible = "apple,t8103-pmp", "apple,pmp"; + reg = <0x2 0x3bc00000 0x0 0x60000>, + <0x2 0x3b850000 0x0 0x200000>, + <0x2 0x3b500000 0x0 0x80000>, + <0x2 0x00024000 0x0 0x4000>, + <0x2 0x00064000 0x0 0x4000>, + <0x2 0x000a4000 0x0 0x4000>, + <0x2 0x000e4000 0x0 0x4000>, + <0x2 0x00158000 0x0 0x4000>, + <0x2 0x00204000 0x0 0x4000>, + <0x2 0x00244000 0x0 0x4000>, + <0x2 0x00284000 0x0 0x4000>, + <0x2 0x002c4000 0x0 0x4000>, + <0x2 0x04d10000 0x0 0x4000>, + <0x2 0x10058000 0x0 0x4000>, + <0x2 0x10158000 0x0 0x4000>, + <0x2 0x10258000 0x0 0x4000>, + <0x2 0x10358000 0x0 0x4000>, + <0x2 0x10e20000 0x0 0x60000>, + <0x2 0x10e48000 0x0 0x4000>, + <0x2 0x11058000 0x0 0x4000>, + <0x2 0x11158000 0x0 0x4000>, + <0x2 0x11258000 0x0 0x4000>, + <0x2 0x11358000 0x0 0x4000>, + <0x2 0x11e20000 0x0 0x60000>, + <0x2 0x11e48000 0x0 0x4000>, + <0x2 0x3d100000 0x0 0x14000>, + <0x2 0x3d128000 0x0 0x30000>, + <0x2 0x3d0d8000 0x0 0x4000>, + <0x2 0x6b90c000 0x0 0x4000>, + <0x2 0x00170000 0x0 0x4000>, + <0x2 0x3c100000 0x0 0x4000>, + <0x2 0x04e20000 0x0 0x4000>, + <0x2 0x11ee0000 0x0 0x8000>, + <0x2 0x11ee8000 0x0 0x8000>, + <0x2 0x11ef0000 0x0 0x8000>, + <0x2 0x10ee0000 0x0 0x8000>, + <0x2 0x04d80000 0x0 0x8000>; + power-domains = <&ps_pmp>, <&ps_pms_sram>; + iommus = <&pmp_dart 0>; + mboxes = <&pmp_mbox>; + mbox-names = "mbox"; + status = "disabled"; + }; + + pmp_mbox: mailbox@23bc08000 { + compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0x3bc08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + power-domains = <&ps_pmp>, <&ps_pms_sram>; + #mbox-cells = <0>; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + status = "disabled"; + }; + + nub_spmi1: spmi@23d0e1300 { + compatible = "apple,t8103-spmi", "apple,spmi"; + reg = <0x2 0x3d0e1300 0x0 0x100>, + <0x2 0x3d0e0e00 0x0 0x100>, + <0x2 0x3d0e0400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + }; + + dockchannel_uart: fifo@23d10c000 { + compatible = "apple,t8103-dockchannel", "apple,dockchannel"; + reg = <0x2 0x3d10c000 0x0 0x18>; + interrupt-parent = <&aic>; + interrupts = ; + reg-names = "irq"; + ranges = <0 0x2 0x3d128000 0x10000>; + #address-cells = <1>; + #size-cells = <1>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + }; + + aop_spmi1: spmi@24a829300 { + compatible = "apple,t8103-spmi", "apple,spmi"; + reg = <0x2 0x4a829300 0x0 0x100>, + <0x2 0x4a828e00 0x0 0x100>, + <0x2 0x4a828400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + }; + + scaler0: scaler@263000000 { + compatible = "apple,t8103-scaler", "apple,scaler"; + reg = <0x2 0x63000000 0x0 0x28000>, + <0x2 0x63210000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr>, <&ps_msr_ase_core>; + clocks = <&peripheral_clocks 365>; + iommus = <&scaler_dart 0>, <&scaler_dart 1>; + resets = <&ps_msr>; + status = "disabled"; + }; + + scaler_dart: iommu@263200000 { + compatible = "apple,t8103-dart"; + reg = <0x2 0x63200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg0: jpeg@265000000 { + compatible = "apple,t8103-jpeg", "apple,jpeg"; + reg = <0x2 0x65000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 363>, <&peripheral_clocks 364>; + iommus = <&jpeg0_dart 0>; + status = "disabled"; + }; + + jpeg0_dart: iommu@265004000 { + compatible = "apple,t8103-dart"; + reg = <0x2 0x65004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg1: jpeg@265008000 { + compatible = "apple,t8103-jpeg", "apple,jpeg"; + reg = <0x2 0x65008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 363>, <&peripheral_clocks 364>; + iommus = <&jpeg1_dart 0>; + status = "disabled"; + }; + + jpeg1_dart: iommu@26500c000 { + compatible = "apple,t8103-dart"; + reg = <0x2 0x6500c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave_dma: dma-controller@267020000 { + compatible = "apple,t8103-ave-dma", "apple,ave-dma"; + reg = <0x2 0x67020000 0x0 0x4000>, + <0x2 0x67044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + status = "disabled"; + }; + + ave_dart1: iommu@267030000 { + compatible = "apple,t8103-dart"; + reg = <0x2 0x67030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave_dart0: iommu@267040000 { + compatible = "apple,t8103-dart"; + reg = <0x2 0x67040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave: video-codec@267100000 { + compatible = "apple,t8103-ave", "apple,ave"; + reg = <0x2 0x67100000 0x0 0x45c000>, + <0x2 0x67050000 0x0 0x8000>, + <0x2 0x67800000 0x0 0x800000>, + <0x2 0x3b708000 0x0 0x4000>, + <0x2 0x66000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc_dma>, <&ps_venc_pipe4>, <&ps_venc_pipe5>, <&ps_venc_me0>, <&ps_venc_me1>; + clocks = <&peripheral_clocks 350>; + iommus = <&ave_dart0 0>, <&ave_dart1 0>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1"; + status = "disabled"; + }; + + atc0_dpin0: displayport@381e50000 { + compatible = "apple,t8103-dpin", "apple,dpin"; + reg = <0x3 0x81e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc0_dpin1: displayport@381e58000 { + compatible = "apple,t8103-dpin", "apple,dpin"; + reg = <0x3 0x81e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec0_piodma: dma-controller@3a2000000 { + compatible = "apple,t8103-pciec-piodma", "apple,pciec-piodma"; + reg = <0x3 0xa2000000 0x0 0x4000>, + <0x3 0xa2004000 0x0 0x4000>, + <0x3 0xa2008000 0x0 0x4000>, + <0x3 0xa0008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart 15>; + status = "disabled"; + }; + + atc1_dpin0: displayport@501e50000 { + compatible = "apple,t8103-dpin", "apple,dpin"; + reg = <0x5 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin1: displayport@501e58000 { + compatible = "apple,t8103-dpin", "apple,dpin"; + reg = <0x5 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec1_piodma: dma-controller@522000000 { + compatible = "apple,t8103-pciec-piodma", "apple,pciec-piodma"; + reg = <0x5 0x22000000 0x0 0x4000>, + <0x5 0x22004000 0x0 0x4000>, + <0x5 0x22008000 0x0 0x4000>, + <0x5 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart 15>; + status = "disabled"; + }; +}; + +&{/soc} { + soc_errors: error-handler@200100000 { + compatible = "apple,t8103-error-handler", "apple,soc-error-handler"; + reg = <0x2 0x00100000 0x0 0x100000>, + <0x2 0x00000000 0x0 0x1000>, + <0x2 0x0001c000 0x0 0xc000>, + <0x2 0x00004000 0x0 0x14000>, + <0x2 0x00040000 0x0 0x1000>, + <0x2 0x0005c000 0x0 0xc000>, + <0x2 0x00044000 0x0 0x14000>, + <0x2 0x00080000 0x0 0x1000>, + <0x2 0x0009c000 0x0 0xc000>, + <0x2 0x00084000 0x0 0x14000>, + <0x2 0x000c0000 0x0 0x1000>, + <0x2 0x000dc000 0x0 0xc000>, + <0x2 0x000c4000 0x0 0x14000>, + <0x2 0x41440000 0x0 0x40000>, + <0x2 0x41400000 0x0 0x40000>, + <0x2 0x3b000000 0x0 0x70000>, + <0x2 0x3b700000 0x0 0x8c000>, + <0x2 0x00200000 0x0 0x200000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + soc_events: event-log@23b700000 { + compatible = "apple,t8103-event-log", "apple,soc-event-log"; + reg = <0x2 0x3b700000 0x0 0x8c000>, + <0x2 0x3d280000 0x0 0x74000>, + <0x2 0x3b000000 0x0 0x70000>, + <0x2 0x3d200000 0x0 0x80000>, + <0x2 0x3b2c4000 0x0 0x4000>, + <0x2 0x3b2c8000 0x0 0x4000>, + <0x2 0x3b2cc000 0x0 0x4000>, + <0x2 0x3b2c0000 0x0 0x4000>, + <0x2 0x3b280000 0x0 0x8000>, + <0x2 0x3b288000 0x0 0x8000>, + <0x2 0x3b290000 0x0 0x8000>, + <0x2 0x3b298000 0x0 0x8000>, + <0x2 0x3b2a0000 0x0 0x8000>, + <0x2 0x3b2a8000 0x0 0x8000>, + <0x2 0x3b2b0000 0x0 0x8000>, + <0x2 0x6b868000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + +}; + +&nub_spmi1 { + simetra: pmic@f { + compatible = "apple,simetra-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; +}; + +&{/soc} { + primary_spmi_monitor: spmi-monitor@23d0d8e00 { + compatible = "apple,t8103-spmi-monitor", "apple,spmi-monitor"; + reg = <0x2 0x3d0d8e00 0x0 0x100>, + <0x2 0x3d0d8400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + apple,controller = <&nub_spmi>; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <0>; + status = "disabled"; + }; +}; + +&pmic1 { + battery_monitor: battery-monitor { + compatible = "apple,t8103-battery-monitor", "apple,battery-monitor"; + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <62 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + +&aop_spmi1 { + stockholm: nfc@c { + compatible = "apple,t8103-stockholm-spmi", "apple,stockholm-spmi"; + reg = <0xc SPMI_USID>; + interrupt-parent = <&aop_spmi1>; + interrupts = <160 IRQ_TYPE_NONE>, + <161 IRQ_TYPE_NONE>, + <162 IRQ_TYPE_NONE>, + <163 IRQ_TYPE_NONE>, + <164 IRQ_TYPE_NONE>, + <165 IRQ_TYPE_NONE>, + <166 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + +/ { + peripheral_clocks: clock-controller { + compatible = "apple,t8103-pmgr-clocks", "apple,pmgr-clocks"; + #clock-cells = <1>; + apple,pmgr = <&pmgr>; + status = "disabled"; + }; +}; + +&pmic1 { + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <2 IRQ_TYPE_NONE>; +}; diff --git a/arch/arm64/boot/dts/apple/t8103.dtsi b/arch/arm64/boot/dts/apple/t8103.dtsi index 3ae5a351d55f3..a8dc0a6f398bd 100644 --- a/arch/arm64/boot/dts/apple/t8103.dtsi +++ b/arch/arm64/boot/dts/apple/t8103.dtsi @@ -2294,3 +2294,5 @@ &ps_ane_set5 { status = "okay"; }; + +#include "t8103-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8112-j413.dts b/arch/arm64/boot/dts/apple/t8112-j413.dts index 86314d4ecc0ca..6bea58173d2ab 100644 --- a/arch/arm64/boot/dts/apple/t8112-j413.dts +++ b/arch/arm64/boot/dts/apple/t8112-j413.dts @@ -21,6 +21,8 @@ aliases { bluetooth0 = &bluetooth0; keyboard = &keyboard; + rtc0 = &smc_rtc; + rtc1 = &pmu_rtc; sep = &sep; wifi0 = &wifi0; }; @@ -182,6 +184,16 @@ &aop { status = "okay"; + + accel { + compatible = "apple,t8112-aop-accel", "apple,aop-accel"; + status = "disabled"; + }; + + gyro { + compatible = "apple,t8112-aop-gyro", "apple,aop-gyro"; + status = "disabled"; + }; }; &aop_audio { @@ -292,3 +304,74 @@ &pmp_report_isp_sys { status = "okay"; }; + +&nub_spmi1 { + pmic@e { + compatible = "apple,vale-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&i2c2 { + retimer@18 { + compatible = "apple,t8112-atcrt", "apple,atcrt"; + reg = <0x18>; + status = "disabled"; + }; + retimer@19 { + compatible = "apple,t8112-atcrt", "apple,atcrt"; + reg = <0x19>; + status = "disabled"; + }; +}; + +&spi4 { + panel_controller: panel-timing-controller@0 { + compatible = "parade,dp855"; + reg = <0>; + status = "disabled"; + }; +}; + +&i2c4 { + avellino@44 { + compatible = "apple,t8112-avellino", "apple,avellino"; + reg = <0x44>; + status = "disabled"; + }; + + avellino@77 { + compatible = "apple,t8112-avellino", "apple,avellino"; + reg = <0x77>; + status = "disabled"; + }; +}; + +&aop_spmi0 { + radio-pmu@e { + compatible = "apple,t8112-wifibt-pmu", "apple,radio-pmu"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; +}; + +&aop_spmi1 { + interrupt-controller; + #interrupt-cells = <2>; + + nfc@c { + compatible = "apple,t8112-stockholm-spmi", "apple,stockholm-spmi"; + reg = <0xc SPMI_USID>; + interrupt-parent = <&aop_spmi1>; + interrupts = <160 IRQ_TYPE_NONE>, + <161 IRQ_TYPE_NONE>, + <162 IRQ_TYPE_NONE>, + <163 IRQ_TYPE_NONE>, + <164 IRQ_TYPE_NONE>, + <165 IRQ_TYPE_NONE>, + <166 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8112-j415-peripherals.dtsi b/arch/arm64/boot/dts/apple/t8112-j415-peripherals.dtsi new file mode 100644 index 0000000000000..9e7941dd584e0 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8112-j415-peripherals.dtsi @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T8112 hardware resources. Keep unqualified blocks disabled. */ + +&aop_spmi0 { + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + peripheral@e { + compatible = "apple,t8112-spmi-peripheral", + "apple,spmi-peripheral"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; +}; + +&aop_spmi1 { + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + nfc@8 { + compatible = "apple,t8112-spmi-nfc", + "apple,spmi-nfc"; + reg = <0x8 SPMI_USID>; + interrupt-parent = <&aop_spmi1>; + interrupts = <176 IRQ_TYPE_LEVEL_HIGH>, + <177 IRQ_TYPE_LEVEL_HIGH>, + <178 IRQ_TYPE_LEVEL_HIGH>, + <179 IRQ_TYPE_LEVEL_HIGH>, + <180 IRQ_TYPE_LEVEL_HIGH>, + <181 IRQ_TYPE_LEVEL_HIGH>, + <182 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; +}; + +&nub_spmi1 { + pmic@e { + compatible = "apple,vale-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + read-only; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8112-j415.dts b/arch/arm64/boot/dts/apple/t8112-j415.dts index 3deb986fcfe98..7deb680fa69df 100644 --- a/arch/arm64/boot/dts/apple/t8112-j415.dts +++ b/arch/arm64/boot/dts/apple/t8112-j415.dts @@ -21,6 +21,8 @@ aliases { bluetooth0 = &bluetooth0; keyboard = &keyboard; + rtc0 = &smc_rtc; + rtc1 = &pmu_rtc; sep = &sep; wifi0 = &wifi0; }; @@ -316,3 +318,6 @@ &pmp_report_isp_sys { status = "okay"; }; + + +#include "t8112-j415-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8112-j473-peripherals.dtsi b/arch/arm64/boot/dts/apple/t8112-j473-peripherals.dtsi new file mode 100644 index 0000000000000..9e7941dd584e0 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8112-j473-peripherals.dtsi @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T8112 hardware resources. Keep unqualified blocks disabled. */ + +&aop_spmi0 { + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + peripheral@e { + compatible = "apple,t8112-spmi-peripheral", + "apple,spmi-peripheral"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; +}; + +&aop_spmi1 { + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + nfc@8 { + compatible = "apple,t8112-spmi-nfc", + "apple,spmi-nfc"; + reg = <0x8 SPMI_USID>; + interrupt-parent = <&aop_spmi1>; + interrupts = <176 IRQ_TYPE_LEVEL_HIGH>, + <177 IRQ_TYPE_LEVEL_HIGH>, + <178 IRQ_TYPE_LEVEL_HIGH>, + <179 IRQ_TYPE_LEVEL_HIGH>, + <180 IRQ_TYPE_LEVEL_HIGH>, + <181 IRQ_TYPE_LEVEL_HIGH>, + <182 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; +}; + +&nub_spmi1 { + pmic@e { + compatible = "apple,vale-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + read-only; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8112-j473.dts b/arch/arm64/boot/dts/apple/t8112-j473.dts index 3eb6ef49d5cc5..84ecd65613567 100644 --- a/arch/arm64/boot/dts/apple/t8112-j473.dts +++ b/arch/arm64/boot/dts/apple/t8112-j473.dts @@ -22,6 +22,8 @@ aliases { bluetooth0 = &bluetooth0; ethernet0 = ðernet0; + rtc0 = &smc_rtc; + rtc1 = &pmu_rtc; wifi0 = &wifi0; }; }; @@ -275,3 +277,6 @@ }; #include "hwmon-mini.dtsi" + + +#include "t8112-j473-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8112-j493-peripherals.dtsi b/arch/arm64/boot/dts/apple/t8112-j493-peripherals.dtsi new file mode 100644 index 0000000000000..b7e06632fdf79 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8112-j493-peripherals.dtsi @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T8112 hardware resources. Keep unqualified blocks disabled. */ + +&aop_spmi1 { + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + + nfc@c { + compatible = "apple,t8112-spmi-nfc", + "apple,spmi-nfc"; + reg = <0xc SPMI_USID>; + interrupt-parent = <&aop_spmi1>; + interrupts = <160 IRQ_TYPE_LEVEL_HIGH>, + <161 IRQ_TYPE_LEVEL_HIGH>, + <162 IRQ_TYPE_LEVEL_HIGH>, + <163 IRQ_TYPE_LEVEL_HIGH>, + <164 IRQ_TYPE_LEVEL_HIGH>, + <165 IRQ_TYPE_LEVEL_HIGH>, + <166 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; +}; + +&nub_spmi1 { + pmic@e { + compatible = "apple,vale-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + read-only; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8112-j493.dts b/arch/arm64/boot/dts/apple/t8112-j493.dts index c8009d3e7024c..536010e4a3636 100644 --- a/arch/arm64/boot/dts/apple/t8112-j493.dts +++ b/arch/arm64/boot/dts/apple/t8112-j493.dts @@ -25,6 +25,8 @@ aliases { bluetooth0 = &bluetooth0; keyboard = &keyboard; + rtc0 = &smc_rtc; + rtc1 = &pmu_rtc; sep = &sep; touchbar0 = &touchbar0; wifi0 = &wifi0; @@ -340,3 +342,6 @@ &pmp_report_isp_sys { status = "okay"; }; + + +#include "t8112-j493-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8112-peripherals.dtsi b/arch/arm64/boot/dts/apple/t8112-peripherals.dtsi new file mode 100644 index 0000000000000..1869b990d571f --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8112-peripherals.dtsi @@ -0,0 +1,466 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T8112 hardware resources. Keep unqualified blocks disabled. */ + +&{/soc} { + m2_error_handler: error-handler@200100000 { + compatible = "apple,t8112-error-handler", "apple,soc-error-handler"; + reg = <0x2 0x100000 0x0 0x100000>, + <0x2 0x0 0x0 0x1000>, + <0x2 0x1c000 0x0 0xc000>, + <0x2 0x4000 0x0 0x18000>, + <0x2 0x40000 0x0 0x1000>, + <0x2 0x5c000 0x0 0xc000>, + <0x2 0x44000 0x0 0x18000>, + <0x2 0x80000 0x0 0x1000>, + <0x2 0x9c000 0x0 0xc000>, + <0x2 0x84000 0x0 0x18000>, + <0x2 0xc0000 0x0 0x1000>, + <0x2 0xdc000 0x0 0xc000>, + <0x2 0xc4000 0x0 0x18000>, + <0x2 0x5d440000 0x0 0x40000>, + <0x2 0x5d400000 0x0 0x40000>, + <0x2 0x3b000000 0x0 0x70000>, + <0x2 0x3b728000 0x0 0x4000>, + <0x2 0x1000000 0x0 0x2000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + m2_mcc: memory-controller@200100000 { + compatible = "apple,t8112-mcc", "apple,mcc"; + reg = <0x2 0x100000 0x0 0x80000>, + <0x2 0x0 0x0 0x100000>, + <0x2 0x1000000 0x0 0x2000000>, + <0x2 0xf00000 0x0 0x100000>, + <0x2 0x3b3c0000 0x0 0x20000>; + status = "disabled"; + }; + + m2_aft: fabric-tracker@200110000 { + compatible = "apple,t8112-aft", "apple,aft"; + reg = <0x2 0x110000 0x0 0x10000>; + status = "disabled"; + }; + + m2_aes: aes@23500c000 { + compatible = "apple,t8112-aes", "apple,aes"; + reg = <0x2 0x3500c000 0x0 0x4000>, + <0x2 0x3d2dc000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&sio_dart 1>; + power-domains = <&ps_aes>; + status = "disabled"; + }; + + m2_pwm: pwm@235040000 { + compatible = "apple,t8112-pwm", "apple,pwm"; + reg = <0x2 0x35040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_fpwm0>; + status = "disabled"; + }; + + m2_aic_timebase: timer@23b0dc000 { + compatible = "apple,t8112-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x3b0dc000 0x0 0x1000>; + status = "disabled"; + }; + + m2_dwi: dwi@23b200000 { + compatible = "apple,t8112-dwi", "apple,dwi"; + reg = <0x2 0x3b200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + m2_event_log_handler: event-log@23b700000 { + compatible = "apple,t8112-event-log", "apple,soc-event-log"; + reg = <0x2 0x3b700000 0x0 0xcc000>, + <0x2 0x3d280000 0x0 0x7c000>, + <0x2 0x3b000000 0x0 0x70000>, + <0x2 0x3d200000 0x0 0x7c000>, + <0x2 0x3b290000 0x0 0x4000>, + <0x2 0x3b294000 0x0 0x4000>, + <0x2 0x3b298000 0x0 0x4000>, + <0x2 0x3b29c000 0x0 0x4000>, + <0x2 0x3b2a0000 0x0 0x4000>, + <0x2 0x3b2a4000 0x0 0x4000>, + <0x2 0x3b28c000 0x0 0x4000>, + <0x2 0x3b280000 0x0 0x8000>, + <0x2 0x6b868000 0x0 0x4000>, + <0x2 0x6b838000 0x0 0x8000>, + <0x2 0x3b340000 0x0 0xc000>, + <0x2 0x3b350000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + m2_dockchannel_uart: serial@23d12c000 { + compatible = "apple,t8112-dockchannel-uart", "apple,dockchannel-uart"; + reg-names = "data", "config", "irq"; + reg = <0x2 0x3d12c000 0x0 0x4000>, + <0x2 0x3d128000 0x0 0x4000>, + <0x2 0x3d10c000 0x0 0x1000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + apple,sw-drain; + }; + + m2_nub_spmi0_sideband: spmi-sideband@23d704000 { + compatible = "apple,t8112-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x3d704000 0x0 0x4000>; + status = "disabled"; + }; + + m2_nub_spmi1_sideband: spmi-sideband@23d784000 { + compatible = "apple,t8112-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x3d784000 0x0 0x4000>; + status = "disabled"; + }; + + m2_aop_spmi0_sideband: spmi-sideband@24a884000 { + compatible = "apple,t8112-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x4a884000 0x0 0x4000>; + status = "disabled"; + }; + + m2_aop_spmi1_sideband: spmi-sideband@24a8c4000 { + compatible = "apple,t8112-spmi-sideband", "apple,spmi-sideband"; + reg = <0x2 0x4a8c4000 0x0 0x4000>; + status = "disabled"; + }; + + m2_scaler0: scaler@263000000 { + compatible = "apple,t8112-scaler", "apple,scaler"; + reg = <0x2 0x63000000 0x0 0x28000>, + <0x2 0x63210000 0x0 0x4000>, + <0x2 0x63204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + iommus = <&m2_dart_scaler 0>, <&m2_dart_scaler 1>; + power-domains = <&ps_msr>, <&ps_msr_ase_core>; + status = "disabled"; + }; + + m2_dart_scaler: iommu@263200000 { + compatible = "apple,t8112-dart", "apple,t8110-dart"; + reg = <0x2 0x63200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_jpeg0: jpeg@265000000 { + compatible = "apple,t8112-jpeg", "apple,jpeg"; + reg = <0x2 0x65000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_jpeg0 0>; + power-domains = <&ps_jpg>; + status = "disabled"; + }; + + m2_dart_jpeg0: iommu@265004000 { + compatible = "apple,t8112-dart", "apple,t8110-dart"; + reg = <0x2 0x65004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_jpeg1: jpeg@265008000 { + compatible = "apple,t8112-jpeg", "apple,jpeg"; + reg = <0x2 0x65008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&m2_dart_jpeg1 0>; + power-domains = <&ps_jpg>; + status = "disabled"; + }; + + m2_dart_jpeg1: iommu@26500c000 { + compatible = "apple,t8112-dart", "apple,t8110-dart"; + reg = <0x2 0x6500c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave_2: iommu@267020000 { + compatible = "apple,t8112-dart", "apple,t8110-dart"; + reg = <0x2 0x67020000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_ave_3: iommu@267044000 { + compatible = "apple,t8112-dart", "apple,t8110-dart"; + reg = <0x2 0x67044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_dispext0_1: iommu@271300000 { + compatible = "apple,t8112-dart", "apple,t8110-dart"; + reg = <0x2 0x71300000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_apr: video-codec@27d000000 { + compatible = "apple,t8112-prores", "apple,prores"; + reg-names = "core", "wrapper"; + reg = <0x2 0x7d000000 0x0 0x4000>, + <0x2 0x7c000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + iommus = <&m2_dart_apr_0 0>, <&m2_dart_apr_1 0>; + power-domains = <&ps_scodec>; + status = "disabled"; + }; + + m2_dart_apr_1: iommu@27d024000 { + compatible = "apple,t8112-dart", "apple,t8110-dart"; + reg = <0x2 0x7d024000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_apr_0: iommu@27d028000 { + compatible = "apple,t8112-dart", "apple,t8110-dart"; + reg = <0x2 0x7d028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_dart_scdc: iommu@27d02c000 { + compatible = "apple,t8112-dart", "apple,t8110-dart"; + reg = <0x2 0x7d02c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + m2_scdc: coprocessor@27e400000 { + compatible = "apple,t8112-scdc", "apple,scdc"; + reg = <0x2 0x7e400000 0x0 0x6c000>, + <0x2 0x7e050000 0x0 0x4000>, + <0x2 0x7c000000 0x0 0x1000000>, + <0x2 0x7d040000 0x0 0x1c000>, + <0x2 0x7d070000 0x0 0x4000>, + <0x2 0x7d074000 0x0 0x4000>, + <0x2 0x7d100000 0x0 0x3c000>, + <0x2 0x7d140000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + ; + iommus = <&m2_dart_scdc 0>, <&m2_dart_apr_0 0>, <&m2_dart_apr_1 0>; + power-domains = <&ps_scodec>; + status = "disabled"; + }; + + m2_atc0_dpin0: displayport-input@381e50000 { + compatible = "apple,t8112-dpin", "apple,dpin"; + reg = <0x3 0x81e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc0_dpin1: displayport-input@381e58000 { + compatible = "apple,t8112-dpin", "apple,dpin"; + reg = <0x3 0x81e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec0_piodma: dma-controller@3a2000000 { + compatible = "apple,t8112-pciec-piodma", "apple,pciec-piodma"; + reg = <0x3 0xa2000000 0x0 0x4000>, + <0x3 0xa2004000 0x0 0x4000>, + <0x3 0xa2008000 0x0 0x4000>, + <0x3 0xa0008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart 15>; + status = "disabled"; + }; + + m2_atc1_dpin0: displayport-input@501e50000 { + compatible = "apple,t8112-dpin", "apple,dpin"; + reg = <0x5 0x1e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_atc1_dpin1: displayport-input@501e58000 { + compatible = "apple,t8112-dpin", "apple,dpin"; + reg = <0x5 0x1e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + m2_apciec1_piodma: dma-controller@522000000 { + compatible = "apple,t8112-pciec-piodma", "apple,pciec-piodma"; + reg = <0x5 0x22000000 0x0 0x4000>, + <0x5 0x22004000 0x0 0x4000>, + <0x5 0x22008000 0x0 0x4000>, + <0x5 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart 15>; + status = "disabled"; + }; +}; + +/* CPU and cluster power states are described without granting control. */ +&pmgr { + power-controller@0 { + compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpu0"; + status = "disabled"; + }; + power-controller@8 { + compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpu1"; + status = "disabled"; + }; + power-controller@10 { + compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x10 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpu2"; + status = "disabled"; + }; + power-controller@18 { + compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x18 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpu3"; + status = "disabled"; + }; + power-controller@20 { + compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x20 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu0"; + status = "disabled"; + }; + power-controller@28 { + compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x28 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu1"; + status = "disabled"; + }; + power-controller@30 { + compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x30 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu2"; + status = "disabled"; + }; + power-controller@38 { + compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x38 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpu3"; + status = "disabled"; + }; + power-controller@40 { + compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x40 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ecpm"; + status = "disabled"; + }; + power-controller@48 { + compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; + reg = <0x48 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pcpm"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8112.dtsi b/arch/arm64/boot/dts/apple/t8112.dtsi index 23369ae0246a2..35bc48e39bb4e 100644 --- a/arch/arm64/boot/dts/apple/t8112.dtsi +++ b/arch/arm64/boot/dts/apple/t8112.dtsi @@ -505,9 +505,9 @@ /* Required to get >32-bit DMA via DARTs */ dma-ranges = <0 0 0 0 0xffffffff 0xffffc000>; - ave_dart0: iommu@67030000 { + ave_dart0: iommu@267030000 { compatible = "apple,t8112-dart", "apple,t8110-dart"; - reg = <0 0x67030000 0 0x4000>; + reg = <0x2 0x67030000 0 0x4000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_venc_sys>; @@ -515,9 +515,9 @@ status = "disabled"; }; - ave_dart1: iommu@67040000 { + ave_dart1: iommu@267040000 { compatible = "apple,t8112-dart", "apple,t8110-dart"; - reg = <0 0x67040000 0 0x4000>; + reg = <0x2 0x67040000 0 0x4000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_venc_sys>; @@ -525,11 +525,11 @@ status = "disabled"; }; - ave: video-codec@67100000 { + ave: video-codec@267100000 { compatible = "apple,t8112-ave"; - reg = <0 0x67100000 0 0x45c000>, - <0 0x67050000 0 0x8000>, - <0 0x67800000 0 0x800000>; + reg = <0x2 0x67100000 0 0x45c000>, + <0x2 0x67050000 0 0x8000>, + <0x2 0x67800000 0 0x800000>; reg-names = "codec", "mailbox", "coproc"; interrupt-parent = <&aic>; interrupts = , @@ -961,6 +961,18 @@ status = "disabled"; /* only used in J493 */ }; + spi4: spi@235110000 { + compatible = "apple,t8112-spi", "apple,t8103-spi"; + reg = <0x2 0x35110000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clkref>; + power-domains = <&ps_spi4>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + serial0: serial@235200000 { compatible = "apple,s5l-uart"; reg = <0x2 0x35200000 0x0 0x1000>; @@ -1035,7 +1047,6 @@ dmas = <&sio 0x64>; dma-names = "tx"; power-domains = <&ps_dpa0>; - reset-domains = <&ps_dpa0>; status = "disabled"; ports { @@ -1056,7 +1067,6 @@ dmas = <&sio 0x66>; dma-names = "tx"; power-domains = <&ps_dpa1>; - reset-domains = <&ps_dpa1>; status = "disabled"; ports { @@ -1432,11 +1442,24 @@ reg = <0x2 0x3d714000 0x0 0x100>; #address-cells = <2>; #size-cells = <0>; + #interrupt-cells = <2>; + interrupt-controller; + interrupt-parent = <&aic>; + interrupts = ; pmic1: pmic@e { compatible = "apple,stowe-pmic", "apple,spmi-nvmem"; reg = <0xe SPMI_USID>; + pmu_rtc: rtc { + compatible = "apple,t8112-pmu-rtc"; + interrupt-parent = <&nub_spmi>; + interrupts = <2 IRQ_TYPE_EDGE_RISING>; + nvmem-cells = <&rtc_offset>; + nvmem-cell-names = "rtc_offset"; + wakeup-source; + }; + nvmem-layout { compatible = "fixed-layout"; #address-cells = <1>; @@ -1484,6 +1507,14 @@ }; }; + nub_spmi1: spmi@23d794000 { + compatible = "apple,t8112-spmi", "apple,t8103-spmi"; + reg = <0x2 0x3d794000 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + smc: smc@23e400000 { compatible = "apple,t8112-smc", "apple,smc"; reg = <0x2 0x3e400000 0x0 0x4000>, @@ -1509,7 +1540,7 @@ compatible = "apple,smc-hwmon"; }; - rtc { + smc_rtc: rtc { compatible = "apple,smc-rtc"; nvmem-cells = <&rtc_offset>; nvmem-cell-names = "rtc_offset"; @@ -1602,6 +1633,22 @@ status = "disabled"; }; + aop_spmi0: spmi@24a894000 { + compatible = "apple,t8112-spmi", "apple,t8103-spmi"; + reg = <0x2 0x4a894000 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + aop_spmi1: spmi@24a8d4000 { + compatible = "apple,t8112-spmi", "apple,t8103-spmi"; + reg = <0x2 0x4a8d4000 0x0 0x100>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + aop_admac: dma-controller@24a980000 { compatible = "apple,t8112-admac", "apple,admac"; reg = <0x2 0x4a980000 0x0 0x34000>; @@ -1770,6 +1817,7 @@ <0x2 0x69100000 0x0 0x10000>; reg-names = "code", "sram", "mbox", "ctrl"; iommus = <&avd_dart 0>; + dma-coherent; }; avd_dart: iommu@269010000 { @@ -2601,3 +2649,5 @@ apple,peak-bandwidth-bytes-per-second = /bits/ 64 <102400000000>; apple,bandwidth-class-bytes-per-second = /bits/ 64 <100000000000>; }; + +#include "t8112-peripherals.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8122-coprocessors.dtsi b/arch/arm64/boot/dts/apple/t8122-coprocessors.dtsi new file mode 100644 index 0000000000000..690e81ef992b5 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8122-coprocessors.dtsi @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled coprocessor interfaces; firmware handoff remains a loader job. */ + +&soc { + sio_mbox: mailbox@2a1c08000 { + compatible = "apple,t8122-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0xa1c08000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_sio_cpu>; + status = "disabled"; + }; + + sio: dma-controller@2a1c00000 { + compatible = "apple,t8122-sio", "apple,sio"; + reg = <0x2 0xa1c00000 0 0x6c000>, + <0x2 0xa1850000 0 0x4000>; + mboxes = <&sio_mbox>; + #dma-cells = <1>; + dma-channels = <128>; + iommus = <&sio_dart 0>; + power-domains = <&ps_sio_cpu>; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t8122-dcp.dtsi b/arch/arm64/boot/dts/apple/t8122-dcp.dtsi index 73ed4420cce64..8d812eae377e8 100644 --- a/arch/arm64/boot/dts/apple/t8122-dcp.dtsi +++ b/arch/arm64/boot/dts/apple/t8122-dcp.dtsi @@ -1,30 +1,8 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * T8122 (M3 MacBook Air, J613/J615) internal display and the external display - * processor (dcpext, at the end of this file). - * - * Like T6030, the internal DCP, its mailbox, the two display DARTs and the - * display subsystem are all described here as status = "disabled". Kernels - * that cannot take the display over from iBoot keep scanning out through the - * simple framebuffer, and all of them share one device tree. The boot loader - * sets apple,t8122-handoff = <1> on the DCP and the display subsystem after - * it has checked and locked the inherited DART mappings. A kernel display - * gate that checks this handoff, and can start the PMP that the DCP firmware - * needs, then enables these nodes. A kernel without such a gate leaves them - * disabled. The 25G83 profile (t8122-j613-dcp-25g83.dtsi) has its own - * handoff, which the display driver checks before it enables these nodes. - * - * Register, interrupt and DART addresses are SoC addresses from the J613 - * boot device tree: the DCP block and its iop-vbar come from /arm-io/dcp, - * the six scan-out apertures from /arm-io/disp0, and the two DARTs from - * /arm-io/dart-dcp and /arm-io/dart-disp0 (one reg window each, as T6030 - * uses). The DCP mailbox interrupts are the four ascwrap IRQs in the - * send-empty, send-not-empty, recv-empty, recv-not-empty order the SMC - * mailbox in t8122.dtsi uses. The panel child is board-specific and is added - * by the board file. - * - * The display clock runs at 712 MHz, as iBoot set it up (ADT disp0 - * clock 345 on J613), the same rate as on T6030. + * T8122 (M3) internal display and external display processor, from the + * J613 ADT. Every node stays disabled until the display gate takes them + * over after the boot loader's handoff (apple,t8122-handoff). */ / { @@ -35,6 +13,7 @@ disp0_piodma = &disp0_piodma; }; + /* As iBoot sets it up (J613 ADT disp0 clock 345). */ clk_disp0: clock-disp0 { compatible = "fixed-clock"; #clock-cells = <0>; @@ -123,12 +102,7 @@ }; }; - - /* - * The PMGR bandwidth page (ADT disp0/dispext0 reg 5). The internal - * DCP lists it as its "disp-5" range; the external one finds it - * through apple,bw-scratch, as on T8112 and T602x. - */ + /* Bandwidth page: the DCP's disp-5, dcpext's apple,bw-scratch. */ pmgr_dcp: power-management@2d03d0000 { reg = <0x2 0xd03d0000 0x0 0x4000>; reg-names = "dcp-fw-pmgr"; @@ -136,18 +110,8 @@ }; /* - * The external display processor (ADT dispext0, dcpext, dart-dispext0 - * and dart-dcpext). Unlike the internal one it is not handed over by - * the boot loader: the boot loader only reserves its firmware and marks - * this node apple,t8122-dcpext-firmware-ready, leaving it disabled, and - * the driver starts it. The board adds the Type-C routes; the display - * gate enables the dcpext, its DARTs, its mailbox and the display - * crossbars of those routes together. - * - * The DMA windows are the ones the working asahi-based kernel uses per - * stream: dcpext stream 5 at 0x8_0000_0000 and PIODMA stream 4 from 0 - * (as on T8112). The display subsystem's stream 0 on dispext0_dart - * takes its window from disp0_dart, the first DART of that device. + * External display processor: the boot loader only reserves its + * firmware, the driver starts it. DMA windows as on T8112. */ dispext0_dart: iommu@319304000 { compatible = "apple,t8122-dart", "apple,t8110-dart"; @@ -187,13 +151,7 @@ status = "disabled"; }; - /* - * Six ranges as in the ADT dispext0 node: coproc and disp-0 to disp-4, - * including the second aperture at 0x318800000. The DCP's map_reg - * requests name them by index, so disp-5, the PMGR bandwidth page, is - * apple,bw-scratch index 5 (scratch offset 0x910; the internal DCP's is - * 0x908). - */ + /* The ADT dispext0 ranges; disp-5 is apple,bw-scratch index 5. */ dcpext: dcp@31ac00000 { compatible = "apple,t8122-dcpext", "apple,dcpext"; mboxes = <&dcpext_mbox>; diff --git a/arch/arm64/boot/dts/apple/t8122-gpu.dtsi b/arch/arm64/boot/dts/apple/t8122-gpu.dtsi index 7e3f1cc9c3d26..5c408fa2070b9 100644 --- a/arch/arm64/boot/dts/apple/t8122-gpu.dtsi +++ b/arch/arm64/boot/dts/apple/t8122-gpu.dtsi @@ -1,18 +1,9 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * Apple T8122 (M3 / G15G) GPU discovery description. - * - * The register ranges and interrupts come from the J613 iBoot ADT captured - * by the opt-in m1n1 diagnostic exporter. The GPU and mailbox remain disabled - * until m1n1 can reserve the firmware/UAT memory and validate its handoff. - * - * The rest of the GPU description is this machine's, so the boot loader - * fills it from its ADT when it hands the GPU over: the performance states - * and their power, the leakage coefficients, the power-management - * coefficients, the firmware version and the firmware and UAT memory. It - * enables the mailbox and then the GPU node last. drm/asahi refuses a T8122 - * GPU node with any of these missing. Nothing here has a T6030 value - * copied into it. + * Apple T8122 (M3 / G15G) GPU, from the J613 ADT. The boot loader fills in + * this machine's performance states, coefficients, firmware version and + * memory, enables the mailbox and then the GPU; drm/asahi refuses a node + * with any of them missing. */ / { @@ -23,11 +14,7 @@ gpu_opp: opp-table-gpu { compatible = "operating-points-v2"; - /* - * Placeholder only. The boot loader deletes these children and - * creates one OPP per performance state, with one opp-microvolt - * cell for the single GPU cluster. Until then every value is zero. - */ + /* Placeholder; the boot loader replaces it with the real states. */ opp00 { opp-hz = /bits/ 64 <0>; opp-microvolt = <0>; @@ -52,10 +39,7 @@ , ; power-domains = <&ps_gfx>; - /* - * Do not hold back the ps_gfx sync_state() on this device when it - * never probes, as on the T6030. - */ + /* Do not hold back ps_gfx sync_state() if the GPU never probes. */ post-init-providers = <&ps_gfx>; mboxes = <&agx_mbox>; memory-region = <&uat_ttbs>, <&uat_pagetables>, @@ -74,13 +58,9 @@ status = "disabled"; }; - /* ASC mailbox subwindow follows the T8122 ASC layout. The IRQ role - * mapping follows the other T8122 ASC mailboxes; it is not yet live-tested - * for GFX. Leave this provider disabled with the GPU. - * - * Like the T6030 one it carries no asc-mailbox-v4 fallback, so a kernel - * without M3 GPU support leaves it unbound even after the boot loader - * has enabled it. + /* + * IRQ roles as on the other T8122 mailboxes, untested for GFX. No + * asc-mailbox-v4 fallback, so it stays unbound without M3 GPU support. */ agx_mbox: mbox@292408000 { compatible = "apple,t8122-agx-asc-mailbox"; diff --git a/arch/arm64/boot/dts/apple/t8122-j433-j434.dtsi b/arch/arm64/boot/dts/apple/t8122-j433-j434.dtsi new file mode 100644 index 0000000000000..6236ed132dc19 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8122-j433-j434.dtsi @@ -0,0 +1,92 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iMac (24-inch, M3, 2023) + * + * This file contains the parts common to J433 and J434 devices with t8122. + * + * target-type: J433, J434 + * + * Copyright The Asahi Linux Contributors + */ + +#include "t8122-usbpd-i2c.dtsi" +#include "t8122-jxxx.dtsi" + +/ { + chassis-type = "all-in-one"; + + aliases { + ethernet0 = ðernet0; + }; +}; + +&port01 { + bus-range = <2 2>; + status = "okay"; + ethernet0: ethernet@0,0 { + reg = <0x20000 0x0 0x0 0x0 0x0>; + /* To be filled by the loader */ + local-mac-address = [00 10 18 00 00 00]; + }; +}; + +&pcie1_dart { + status = "okay"; +}; + +/* The mics and the ambient light sensor, as on the M1 iMacs; untested here. */ +&aop_mbox { + status = "okay"; +}; + +&aop_dart { + status = "okay"; +}; + +&aop_admac { + status = "okay"; +}; + +&aop { + status = "okay"; +}; + +&aop_audio { + apple,machine-kind = "iMac"; +}; + +&i2c1 { + jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + reset-gpios = <&pinctrl_nub 17 GPIO_ACTIVE_HIGH>; + interrupt-parent = <&pinctrl_ap>; + interrupts = <173 IRQ_TYPE_LEVEL_LOW>; + #sound-dai-cells = <0>; + cirrus,ts-inv = <1>; + sound-name-prefix = "Jack"; + }; +}; + +/ { + sound: sound { + dai-link@1 { + link-name = "Headphone Jack"; + + cpu { + sound-dai = <&mca 2>; + }; + codec { + sound-dai = <&jack_codec>; + }; + }; + }; +}; + +#include "isp-imx364.dtsi" + +&isp { + apple,platform-id = <10>; +}; + +#include "hwmon-fan-dual.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8122-j433.dts b/arch/arm64/boot/dts/apple/t8122-j433.dts index dacb98e8a5515..9c4be81fcc6bb 100644 --- a/arch/arm64/boot/dts/apple/t8122-j433.dts +++ b/arch/arm64/boot/dts/apple/t8122-j433.dts @@ -10,17 +10,11 @@ /dts-v1/; #include "t8122.dtsi" -#include "t8122-usbpd-i2c.dtsi" -#include "t8122-jxxx.dtsi" +#include "t8122-j433-j434.dtsi" / { compatible = "apple,j433", "apple,t8122", "apple,arm-platform"; model = "Apple iMac (24-inch, 2x USB-C, M3, 2023)"; - chassis-type = "all-in-one"; - - aliases { - ethernet0 = ðernet0; - }; }; &dcp { @@ -40,55 +34,11 @@ brcm,board-type = "apple,azores"; }; -&port01 { - bus-range = <2 2>; - status = "okay"; - ethernet0: ethernet@0,0 { - reg = <0x20000 0x0 0x0 0x0 0x0>; - /* To be filled by the loader */ - local-mac-address = [00 10 18 00 00 00]; - }; -}; - -&pcie1_dart { - status = "okay"; -}; - -&i2c1 { - jack_codec: codec@4b { - compatible = "cirrus,cs42l84"; - reg = <0x4b>; - reset-gpios = <&pinctrl_nub 17 GPIO_ACTIVE_HIGH>; - interrupt-parent = <&pinctrl_ap>; - interrupts = <173 IRQ_TYPE_LEVEL_LOW>; - #sound-dai-cells = <0>; - cirrus,ts-inv = <1>; - sound-name-prefix = "Jack"; - }; -}; - -/ { - sound { - compatible = "apple,j433-macaudio", "apple,macaudio"; - model = "iMac J433"; - - dai-link@1 { - link-name = "Headphone Jack"; - - cpu { - sound-dai = <&mca 2>; - }; - codec { - sound-dai = <&jack_codec>; - }; - }; - }; +&aop_audio { + apple,chassis-name = "J433"; }; -#include "isp-imx364.dtsi" - -&isp { - apple,platform-id = <10>; +&sound { + compatible = "apple,j433-macaudio", "apple,macaudio"; + model = "iMac J433"; }; - -#include "hwmon-fan-dual.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8122-j434.dts b/arch/arm64/boot/dts/apple/t8122-j434.dts index 8dd7c7bb80224..9b74e803a9026 100644 --- a/arch/arm64/boot/dts/apple/t8122-j434.dts +++ b/arch/arm64/boot/dts/apple/t8122-j434.dts @@ -10,17 +10,11 @@ /dts-v1/; #include "t8122.dtsi" -#include "t8122-usbpd-i2c.dtsi" -#include "t8122-jxxx.dtsi" +#include "t8122-j433-j434.dtsi" / { compatible = "apple,j434", "apple,t8122", "apple,arm-platform"; model = "Apple iMac (24-inch, 4x USB-C, M3, 2023)"; - chassis-type = "all-in-one"; - - aliases { - ethernet0 = ðernet0; - }; }; &dcp { @@ -40,65 +34,21 @@ brcm,board-type = "apple,iona"; }; -&port01 { - bus-range = <2 2>; - status = "okay"; - ethernet0: ethernet@0,0 { - reg = <0x20000 0x0 0x0 0x0 0x0>; - /* To be filled by the loader */ - local-mac-address = [00 10 18 00 00 00]; - }; -}; - &port02 { bus-range = <3 3>; pwren-gpios = <&smc_gpio 14 GPIO_ACTIVE_HIGH>; status = "okay"; }; -&pcie1_dart { - status = "okay"; -}; - &pcie2_dart { status = "okay"; }; -&i2c1 { - jack_codec: codec@4b { - compatible = "cirrus,cs42l84"; - reg = <0x4b>; - reset-gpios = <&pinctrl_nub 17 GPIO_ACTIVE_HIGH>; - interrupt-parent = <&pinctrl_ap>; - interrupts = <173 IRQ_TYPE_LEVEL_LOW>; - #sound-dai-cells = <0>; - cirrus,ts-inv = <1>; - sound-name-prefix = "Jack"; - }; +&aop_audio { + apple,chassis-name = "J434"; }; -/ { - sound { - compatible = "apple,j434-macaudio", "apple,macaudio"; - model = "iMac J434"; - - dai-link@1 { - link-name = "Headphone Jack"; - - cpu { - sound-dai = <&mca 2>; - }; - codec { - sound-dai = <&jack_codec>; - }; - }; - }; +&sound { + compatible = "apple,j434-macaudio", "apple,macaudio"; + model = "iMac J434"; }; - -#include "isp-imx364.dtsi" - -&isp { - apple,platform-id = <10>; -}; - -#include "hwmon-fan-dual.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8122-j504.dts b/arch/arm64/boot/dts/apple/t8122-j504.dts index 98992e024aac8..f8258ba3a2f54 100644 --- a/arch/arm64/boot/dts/apple/t8122-j504.dts +++ b/arch/arm64/boot/dts/apple/t8122-j504.dts @@ -19,6 +19,10 @@ model = "Apple MacBook Pro (14-inch, M3, 2023)"; chassis-type = "laptop"; + aliases { + keyboard = &keyboard; + }; + led-controller { compatible = "pwm-leds"; led-0 { @@ -272,3 +276,11 @@ #include "hwmon-fan-dual.dtsi" #include "hwmon-laptop.dtsi" + +&i2c3 { + display_pcon: display-converter@8 { + compatible = "apple,t8122-display-pcon", "apple,display-pcon"; + reg = <0x8>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8122-j613-25g83.dts b/arch/arm64/boot/dts/apple/t8122-j613-25g83.dts index 65dd855e4e537..024f3dbaf1c2b 100644 --- a/arch/arm64/boot/dts/apple/t8122-j613-25g83.dts +++ b/arch/arm64/boot/dts/apple/t8122-j613-25g83.dts @@ -2,25 +2,17 @@ /* J613 with the exact 25G83 firmware profile. */ #include "t8122-j613.dts" #include "t8122-j613-dcp-25g83.dtsi" -#include "t8122-j613-25g83-qspi.dtsi" +#include "t8122-j613-qspi.dtsi" /* - * Keep U-Boot from starting the MTP. U-Boot's helper binds only the generic - * "apple,rtk-helper-asc4" compatible: it boots the MTP for its keyboard - * (which cannot drive the J613's AFE power sequencing) and quiesces it at - * ExitBootServices. The 25G83 MTP firmware (AppleMTPFirmwareMac-5340.61.4) - * then data-aborts when Linux wakes it (PC 0x103743c, ESR 0x96000004), so the - * internal keyboard and trackpad never start. Started fresh, as m1n1 hands it - * over without U-Boot, the same firmware runs. Linux binds the SoC-specific - * compatible instead. + * Bind the MTP by its SoC compatible only: U-Boot's generic helper starts + * and quiesces it, after which the 25G83 MTP firmware data-aborts. */ &mtp { compatible = "apple,t8122-mtp", "apple,t8122-rtk-helper-asc4", "apple,mtp"; }; /* The 25G83 MTP_SYS uses GPIO-mediated AFE power sequencing. */ -&mtp_hid { - multi-touch { - apple,power-method = <2>; - }; +&mtp_mt { + apple,power-method = <2>; }; diff --git a/arch/arm64/boot/dts/apple/t8122-j613-dcp-25g83.dtsi b/arch/arm64/boot/dts/apple/t8122-j613-dcp-25g83.dtsi index e292dda82f022..c49d6c2b55f34 100644 --- a/arch/arm64/boot/dts/apple/t8122-j613-dcp-25g83.dtsi +++ b/arch/arm64/boot/dts/apple/t8122-j613-dcp-25g83.dtsi @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT -/* J613 25G83: inherit the hardware wiring, select a separate firmware ABI. - * No board tunables or DMA mappings are embedded. The boot loader passes - * this Mac's PMP values and validates the running display's mappings. +/* + * J613 25G83: the same wiring with the 26.6 firmware ABI. The boot loader + * passes this Mac's PMP values and validates the running display's mappings. */ / { aliases { @@ -59,27 +59,16 @@ status = "disabled"; }; -/* The 25G83 GPU uses the native ASC mailbox and the same PMP supplier. - * Firmware mappings and calibration are supplied by the boot loader. - */ +/* Native ASC mailbox; the boot loader supplies firmware and calibration. */ &agx_mbox { compatible = "apple,t8122-agx-asc-mailbox", "apple,asc-mailbox-v4"; status = "disabled"; }; /* - * G16G admission (g16_resources.rs) requires exactly six memory regions named - * ttbs, pagetables, handoff, shared-l2, fw-text and fw-data, in that order. - * The boot loader's 25G83 handoff replaces entries with those names and keeps - * any other entry ahead of them, so the generic "pagetables-l2" entry would - * leave seven regions and admission would fail with -EINVAL. List only the - * entries the boot loader replaces; it reserves uat-pagetables-l2 itself and - * links it as shared-l2. - * - * The ASC window is the 16 KiB ASC page that G16G maps exclusively. The - * generic 0x6c000 window also covers the GFX mailbox at +0x8000, which the - * mailbox driver has already claimed, so the exclusive mapping would fail - * with -EBUSY. + * G16G takes exactly six memory regions: list the three the boot loader + * replaces (it adds the others), and only the 16 KiB ASC page, as the + * mailbox owns +0x8000. */ &gpu { reg = <0x2 0x92400000 0x0 0x4000>, diff --git a/arch/arm64/boot/dts/apple/t8122-j613-j615.dtsi b/arch/arm64/boot/dts/apple/t8122-j613-j615.dtsi new file mode 100644 index 0000000000000..dbb9da8d4e36b --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8122-j613-j615.dtsi @@ -0,0 +1,200 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple MacBook Air (13-inch and 15-inch, M3, 2024) + * + * This file contains the parts common to J613 and J615 devices with t8122. + * + * target-type: J613, J615 + * + * Copyright The Asahi Linux Contributors + */ + +#include "t8122-usbpd-spmi.dtsi" +#include "t8122-jxxx.dtsi" +#include + +/ { + chassis-type = "laptop"; + + aliases { + dcpext = &dcpext; + keyboard = &keyboard; + sep = &sep; + }; + + led-controller { + compatible = "pwm-leds"; + led-0 { + pwms = <&fpwm1 0 40000>; + label = "kbd_backlight"; + function = LED_FUNCTION_KBD_BACKLIGHT; + color = ; + max-brightness = <255>; + default-state = "keep"; + }; + }; +}; + +&aop_mbox { + status = "okay"; +}; + +&aop_dart { + status = "okay"; +}; + +&aop_admac { + status = "okay"; +}; + +&aop { + status = "okay"; +}; + +&aop_audio { + apple,machine-kind = "MacBook Air"; +}; + +&i2c3 { + jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + reset-gpios = <&pinctrl_nub 17 GPIO_ACTIVE_HIGH>; + #sound-dai-cells = <0>; + interrupts-extended = <&pinctrl_ap 173 IRQ_TYPE_LEVEL_LOW>; + sound-name-prefix = "Jack"; + }; +}; + +&fpwm1 { + status = "okay"; +}; + +&mtp { + status = "okay"; +}; + +&mtp_mbox { + status = "okay"; +}; + +&mtp_dart { + status = "okay"; +}; + +&mtp_dockchannel { + status = "okay"; +}; + +&mtp_hid { + apple,afe-reset-gpios = <&smc_gpio 8 GPIO_ACTIVE_LOW>; + apple,stm-reset-gpios = <&smc_gpio 24 GPIO_ACTIVE_LOW>; + + mtp_mt: multi-touch { + }; + + keyboard: keyboard { + hid-country-code = <0>; + apple,keyboard-layout-id = <0>; + }; + + stm { + }; + + actuator { + }; + + tp_accel { + }; +}; + +#include "isp-imx558-cfg0.dtsi" + +&isp { + apple,platform-id = <18>; + apple,temporal-filter = <1>; +}; + +/* Touch ID; its data-ready line (AP GPIO 199) is left out, so it polls. */ +&spi2 { + status = "okay"; +}; + +&mesa { + status = "okay"; + enable-gpios = <&pinctrl_nub 29 GPIO_ACTIVE_HIGH>; + spi-cs-setup-delay-ns = <20>; + spi-cs-hold-delay-ns = <20>; +}; + +#include "hwmon-laptop.dtsi" + +/* + * One external display on either USB-C port: dcpext is crossbar state 2 of + * each ATC and its DPTX target is the ATC index. The display gate enables it + * and the routes once the boot loader has readied its firmware. + */ +&dcpext { + apple,connector-type = "USB-C"; + phys = <&atcphy0 PHY_TYPE_DP>, <&atcphy1 PHY_TYPE_DP>; + phy-names = "typec0", "typec1"; + mux-controls = <&atcphy0_xbar 0>, <&atcphy1_xbar 0>; + mux-control-names = "typec0", "typec1"; + apple,typec-mux-indices = <2 2>; + apple,typec-dptx-phys = <0 1>; + /* RTKit quirks of AsahiLinux/linux#607 (syslog/ioreport acks, kdebug). */ + apple,sync-syslog-ack; + + typec-routes { + #address-cells = <1>; + #size-cells = <0>; + + route@0 { + reg = <0>; + mode-switch; + status = "disabled"; + + port { + dcpext_typec0: endpoint { + remote-endpoint = <&typec0_dcpext>; + }; + }; + }; + + route@1 { + reg = <1>; + mode-switch; + status = "disabled"; + + port { + dcpext_typec1: endpoint { + remote-endpoint = <&typec1_dcpext>; + }; + }; + }; + }; +}; + +&typec0 { + ports { + port@3 { + reg = <3>; + + typec0_dcpext: endpoint { + remote-endpoint = <&dcpext_typec0>; + }; + }; + }; +}; + +&typec1 { + ports { + port@3 { + reg = <3>; + + typec1_dcpext: endpoint { + remote-endpoint = <&dcpext_typec1>; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8122-j613-25g83-qspi.dtsi b/arch/arm64/boot/dts/apple/t8122-j613-qspi.dtsi similarity index 60% rename from arch/arm64/boot/dts/apple/t8122-j613-25g83-qspi.dtsi rename to arch/arm64/boot/dts/apple/t8122-j613-qspi.dtsi index e37fde644ad03..2825f5d7a4802 100644 --- a/arch/arm64/boot/dts/apple/t8122-j613-25g83-qspi.dtsi +++ b/arch/arm64/boot/dts/apple/t8122-j613-qspi.dtsi @@ -1,15 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * J613 25G83 (macOS 26.6.2 firmware): the boot NOR and its NVRAM sit - * behind the QSPIMC controller, not SPI1. - * - * ADT /arm-io/qspi: P=0x2a1118000, C=P+0x800, IRQ 771, gate 73; - * /arm-io/qspi/spinor/anvram: 0x700000, 1 MiB. - * - * spi-apple-qspi defaults read-only. Bounded NVRAM writes need an explicit - * runtime opt-in. Leave the MTD device openable O_RDWR: asahi-bless opens - * it that way for --get-boot without writing. - */ +/* J613/J615 QSPIMC boot NOR and NVRAM layout. */ / { aliases { @@ -18,6 +8,7 @@ soc { qspi: spi@2a1118000 { + status = "okay"; compatible = "apple,t8122-qspi"; reg = <0x2 0xa1118000 0x0 0x4800>; interrupt-parent = <&aic>; @@ -48,7 +39,7 @@ }; }; -/* The M1/M2 SPI1 NVRAM from t8122-jxxx.dtsi is not used on 25G83. */ +/* This board variant uses QSPIMC instead of SPI1 for NVRAM. */ &spi1 { status = "disabled"; }; diff --git a/arch/arm64/boot/dts/apple/t8122-j613.dts b/arch/arm64/boot/dts/apple/t8122-j613.dts index dab87a037b4f6..1c503729a3101 100644 --- a/arch/arm64/boot/dts/apple/t8122-j613.dts +++ b/arch/arm64/boot/dts/apple/t8122-j613.dts @@ -10,50 +10,17 @@ /dts-v1/; #include "t8122.dtsi" -#include "t8122-usbpd-spmi.dtsi" -#include "t8122-jxxx.dtsi" -#include +#include "t8122-j613-j615.dtsi" #include / { compatible = "apple,j613", "apple,t8122", "apple,arm-platform"; model = "Apple MacBook Air (13-inch, M3, 2024)"; - chassis-type = "laptop"; - - aliases { - sep = &sep; - }; - - led-controller { - compatible = "pwm-leds"; - led-0 { - pwms = <&fpwm1 0 40000>; - label = "kbd_backlight"; - function = LED_FUNCTION_KBD_BACKLIGHT; - color = ; - max-brightness = <255>; - default-state = "keep"; - }; - }; /* - * The J613 is fanless: the CPUs are the only cooling devices. As on - * the J700, every die sensor gets a zone that throttles both clusters, - * since they share one die and one heat spreader, and the power - * allocator splits the budget by the energy models, with the E cluster - * weighted three to one. The E maps stop at cooling state 3 (2004 MHz): - * the E cluster adds at most about 2 W, and the governor would - * otherwise send an idle E cluster to its lowest state. - * - * The trips are the J700's: switch-on 58 C (idle is 43-52 C), control - * 95 C, critical 110 C. sustainable-power comes from load tests with the - * gains derived from it: with the four P cores busy, the J700's 1.5 W - * held the hottest sensor at 72 C and the P cores at 2.1 GHz; 6 W held - * 90-95 C at 2.6-3.0 GHz (one 96.5 C peak); 7.5 W swung between 2.2 and - * 3.6 GHz with peaks of 98 C. With 6 W, all eight cores busy settled at - * 92 C with the P cores at 2.2-2.4 GHz and the E cores at full clock; - * the P cores with the GPU busy at 618 MHz peaked at 97 C (the GPU is - * not a cooling device here). + * Fanless: every die sensor throttles both clusters, E weighted 3:1 + * and capped at state 3. Trips as on the J700; sustainable-power from + * J613 load tests. */ thermal-zones { cpu-e0-thermal { @@ -355,29 +322,14 @@ &dcp { panel: panel { compatible = "apple,panel-j613", "apple,panel"; - /* - * 2560x1664 at 224 ppi; 181 mm high without the 64 notch rows, - * as on the J413. - */ + /* 2560x1664 at 224 ppi; 64 notch rows above the desktop. */ width-mm = <290>; height-mm = <189>; adj-height-mm = <181>; - /* The backlight's maximum: 525 nits. */ apple,max-brightness = <525>; }; }; -/* - * The boot framebuffer is the same panel: with its physical size simpledrm - * reports 224 dpi instead of assuming 96, so early users (Plymouth, fbcon) - * pick the same HiDPI scale as the display driver does later. As on the - * J413 and J313. - */ -&framebuffer0 { - panel = <&panel>; - post-init-providers = <&panel>; -}; - &wifi0 { brcm,board-type = "apple,dnieper"; }; @@ -386,25 +338,8 @@ brcm,board-type = "apple,dnieper"; }; -&aop_mbox { - status = "okay"; -}; - -&aop_dart { - status = "okay"; -}; - -&aop_admac { - status = "okay"; -}; - -&aop { - status = "okay"; -}; - &aop_audio { apple,chassis-name = "J613"; - apple,machine-kind = "MacBook Air"; }; &i2c1 { @@ -453,15 +388,6 @@ ti,imon-slot-no = <12>; ti,vmon-slot-no = <14>; }; - - jack_codec: codec@4b { - compatible = "cirrus,cs42l84"; - reg = <0x4b>; - reset-gpios = <&pinctrl_nub 17 GPIO_ACTIVE_HIGH>; - #sound-dai-cells = <0>; - interrupts-extended = <&pinctrl_ap 173 IRQ_TYPE_LEVEL_LOW>; - sound-name-prefix = "Jack"; - }; }; / { @@ -498,181 +424,11 @@ }; }; -&fpwm1 { - status = "okay"; -}; - -&mtp { - status = "okay"; -}; - -&mtp_mbox { - status = "okay"; -}; - -&mtp_dart { - status = "okay"; -}; - -&mtp_dockchannel { - status = "okay"; -}; - -&mtp_hid { - apple,afe-reset-gpios = <&smc_gpio 8 GPIO_ACTIVE_LOW>; - apple,stm-reset-gpios = <&smc_gpio 24 GPIO_ACTIVE_LOW>; - - multi-touch { - firmware-name = "apple/tpmtfw-j613.bin"; - }; - - keyboard: keyboard { - hid-country-code = <0>; - apple,keyboard-layout-id = <0>; - }; - - stm { - }; - - actuator { - }; - - tp_accel { - }; -}; - -#include "isp-imx558-cfg0.dtsi" - -&isp { - apple,platform-id = <18>; - apple,temporal-filter = <1>; -}; - -/* - * Mesa fingerprint sensor on spi2 (J613 ADT /arm-io/spi2/mesa): power on - * NUB GPIO 29, active high. The data-ready line (AP GPIO 199) is left out, - * so the driver polls until its trigger is confirmed. Native chip select only. - */ -&spi2 { - status = "okay"; +&mtp_mt { + firmware-name = "apple/tpmtfw-j613.bin"; }; &mesa { - status = "okay"; - enable-gpios = <&pinctrl_nub 29 GPIO_ACTIVE_HIGH>; - spi-cs-setup-delay-ns = <20>; - spi-cs-hold-delay-ns = <20>; /* Per-device factory data from this Mac's own iBoot system container. */ firmware-name = "apple/mesacal-j613.bin"; }; - -#include "hwmon-laptop.dtsi" - -/* - * External display on both USB-C ports: left-back (typec0, ATC0) and - * left-front (typec1, ATC1). In the J613 ADT dcpext is display-crossbar - * ufp1, port 0, which is crossbar state 2 (dispext1,0) in the T602x model, - * on either ATC's crossbar. The DPTX target is the ADT's DFP index of the - * ATC (atc0 = 0, atc1 = 1), as in the M1/M2 dcpext routes. dcpext has one - * DPTX link, so one external display at a time: the display fabric gives - * the pipeline to the first port that asks, and the other port keeps USB. - * - * dcpext, its routes, its DARTs, its mailbox and both crossbars stay - * disabled here, like the internal DCP. The boot loader finds dcpext - * through the "dcpext" alias, reserves its firmware and marks it - * apple,t8122-dcpext-firmware-ready; the kernel's display gate then enables - * all of them after the internal display was handed over, and keeps the - * common power state of both ATCs on (apple,always-on), as for DP alt mode - * on the M1/M2 laptops. The routes stay disabled until then, as on T6030: - * an available route with no registered mode switch would make the Type-C - * port wait for one forever. A kernel or boot loader without dcpext - * support therefore sees nothing new. - * - * The display subsystem's iommus are left alone: the display gate accepts - * exactly one entry there (disp0_dart stream 0) before it enables the - * internal display, and adds <&dispext0_dart 0> itself when it enables - * dcpext, as it does for the T6030 external processors. - */ -/ { - aliases { - dcpext = &dcpext; - }; -}; - -&dcpext { - apple,connector-type = "USB-C"; - phys = <&atcphy0 PHY_TYPE_DP>, <&atcphy1 PHY_TYPE_DP>; - phy-names = "typec0", "typec1"; - mux-controls = <&atcphy0_xbar 0>, <&atcphy1_xbar 0>; - mux-control-names = "typec0", "typec1"; - apple,typec-mux-indices = <2 2>; - apple,typec-dptx-phys = <0 1>; - /* RTKit quirks of AsahiLinux/linux#607 (syslog/ioreport acks, kdebug). */ - apple,sync-syslog-ack; - - typec-routes { - #address-cells = <1>; - #size-cells = <0>; - - route@0 { - reg = <0>; - mode-switch; - status = "disabled"; - - port { - dcpext_typec0: endpoint { - remote-endpoint = <&typec0_dcpext>; - }; - }; - }; - - route@1 { - reg = <1>; - mode-switch; - status = "disabled"; - - port { - dcpext_typec1: endpoint { - remote-endpoint = <&typec1_dcpext>; - }; - }; - }; - }; -}; - -&typec0 { - ports { - port@3 { - reg = <3>; - - typec0_dcpext: endpoint { - remote-endpoint = <&dcpext_typec0>; - }; - }; - }; -}; - -&typec1 { - ports { - port@3 { - reg = <3>; - - typec1_dcpext: endpoint { - remote-endpoint = <&dcpext_typec1>; - }; - }; - }; -}; - -/* - * The base M3 has no Tf keys. With only the GPU busy, the six Tg keys below - * rose by about 50 C, the most of any key, and each has a twin about 4.5 C - * lower; they read 0 C or slightly below while the GPU is powered off. The - * others are the CPU die keys of the thermal zones above (the E-cluster - * groups and one per P core), so the zone also follows a hot CPU. - */ -&smc_hwmon { - apple,soc-die-keys = "Tg0D", "Tg0P", "Tg0X", "Tg0b", "Tg0j", "Tg0v", - "Te05", "Te0P", "Tp05", "Tp0L", "Tp0b", "Tp0r"; - apple,thermal-pressure-key = "mTPL"; -}; diff --git a/arch/arm64/boot/dts/apple/t8122-j615-25g83.dts b/arch/arm64/boot/dts/apple/t8122-j615-25g83.dts index 8f3572aa0e86f..7aef84a8e3494 100644 --- a/arch/arm64/boot/dts/apple/t8122-j615-25g83.dts +++ b/arch/arm64/boot/dts/apple/t8122-j615-25g83.dts @@ -1,31 +1,20 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * Experimental J615 board with the exact 25G83 DCP and PMP profile. - * Board-specific speakers, Wi-Fi, power limits, storage and trackpad remain - * in t8122-j615.dts. m1n1 hands the J615 display over only with - * chosen.asahi,j615-25g83-experimental=1, and Linux checks it again. + * Experimental J615 with the J613 25G83 DCP and PMP profile. m1n1 hands the + * display over only with chosen.asahi,j615-25g83-experimental=1. */ #include "t8122-j615.dts" #include "t8122-j613-dcp-25g83.dtsi" -#include "t8122-j613-25g83-qspi.dtsi" +#include "t8122-j613-qspi.dtsi" -/* - * As on the J613 25G83 tree: keep U-Boot from starting the MTP. U-Boot's - * helper binds only the generic "apple,rtk-helper-asc4" compatible, boots the - * MTP for its keyboard and quiesces it at ExitBootServices; the 25G83 MTP - * firmware the J613 runs then data-aborts when Linux wakes it. Linux binds - * the SoC-specific compatible instead. - */ +/* As on the J613 25G83. */ &mtp { compatible = "apple,t8122-mtp", "apple,t8122-rtk-helper-asc4", "apple,mtp"; }; -/* As on the J613: the 25G83 MTP_SYS uses GPIO-mediated AFE power sequencing - * (the J615 ADT's afe-reset function is the J613's, gP08). */ -&mtp_hid { - multi-touch { - apple,power-method = <2>; - }; +/* GPIO-mediated AFE power sequencing, as on the J613 (J615 ADT gP08). */ +&mtp_mt { + apple,power-method = <2>; }; /* Keep the J615 NVRAM partition read-only. */ diff --git a/arch/arm64/boot/dts/apple/t8122-j615.dts b/arch/arm64/boot/dts/apple/t8122-j615.dts index 34b6db85b4410..8c3add040f8d9 100644 --- a/arch/arm64/boot/dts/apple/t8122-j615.dts +++ b/arch/arm64/boot/dts/apple/t8122-j615.dts @@ -10,30 +10,11 @@ /dts-v1/; #include "t8122.dtsi" -#include "t8122-usbpd-spmi.dtsi" -#include "t8122-jxxx.dtsi" -#include +#include "t8122-j613-j615.dtsi" / { compatible = "apple,j615", "apple,t8122", "apple,arm-platform"; model = "Apple MacBook Air (15-inch, M3, 2024)"; - chassis-type = "laptop"; - - aliases { - sep = &sep; - }; - - led-controller { - compatible = "pwm-leds"; - led-0 { - pwms = <&fpwm1 0 40000>; - label = "kbd_backlight"; - function = LED_FUNCTION_KBD_BACKLIGHT; - color = ; - max-brightness = <255>; - default-state = "keep"; - }; - }; }; &dcp { @@ -47,32 +28,6 @@ }; }; -&framebuffer0 { - panel = <&panel>; - post-init-providers = <&panel>; -}; - -&aop_mbox { - status = "okay"; -}; - -&aop_dart { - status = "okay"; -}; - -&aop_admac { - status = "okay"; -}; - -&aop { - status = "okay"; -}; - -&aop_audio { - apple,chassis-name = "J615"; - apple,machine-kind = "MacBook Air"; -}; - &wifi0 { brcm,board-type = "apple,tuzla"; }; @@ -81,6 +36,10 @@ brcm,board-type = "apple,tuzla"; }; +&aop_audio { + apple,chassis-name = "J615"; +}; + &i2c1 { speaker_left_woof1: codec@38 { compatible = "ti,sn012776", "ti,tas2764"; @@ -149,15 +108,6 @@ ti,imon-slot-no = <20>; ti,vmon-slot-no = <22>; }; - - jack_codec: codec@4b { - compatible = "cirrus,cs42l84"; - reg = <0x4b>; - reset-gpios = <&pinctrl_nub 17 GPIO_ACTIVE_HIGH>; - #sound-dai-cells = <0>; - interrupts-extended = <&pinctrl_ap 173 IRQ_TYPE_LEVEL_LOW>; - sound-name-prefix = "Jack"; - }; }; / { @@ -194,72 +144,11 @@ }; }; -&fpwm1 { - status = "okay"; -}; - -&mtp { - status = "okay"; -}; - -&mtp_mbox { - status = "okay"; -}; - -&mtp_dart { - status = "okay"; -}; - -&mtp_dockchannel { - status = "okay"; -}; - -&mtp_hid { - apple,afe-reset-gpios = <&smc_gpio 8 GPIO_ACTIVE_LOW>; - apple,stm-reset-gpios = <&smc_gpio 24 GPIO_ACTIVE_LOW>; - - multi-touch { - firmware-name = "apple/tpmtfw-j615.bin"; - }; - - keyboard: keyboard { - hid-country-code = <0>; - apple,keyboard-layout-id = <0>; - }; - - stm { - }; - - actuator { - }; - - tp_accel { - }; -}; - -#include "isp-imx558-cfg0.dtsi" - -&isp { - apple,platform-id = <18>; - apple,temporal-filter = <1>; -}; - -/* - * Mesa fingerprint sensor on spi2 (J615 ADT /arm-io/spi2/mesa): power on - * NUB GPIO 29, active high. The data-ready line (AP GPIO 199) is left out, - * so the driver polls until its trigger is confirmed. Native chip select only. - */ -&spi2 { - status = "okay"; +&mtp_mt { + firmware-name = "apple/tpmtfw-j615.bin"; }; &mesa { - status = "okay"; - enable-gpios = <&pinctrl_nub 29 GPIO_ACTIVE_HIGH>; - spi-cs-setup-delay-ns = <20>; - spi-cs-hold-delay-ns = <20>; /* Per-device factory data from this Mac's own iBoot system container. */ firmware-name = "apple/mesacal-j615.bin"; }; - -#include "hwmon-laptop.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8122-jxxx.dtsi b/arch/arm64/boot/dts/apple/t8122-jxxx.dtsi index c96ec50bbe82c..b6cd4ee1c4087 100644 --- a/arch/arm64/boot/dts/apple/t8122-jxxx.dtsi +++ b/arch/arm64/boot/dts/apple/t8122-jxxx.dtsi @@ -51,7 +51,7 @@ #size-cells = <2>; ranges; - /* Filled from the live ADT by opt-in m1n1 diagnostics. */ + /* GPU memory, filled and enabled by the boot loader. */ uat_handoff: uat-handoff { reg = <0 0 0 0>; status = "disabled"; @@ -71,7 +71,6 @@ reg = <0 0 0 0>; status = "disabled"; }; - /* To be filled by loader */ }; memory@800000000 { @@ -257,3 +256,12 @@ #include "hwmon-common.dtsi" #include "spi1-nvram.dtsi" + +/* Panel control remains firmware-owned until the host transport is supported. */ +&spi4 { + tcon: panel-controller@0 { + compatible = "parade,dp855"; + reg = <0>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8122-misc-interfaces.dtsi b/arch/arm64/boot/dts/apple/t8122-misc-interfaces.dtsi new file mode 100644 index 0000000000000..7be8b7ef3d8dc --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8122-misc-interfaces.dtsi @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled tunnel translation and miscellaneous interfaces. */ + +&soc { + pciec0_dart: iommu@721008000 { + compatible = "apple,t8122-dart", "apple,t8110-dart"; + reg = <0x7 0x21008000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc0_cio_pcie>; + status = "disabled"; + }; + + pciec1_dart: iommu@b21008000 { + compatible = "apple,t8122-dart", "apple,t8110-dart"; + reg = <0xb 0x21008000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc1_cio_pcie>; + status = "disabled"; + }; + + pwm0: pwm@2a1040000 { + compatible = "apple,t8122-pwm", "apple,pwm"; + reg = <0x2 0xa1040000 0 0x4000>; + power-domains = <&ps_fpwm0>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t8122-peripheral-buses.dtsi b/arch/arm64/boot/dts/apple/t8122-peripheral-buses.dtsi new file mode 100644 index 0000000000000..a4a4affe0147d --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8122-peripheral-buses.dtsi @@ -0,0 +1,71 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Unclaimed T8122 peripheral buses. */ + +&soc { + spi4: spi@2a1110000 { + compatible = "apple,t8122-spi", "apple,t8103-spi"; + reg = <0x2 0xa1110000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clk_200m>; + power-domains = <&ps_spi4>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + qspi: spi@2a1118000 { + compatible = "apple,t8122-qspi", "apple,qspi"; + reg = <0x2 0xa1118000 0 0x4800>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&clk_200m>; + power-domains = <&ps_qspi>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + nub_spmi1: spmi@2e4794000 { + compatible = "apple,t8122-spmi", "apple,t8103-spmi"; + reg = <0x2 0xe4794000 0 0x4000>, + <0x2 0xe4784000 0 0x4000>, + <0x2 0xe4780000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + aop_spmi0: spmi@2f4894000 { + compatible = "apple,t8122-spmi", "apple,t8103-spmi"; + reg = <0x2 0xf4894000 0 0x4000>, + <0x2 0xf4884000 0 0x4000>, + <0x2 0xf4880000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + aop_spmi1: spmi@2f48d4000 { + compatible = "apple,t8122-spmi", "apple,t8103-spmi"; + reg = <0x2 0xf48d4000 0 0x4000>, + <0x2 0xf48c4000 0 0x4000>, + <0x2 0xf48c0000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t8122-peripherals.dtsi b/arch/arm64/boot/dts/apple/t8122-peripherals.dtsi new file mode 100644 index 0000000000000..c4a12ff089aa3 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8122-peripherals.dtsi @@ -0,0 +1,438 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T8122 hardware interfaces. Keep unclaimed engines disabled. */ + +&soc { + dart_rsm: iommu@2e433c000 { + compatible = "apple,t8122-dart", "apple,t8110-dart"; + reg = <0x2 0xe433c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_scaler: iommu@31d200000 { + compatible = "apple,t8122-dart", "apple,t8110-dart"; + reg = <0x3 0x1d200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_jpeg0: iommu@299004000 { + compatible = "apple,t8122-dart", "apple,t8110-dart"; + reg = <0x2 0x99004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_jpeg1: iommu@29900c000 { + compatible = "apple,t8122-dart", "apple,t8110-dart"; + reg = <0x2 0x9900c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_ave0: iommu@315030000 { + compatible = "apple,t8122-dart", "apple,t8110-dart"; + reg = <0x3 0x15030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_ave1: iommu@315040000 { + compatible = "apple,t8122-dart", "apple,t8110-dart"; + reg = <0x3 0x15040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_ave2: iommu@315020000 { + compatible = "apple,t8122-dart-smmu", "apple,dart-smmu"; + reg = <0x3 0x15020000 0x0 0x4000>; + status = "disabled"; + }; + + dart_ave3: filter@315044000 { + compatible = "apple,t8122-dapf", "apple,dapf"; + reg = <0x3 0x15044000 0x0 0x4000>; + status = "disabled"; + }; + + dart_apr0: iommu@321028000 { + compatible = "apple,t8122-dart", "apple,t8110-dart"; + reg = <0x3 0x21028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_apr1: iommu@32102c000 { + compatible = "apple,t8122-dart", "apple,t8110-dart"; + reg = <0x3 0x2102c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_aop_companion1: filter@2f481c000 { + compatible = "apple,t8122-dapf", "apple,dapf"; + reg = <0x2 0xf481c000 0x0 0x4000>; + status = "disabled"; + }; + + dart_mtp_companion1: filter@2fa80c000 { + compatible = "apple,t8122-dapf", "apple,dapf"; + reg = <0x2 0xfa80c000 0x0 0x4000>; + status = "disabled"; + }; + + dart_disp0_companion1: iommu@28d300000 { + compatible = "apple,t8122-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0x8d300000 0x0 0x4000>; + status = "disabled"; + }; + + dart_dispext0_companion1: iommu@319300000 { + compatible = "apple,t8122-dart-smmu", "apple,dart-smmu"; + reg = <0x3 0x19300000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp_companion3: iommu@2a64b0000 { + compatible = "apple,t8122-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0xa64b0000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp_companion4: iommu@2a64b8000 { + compatible = "apple,t8122-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0xa64b8000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp_companion5: filter@2a64ac000 { + compatible = "apple,t8122-dapf", "apple,dapf"; + reg = <0x2 0xa64ac000 0x0 0x4000>; + status = "disabled"; + }; + + dart_ane_companion3: filter@311804000 { + compatible = "apple,t8122-dapf", "apple,dapf"; + reg = <0x3 0x11804000 0x0 0x4000>; + status = "disabled"; + }; + + apcie1_piodma: dma-controller@595010000 { + compatible = "apple,t8122-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x95010000 0x0 0x4000>, + <0x5 0x95014000 0x0 0x4000>, + <0x5 0x95018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie1_dart 15>; + status = "disabled"; + }; + + apcie0_piodma: dma-controller@594010000 { + compatible = "apple,t8122-pcie-piodma", "apple,pcie-piodma"; + reg = <0x5 0x94010000 0x0 0x4000>, + <0x5 0x94014000 0x0 0x4000>, + <0x5 0x94018000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pcie0_dart 15>; + status = "disabled"; + }; + + apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t8122-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pciec0_dart 15>; + status = "disabled"; + }; + + atc0_dpin0: displayport@701e50000 { + compatible = "apple,t8122-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc0_dpin1: displayport@701e58000 { + compatible = "apple,t8122-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t8122-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&pciec1_dart 15>; + status = "disabled"; + }; + + atc1_dpin0: displayport@b01e50000 { + compatible = "apple,t8122-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin1: displayport@b01e58000 { + compatible = "apple,t8122-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + mcc: memory-controller@2d03c0000 { + compatible = "apple,t8122-mcc", "apple,mcc"; + reg = <0x2 0xd03c0000 0x0 0x20000>, + <0x2 0xd0478000 0x0 0x149c>, + <0x2 0xd0780000 0x0 0x4000>, + <0x2 0x20000000 0x0 0x2000000>, + <0x2 0x22000000 0x0 0x2000000>; + status = "disabled"; + }; + + error_handler: error-handler@29cc40000 { + compatible = "apple,t8122-error-handler", "apple,soc-error-handler"; + reg = <0x2 0x9cc40000 0x0 0x40000>, + <0x2 0xd0000000 0x0 0x7c000>, + <0x2 0xd0700000 0x0 0xcc000>, + <0x2 0xe42c8000 0x0 0x4000>, + <0x2 0x20000000 0x0 0x2000000>, + <0x2 0x22000000 0x0 0x2000000>, + <0x2 0x80000000 0x0 0x4000>, + <0x3 0x00000000 0x0 0x4000>, + <0x2 0x58c00000 0x0 0x40000>, + <0x2 0x59000000 0x0 0x40000>, + <0x2 0x4fc00000 0x0 0x40000>, + <0x2 0x50000000 0x0 0x40000>, + <0x2 0x50100000 0x0 0x40000>, + <0x2 0x58400000 0x0 0x40000>, + <0x2 0x58800000 0x0 0x40000>, + <0x2 0x4f400000 0x0 0x40000>, + <0x2 0x4f800000 0x0 0x40000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + dwi: dwi@2d0200000 { + compatible = "apple,t8122-dwi", "apple,dwi"; + reg = <0x2 0xd0200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + aes: crypto@2a100c000 { + compatible = "apple,t8122-aes", "apple,aes"; + reg = <0x2 0xa100c000 0x0 0x4000>, + <0x2 0xe42dc000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&sio_dart 1>; + status = "disabled"; + }; + + event_log_handler: event-log@2d0700000 { + compatible = "apple,t8122-event-log", "apple,soc-event-log"; + reg = <0x2 0xd0700000 0x0 0xcc000>, + <0x2 0xe4280000 0x0 0x80000>, + <0x2 0xd0000000 0x0 0x70000>, + <0x2 0xe4200000 0x0 0x7c000>, + <0x2 0xd0290000 0x0 0x4000>, + <0x2 0xd0294000 0x0 0x4000>, + <0x2 0xd0298000 0x0 0x4000>, + <0x2 0xd028c000 0x0 0x4000>, + <0x2 0xd0280000 0x0 0x8000>, + <0x3 0x11868000 0x0 0x4000>, + <0x3 0x11838000 0x0 0x8000>, + <0x2 0xd0340000 0x0 0xc000>, + <0x2 0xd0350000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + rsm: rsm@2e4325000 { + compatible = "apple,t8122-rsm", "apple,rsm"; + reg = <0x2 0xe4325000 0x0 0x4000>, + <0x2 0xe43c0000 0x0 0x4>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&dart_rsm 0>; + status = "disabled"; + }; + + dptx_phy: phy@2c7540000 { + compatible = "apple,t8122-dptx-phy", "apple,dptx-phy"; + reg = <0x2 0xc7540000 0x0 0x10000>, + <0x2 0xc7500000 0x0 0x4000>; + power-domains = <&ps_dptx_ext_phy>; + #phy-cells = <0>; + status = "disabled"; + }; + + usb_otg0: usb@702100000 { + compatible = "apple,t8122-usb2-otg", "apple,usb2-otg"; + reg = <0x7 0x02100000 0x0 0x1000>, + <0x7 0x02a84000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc0_usb>; + iommus = <&dwc3_0_dart_0 1>, <&dwc3_0_dart_1 1>; + phys = <&atcphy0 PHY_TYPE_USB2>; + phy-names = "usb2-phy"; + status = "disabled"; + }; + + scaler0: scaler@31d000000 { + compatible = "apple,t8122-scaler", "apple,scaler"; + reg = <0x3 0x1d000000 0x0 0x30000>, + <0x3 0x1d210000 0x0 0x4000>, + <0x3 0x1d204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr>, <&ps_msr_ase_core>; + iommus = <&dart_scaler 0>, <&dart_scaler 1>; + status = "disabled"; + }; + + jpeg0: jpeg@299000000 { + compatible = "apple,t8122-jpeg", "apple,jpeg"; + reg = <0x2 0x99000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + iommus = <&dart_jpeg0 0>; + status = "disabled"; + }; + + jpeg1: jpeg@299008000 { + compatible = "apple,t8122-jpeg", "apple,jpeg"; + reg = <0x2 0x99008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + iommus = <&dart_jpeg1 0>; + status = "disabled"; + }; + + ave: video-encoder@315100000 { + compatible = "apple,t8122-ave", "apple,ave"; + reg = <0x3 0x15100000 0x0 0x45c000>, + <0x3 0x15800000 0x0 0x800000>, + <0x3 0x15050000 0x0 0x4000>, + <0x2 0xd0708000 0x0 0x4000>, + <0x3 0x14000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc_sys>, <&ps_venc_pipe4>, <&ps_venc_pipe5>, <&ps_venc_me0>, <&ps_venc_me1>, <&ps_venc_dma>; + iommus = <&dart_ave0 0>, <&dart_ave1 0>; + status = "disabled"; + }; + + apr: video-codec@321000000 { + compatible = "apple,t8122-prores", "apple,prores"; + reg = <0x3 0x21000000 0x0 0x4000>, + <0x3 0x20000000 0x0 0x8000>, + <0x3 0x21078000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_scodec>; + iommus = <&dart_apr0 1>, <&dart_apr1 1>; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t8122.dtsi b/arch/arm64/boot/dts/apple/t8122.dtsi index fb3f3cca9e0d4..ba3e893a234f5 100644 --- a/arch/arm64/boot/dts/apple/t8122.dtsi +++ b/arch/arm64/boot/dts/apple/t8122.dtsi @@ -198,20 +198,8 @@ }; /* - * opp-microwatt is the power one busy CPU adds at each state, measured - * on a J613 with the SMC's cluster power keys (PPbb for the E cluster, - * PP0b for the P cluster): the cluster pinned to the state, all four of - * its CPUs busy minus the cluster idle, divided by four, starting - * below 60 C. The values are curves fitted to the measurements - * (rms deviation 31 mW for E, 22 mW for P), so that they rise - * monotonically: E P = 58 mW * f^1.842 (f in GHz), - * P ln(P/mW) = 5.394 + 1.164 ln f + 0.521 (ln f)^2. - * - * Above 3288 MHz the P cluster's power stops rising at about 11 W with - * all four CPUs busy, and the work done per clock at 4056 MHz is 8-10% - * lower than at 3420 MHz, also with one CPU busy: the hardware limits - * the top states by itself. Their values are the fitted curve - * extrapolated, the power these states would draw unlimited. + * opp-microwatt: one busy CPU's power, fitted to J613 measurements. + * Above 3288 MHz the hardware caps P power; those are extrapolated. */ sawtooth_opp: opp-table-0 { compatible = "operating-points-v2"; @@ -421,7 +409,7 @@ clock-output-names = "nco_ref"; }; - soc { + soc: soc { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>; @@ -546,12 +534,7 @@ power-domains = <&ps_avd_sys>; }; - /* - * iBoot hands over a running SEP. Keep Linux off its DART at boot; - * apple_sep enables it at module initialization. The SEP only - * accepts IOVAs in this window, which carries the BIT(40) alias - * the DART translates (ADT vm-base 0x10000004000). - */ + /* apple_sep enables it; the SEP only takes IOVAs in this window. */ sep_dart: iommu@29cac0000 { compatible = "apple,t8122-dart", "apple,t8110-dart"; reg = <0x2 0x9cac0000 0x0 0x4000>; @@ -608,12 +591,7 @@ status = "disabled"; }; - /* - * Touch ID. iBoot leaves the pads muxed and the controller uses - * its native chip select, so there is no pinctrl here. The - * 200 MHz parent is spi1's on this SoC, and the one the J613 - * sensor was enrolled and matched with. - */ + /* Touch ID: pads muxed by iBoot, native chip select, 200 MHz. */ spi2: spi@2a1108000 { compatible = "apple,t8122-spi", "apple,t8103-spi"; reg = <0x2 0xa1108000 0x0 0x4000>; @@ -1137,14 +1115,16 @@ smc_hwmon: hwmon { compatible = "apple,smc-hwmon"; #thermal-sensor-cells = <1>; - /* - * CPU die temperatures, one per E-cluster sensor - * group and one per P core (the key that rose most - * with only that core busy, on a J613). Board - * thermal zones refer to these by channel index, so - * keep them first and in this order. + * No Tf keys on M3: the six hottest GPU keys (about 0 C + * while the GPU is off), then the CPU die keys. */ + apple,soc-die-keys = "Tg0D", "Tg0P", "Tg0X", "Tg0b", + "Tg0j", "Tg0v", "Te05", "Te0P", + "Tp05", "Tp0L", "Tp0b", "Tp0r"; + apple,thermal-pressure-key = "mTPL"; + + /* CPU die temperatures, first: thermal zones index them. */ temperature-Te05 { apple,key-id = "Te05"; label = "E-cluster Temperature 1"; @@ -1875,12 +1855,7 @@ }; }; - /* - * The J613 ADT has atc0-dpxbar and atc1-dpxbar with compatible - * "atc-dpxbar,t602x", so these use the T6020 programming - * model. The display gate enables them together with the - * dcpext whose Type-C routes use them. - */ + /* ADT atc-dpxbar,t602x; the gate enables them with dcpext. */ atcphy0_xbar: mux@70304c000 { compatible = "apple,t8122-display-crossbar", "apple,t6020-display-crossbar"; @@ -1957,3 +1932,11 @@ #include "t8122-pmgr.dtsi" #include "t8122-gpu.dtsi" #include "t8122-dcp.dtsi" + +#include "t8122-peripherals.dtsi" + +#include "t8122-peripheral-buses.dtsi" + +#include "t8122-coprocessors.dtsi" + +#include "t8122-misc-interfaces.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8132-apcie-port2.dtsi b/arch/arm64/boot/dts/apple/t8132-apcie-port2.dtsi new file mode 100644 index 0000000000000..2a1fcd3ba4680 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-apcie-port2.dtsi @@ -0,0 +1,65 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * The third port of the T8132 built-in PCIe controller (ADT apcie + * pci-bridge2, with its own DART dart-apcie2): the J604 SD card reader + * and the J773g Ethernet. Values from the J604 and J773g ADTs. + * + * The controller runs the managed radio contract, which admits port 0 + * only, so the port and its DART stay disabled until it admits a second + * port and its stream. + * + * Copyright The Asahi Linux Contributors + */ + +#include +#include +#include + +&soc { + dart_apcie2: iommu@492000000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x4 0x92000000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; +}; + +&pcie0 { + reg = <0x1c 0xb0000000 0x0 0x10000000>, /* config */ + <0x4 0x94000000 0x0 0x4000>, /* common */ + <0x4 0x90028000 0x0 0x8000>, /* port 0 */ + <0x4 0x97020000 0x0 0x4000>, /* port 0 PHY glue */ + <0x4 0x92028000 0x0 0x8000>, /* port 2 */ + <0x4 0x97028000 0x0 0x4000>; /* port 2 PHY glue */ + reg-names = "config", "rc", "port0", "phy0", "port2", "phy2"; + + /* One per port, in port order; port 1 is unused. */ + interrupts = , + , + ; + + bus-range = <0 2>; + + port02: pci@2,0 { + device_type = "pci"; + reg = <0x1000 0x0 0x0 0x0 0x0>; + bus-range = <2 2>; + /* ADT pci-bridge2 function-perst */ + reset-gpios = <&pinctrl_ap 165 GPIO_ACTIVE_LOW>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port02 0 0 0 0>, + <0 0 0 2 &port02 0 0 0 1>, + <0 0 0 3 &port02 0 0 0 2>, + <0 0 0 4 &port02 0 0 0 3>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8132-atc23.dtsi b/arch/arm64/boot/dts/apple/t8132-atc23.dtsi new file mode 100644 index 0000000000000..27963d5e332d5 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-atc23.dtsi @@ -0,0 +1,168 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * The T8132's third and fourth ATCs (ADT atc-phy2/3, usb-drd2/3, + * dart-usb2/3, atc2/3-dpxbar) and the second port controller SPMI bus + * (nub-spmi-a1), from the J604 and J773g ADTs. Boards enable what they + * wire. + * + * Copyright The Asahi Linux Contributors + */ + +#include +#include +#include + +/ { + aliases { + atcphy2 = &atcphy2; + atcphy3 = &atcphy3; + }; +}; + +&soc { + nub_spmi_a1: spmi@388a08000 { + compatible = "apple,t8132-spmi", "apple,t8103-spmi"; + reg = <0x3 0x88a08000 0x0 0x4000>; + #address-cells = <2>; + #size-cells = <0>; + #interrupt-cells = <2>; + interrupt-controller; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atcphy2: phy@412a90000 { + compatible = "apple,t8132-atcphy"; + /* Leave the display crossbar at core + 0x4c000 to its own driver. */ + reg = <0x4 0x12a90000 0x0 0x4000>, + <0x4 0x12a84000 0x0 0x4000>, + <0x4 0x13000000 0x0 0x24000>, + <0x4 0x10000000 0x0 0x8000>, + <0x4 0x10020000 0x0 0x4000>, + <0x4 0x13044000 0x0 0x4000>, + <0x4 0x13050000 0x0 0x4000>; + reg-names = "usb2phy", "pipehandler", "core", "axi2af", "lioa", + "fabric", "common-config"; + #phy-cells = <1>; + #reset-cells = <0>; + power-domains = <&ps_atc2_usb>; + orientation-switch; + mode-switch; + status = "disabled"; + }; + + atc2_dpxbar: mux@41304c000 { + compatible = "apple,t8132-display-crossbar"; + reg = <0x4 0x1304c000 0x0 0x4000>; + #mux-control-cells = <1>; + power-domains = <&ps_atc2_usb>; + status = "disabled"; + }; + + dwc3_2_dart_0: iommu@412f00000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x4 0x12f00000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc2_usb>; + status = "disabled"; + }; + + dwc3_2_dart_1: iommu@412f80000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x4 0x12f80000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc2_usb>; + status = "disabled"; + }; + + dwc3_2: usb@412280000 { + compatible = "apple,t8132-dwc3"; + reg = <0x4 0x12280000 0x0 0xcd00>, + <0x4 0x1228cd00 0x0 0x3200>; + reg-names = "dwc3-core", "dwc3-apple"; + interrupt-parent = <&aic>; + interrupts = ; + dr_mode = "otg"; + maximum-speed = "high-speed"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&dwc3_2_dart_0 0>, <&dwc3_2_dart_1 1>; + power-domains = <&ps_atc2_usb>; + resets = <&atcphy2>; + phys = <&atcphy2 PHY_TYPE_USB2>; + phy-names = "usb2-phy"; + status = "disabled"; + }; + + atcphy3: phy@41aa90000 { + compatible = "apple,t8132-atcphy"; + /* Leave the display crossbar at core + 0x4c000 to its own driver. */ + reg = <0x4 0x1aa90000 0x0 0x4000>, + <0x4 0x1aa84000 0x0 0x4000>, + <0x4 0x1b000000 0x0 0x24000>, + <0x4 0x18000000 0x0 0x8000>, + <0x4 0x18020000 0x0 0x4000>, + <0x4 0x1b044000 0x0 0x4000>, + <0x4 0x1b050000 0x0 0x4000>; + reg-names = "usb2phy", "pipehandler", "core", "axi2af", "lioa", + "fabric", "common-config"; + #phy-cells = <1>; + #reset-cells = <0>; + power-domains = <&ps_atc3_usb>; + orientation-switch; + mode-switch; + status = "disabled"; + }; + + atc3_dpxbar: mux@41b04c000 { + compatible = "apple,t8132-display-crossbar"; + reg = <0x4 0x1b04c000 0x0 0x4000>; + #mux-control-cells = <1>; + power-domains = <&ps_atc3_usb>; + status = "disabled"; + }; + + dwc3_3_dart_0: iommu@41af00000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x4 0x1af00000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc3_usb>; + status = "disabled"; + }; + + dwc3_3_dart_1: iommu@41af80000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x4 0x1af80000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc3_usb>; + status = "disabled"; + }; + + dwc3_3: usb@41a280000 { + compatible = "apple,t8132-dwc3"; + reg = <0x4 0x1a280000 0x0 0xcd00>, + <0x4 0x1a28cd00 0x0 0x3200>; + reg-names = "dwc3-core", "dwc3-apple"; + interrupt-parent = <&aic>; + interrupts = ; + dr_mode = "otg"; + maximum-speed = "high-speed"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&dwc3_3_dart_0 0>, <&dwc3_3_dart_1 1>; + power-domains = <&ps_atc3_usb>; + resets = <&atcphy3>; + phys = <&atcphy3 PHY_TYPE_USB2>; + phy-names = "usb2-phy"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8132-avd.dtsi b/arch/arm64/boot/dts/apple/t8132-avd.dtsi new file mode 100644 index 0000000000000..abb3f8b206cd9 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-avd.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* T8132 decoder resource windows. The driver register layout is not selected here. */ + +&soc { + avd_dart: iommu@3a1020000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x3 0xa1020000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + avd: video-decoder@3a0000000 { + compatible = "apple,t8132-avd", "apple,avd"; + reg = <0x3 0xa0000000 0x0 0x1404000>; + interrupt-parent = <&aic>; + interrupts = , + ; + iommus = <&avd_dart 0>, <&avd_dart 1>, <&avd_dart 2>; + power-domains = <&ps_avd_sys>; + clocks = <&peripheral_clocks 361>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8132-j713-display.dtsi b/arch/arm64/boot/dts/apple/t8132-dcp.dtsi similarity index 50% rename from arch/arm64/boot/dts/apple/t8132-j713-display.dtsi rename to arch/arm64/boot/dts/apple/t8132-dcp.dtsi index e3cb6864c54d6..b4383741a15fb 100644 --- a/arch/arm64/boot/dts/apple/t8132-j713-display.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-dcp.dtsi @@ -1,34 +1,20 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * Apple MacBook Air (13-inch, M4) internal display coprocessor (DCP). - * - * Node structure and values match the cleanroom J713 live device tree. - * The DCP, its mailbox and both display DARTs are live when Linux starts: - * the DART driver leaves the DARTs untouched until apple_dart.j713_dcp or - * apple_dart.j713_display is set and the device re-probed, and the DCP - * common Apple display driver (appledrm) adopts the inherited session after - * guarded DART admission; no display lifecycle sysfs triggers are required. - * - * The boot loader completes these nodes. On dcp it publishes - * apple,firmware-uuid, -version and -compat and the memory-region list of - * DCP firmware reservations (apple,asc-mem, no-map, with iommu-addresses, - * plus one apple,dcp-os-log region). After validating the inherited - * frontend mappings it adds memory-region and apple,j713-inherited-mappings - * to piodma and display-subsystem and enables them and disp0_dart. - * apple,j713-native-piodma and apple,j713-native-scanout opt in to that. - * The DCP, PIODMA and scanout paths use non-coherent DMA only, so those - * nodes are marked dma-noncoherent. - * The DART driver also reads the ADT through the loader's phram "adt" - * region. Without that handoff the DCP and frontend are refused. + * The T8132 internal display coprocessor (DCP), its mailbox, firmware + * DART (SID23) and display DART (SID0 scanout, SID16 PIODMA), as on the + * J713. iBoot leaves them running. They stay disabled, and the DART driver + * keeps off them, until a board's panel handoff is qualified. * * Copyright The Asahi Linux Contributors */ +#include +#include + / { aliases { dcp = &dcp; disp0 = &display; - disp0_piodma = &disp0_piodma; }; }; @@ -45,9 +31,9 @@ "recv-empty", "recv-not-empty"; power-domains = <&ps_disp_cpu>; #mbox-cells = <0>; + status = "disabled"; }; - /* DCP firmware DART: SID23. */ dcp_dart: iommu@30a340000 { compatible = "apple,t8132-dart", "apple,t8110-dart"; reg = <0x3 0x0a340000 0x0 0x20000>; @@ -55,9 +41,9 @@ interrupts = ; #iommu-cells = <1>; apple,dma-range = <0x100 0x0 0x10 0x0>; + status = "disabled"; }; - /* Display frontend DART: SID0 scanout, SID16 PIODMA. */ disp0_dart: iommu@30a300000 { compatible = "apple,t8132-dart", "apple,t8110-dart"; reg = <0x3 0x0a300000 0x0 0xc000>; @@ -65,7 +51,7 @@ interrupts = ; #iommu-cells = <1>; apple,dma-range = <0x100 0x0 0x10 0x0>; - status = "disabled"; /* Enabled by the loader. */ + status = "disabled"; }; dcp: dcp@30ae00000 { @@ -84,31 +70,20 @@ iommus = <&dcp_dart 23>; power-domains = <&ps_disp_cpu>; dma-noncoherent; - apple,j713-native-piodma; - apple,j713-native-scanout; - /* Full 2560x1664 panel including the notch rows, 224 ppi. */ - apple,panel-width-mm = <290>; - apple,panel-height-mm = <188>; - #address-cells = <2>; - #size-cells = <2>; + status = "disabled"; disp0_piodma: piodma { iommus = <&disp0_dart 16>; dma-noncoherent; - status = "disabled"; /* Enabled by the loader. */ + status = "disabled"; }; }; + /* The scanout frontend; it has no registers of its own. */ display: display-subsystem { compatible = "apple,t8132-display-subsystem", "apple,t8132-display-diagnostics"; iommus = <&disp0_dart 0>; dma-noncoherent; - status = "disabled"; /* Enabled by the loader. */ + status = "disabled"; }; }; - -/* - * The shared J713 power-domain policy leaves the running display domains - * firmware-owned. Native display adoption does not register a second genpd - * owner or change their hardware state. - */ diff --git a/arch/arm64/boot/dts/apple/t8132-dcpext.dtsi b/arch/arm64/boot/dts/apple/t8132-dcpext.dtsi new file mode 100644 index 0000000000000..a977c3f6b604a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-dcpext.dtsi @@ -0,0 +1,163 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * The T8132 external display pipes dispext0 and dispext1, as on the J713: + * each a DCP with its own mailbox, firmware DART (SID23) and display DART + * (SID0 scanout, SID16 PIODMA), sharing the internal pipe's firmware clock + * window (disp-4), which also holds their bandwidth request slots in the + * PMC. iBoot starts both and may scan out through one (the Mac mini's + * HDMI port is dispext0). They stay disabled, and the DART driver keeps + * off them, until a board's handoff is qualified. + * + * Copyright The Asahi Linux Contributors + */ + +#include +#include + +/ { + aliases { + dcpext0 = &dcpext0; + dcpext1 = &dcpext1; + }; +}; + +&soc { + dcpext0_mbox: mailbox@286e08000 { + compatible = "apple,t8132-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0x86e08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + power-domains = <&ps_dispext0_cpu>; + #mbox-cells = <0>; + status = "disabled"; + }; + + dcpext0_dart: iommu@286340000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x2 0x86340000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x10 0x0>; + power-domains = <&ps_dispext0_cpu>; + status = "disabled"; + }; + + dispext0_dart: iommu@286300000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x2 0x86300000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x10 0x0>; + power-domains = <&ps_dispext0_cpu>; + status = "disabled"; + }; + + dcpext0: dcp@286e00000 { + compatible = "apple,t8132-dcpext"; + reg = <0x2 0x86e00000 0x0 0x4000>, + <0x2 0x84000000 0x0 0xc20000>, + <0x2 0x86240000 0x0 0x10000>, + <0x2 0x863a8000 0x0 0x4000>, + <0x2 0x86800000 0x0 0x800000>, + <0x3 0x82800000 0x0 0xbc000>, + <0x2 0x86850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", + "disp-4", "iop-vbar"; + mboxes = <&dcpext0_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext0_dart 23>; + power-domains = <&ps_dispext0_cpu>; + dma-noncoherent; + apple,dcp-index = <1>; + apple,bw-scratch = <&pmgr_dcpext 0 4 0>; + status = "disabled"; + + dcpext0_piodma: piodma { + iommus = <&dispext0_dart 16>; + dma-noncoherent; + status = "disabled"; + }; + }; + + /* + * The external pipes' realtime bandwidth request slots in the PMC, + * 0x2c000 and 0x30000 into the window the dcpexts have as disp-4. + */ + pmgr_dcpext: power-management@38282c000 { + reg = <0x3 0x8282c000 0x0 0x8>, + <0x3 0x82830000 0x0 0x8>; + reg-names = "dcpext0-bw-scratch", "dcpext1-bw-scratch"; + #apple,bw-scratch-cells = <3>; + }; + + dcpext1_mbox: mailbox@48ae08000 { + compatible = "apple,t8132-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8ae08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + power-domains = <&ps_dispext1_cpu>; + #mbox-cells = <0>; + status = "disabled"; + }; + + dcpext1_dart: iommu@48a340000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x10 0x0>; + power-domains = <&ps_dispext1_cpu>; + status = "disabled"; + }; + + dispext1_dart: iommu@48a300000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x4 0x8a300000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x10 0x0>; + power-domains = <&ps_dispext1_cpu>; + status = "disabled"; + }; + + dcpext1: dcp@48ae00000 { + compatible = "apple,t8132-dcpext"; + reg = <0x4 0x8ae00000 0x0 0x4000>, + <0x4 0x88000000 0x0 0xc20000>, + <0x4 0x8a240000 0x0 0x10000>, + <0x4 0x8a3a8000 0x0 0x4000>, + <0x4 0x8a800000 0x0 0x800000>, + <0x3 0x82800000 0x0 0xbc000>, + <0x4 0x8a850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", + "disp-4", "iop-vbar"; + mboxes = <&dcpext1_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext1_dart 23>; + power-domains = <&ps_dispext1_cpu>; + dma-noncoherent; + apple,dcp-index = <2>; + apple,bw-scratch = <&pmgr_dcpext 1 4 0>; + status = "disabled"; + + dcpext1_piodma: piodma { + iommus = <&dispext1_dart 16>; + dma-noncoherent; + status = "disabled"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8132-desktop.dtsi b/arch/arm64/boot/dts/apple/t8132-desktop.dtsi new file mode 100644 index 0000000000000..1ec8b85b613d5 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-desktop.dtsi @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple M4 Mac mini and iMac 24" (2024) + * + * This file contains parts common to the T8132 desktops. + * + * target-type: J623, J624, J773g + * + * Copyright The Asahi Linux Contributors + */ + +#include "t8132-jxxx.dtsi" +#include "t8132-apcie-port2.dtsi" + +/ { + aliases { + ethernet0 = ðernet0; + }; +}; + +/* The Gigabit Ethernet controller (ADT pci-bridge2/lan-1gb). */ +&port02 { + ethernet0: ethernet@0,0 { + reg = <0x20000 0x0 0x0 0x0 0x0>; + /* To be filled by the loader */ + local-mac-address = [00 10 18 00 00 00]; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8132-error-handlers.dtsi b/arch/arm64/boot/dts/apple/t8132-error-handlers.dtsi new file mode 100644 index 0000000000000..55d213f1104c2 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-error-handlers.dtsi @@ -0,0 +1,141 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* T8132 platform error and event-log resources. Firmware policy is not copied. */ + +&soc { + soc_errors: error-handler@3a8e00000 { + compatible = "apple,t8132-error-handler", "apple,soc-error-handler"; + reg = <0x3 0xa8e00000 0x0 0x40000>, + <0x3 0xa8a00000 0x0 0x8000>, + <0x3 0x80000000 0x0 0x7c000>, + <0x3 0x80700000 0x0 0xcc000>, + <0x3 0x882c8000 0x0 0x4000>, + <0x3 0x803d0000 0x0 0x4000>, + <0x3 0x82000000 0x0 0x1000000>, + <0x2 0x20000000 0x0 0x2000000>, + <0x2 0x22000000 0x0 0x2000000>, + <0x2 0x60000000 0x0 0x4000>, + <0x2 0x61000000 0x0 0x4000>, + <0x2 0x62000000 0x0 0x4000>, + <0x2 0x63000000 0x0 0x4000>, + <0x2 0x64000000 0x0 0x4000>, + <0x2 0x65000000 0x0 0x4000>, + <0x2 0x66000000 0x0 0x4000>, + <0x2 0x67000000 0x0 0x4000>, + <0x2 0x4f000000 0x0 0x1000000>, + <0x2 0x69000000 0x0 0x20000>, + <0x2 0x68032000 0x0 0x1000>, + <0x2 0x68432000 0x0 0x1000>, + <0x2 0x68832000 0x0 0x1000>, + <0x2 0x68c32000 0x0 0x1000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + soc_events: event-log-handler@380700000 { + compatible = "apple,t8132-event-log", "apple,soc-event-log"; + reg = <0x3 0x80700000 0x0 0xcc000>, + <0x3 0x88280000 0x0 0x80000>, + <0x3 0x80000000 0x0 0x70000>, + <0x3 0x88200000 0x0 0x7c000>, + <0x3 0x80280000 0x0 0x80000>, + <0x3 0x80280000 0x0 0x8000>, + <0x5 0x01878000 0x0 0x4000>, + <0x5 0x01868000 0x0 0x8000>, + <0x3 0x80340000 0x0 0xc000>, + <0x3 0x80350000 0x0 0xc000>, + <0x3 0x80208000 0x0 0x4000>, + <0x3 0x80208400 0x0 0x4000>, + <0x3 0x8020a400 0x0 0x4000>, + <0x3 0x8020a600 0x0 0x4000>, + <0x3 0x8020a700 0x0 0x4000>, + <0x3 0x8020a800 0x0 0x4000>, + <0x3 0x8020aa00 0x0 0x4000>, + <0x3 0x8020ab00 0x0 0x4000>, + <0x3 0x8020ac00 0x0 0x4000>, + <0x3 0x8020ae00 0x0 0x4000>, + <0x3 0x8020af00 0x0 0x4000>, + <0x3 0x8020b000 0x0 0x4000>, + <0x3 0x8020b200 0x0 0x4000>, + <0x3 0x8020b300 0x0 0x4000>, + <0x3 0x8020b400 0x0 0x4000>, + <0x3 0x8020b600 0x0 0x4000>, + <0x3 0x8020b700 0x0 0x4000>, + <0x3 0x8020b800 0x0 0x4000>, + <0x3 0x8020ba00 0x0 0x4000>, + <0x3 0x8020bb00 0x0 0x4000>, + <0x3 0x8020bc00 0x0 0x4000>, + <0x3 0x8020be00 0x0 0x4000>, + <0x3 0x8020bf00 0x0 0x4000>, + <0x3 0x8020c000 0x0 0x4000>, + <0x3 0x8020c200 0x0 0x4000>, + <0x3 0x8020c300 0x0 0x4000>, + <0x3 0x8020c400 0x0 0x4000>, + <0x3 0x8020c600 0x0 0x4000>, + <0x3 0x8020c700 0x0 0x4000>, + <0x3 0x8020c800 0x0 0x4000>, + <0x3 0x8020ca00 0x0 0x4000>, + <0x3 0x8020cb00 0x0 0x4000>, + <0x3 0x8020cc00 0x0 0x4000>, + <0x3 0x8020ce00 0x0 0x4000>, + <0x3 0x8020d000 0x0 0x4000>, + <0x3 0x8020d200 0x0 0x4000>, + <0x3 0x8020d400 0x0 0x4000>, + <0x3 0x8020d600 0x0 0x4000>, + <0x3 0x8020d800 0x0 0x4000>, + <0x3 0x8020da00 0x0 0x4000>, + <0x3 0x82800000 0x0 0xbc000>, + <0x3 0x82900000 0x0 0x4000>, + <0x3 0x00e1c000 0x0 0x4000>, + <0x3 0x00e1f800 0x0 0x4000>, + <0x3 0x00e28000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t8132-j713-gpu.dtsi b/arch/arm64/boot/dts/apple/t8132-gpu.dtsi similarity index 65% rename from arch/arm64/boot/dts/apple/t8132-j713-gpu.dtsi rename to arch/arm64/boot/dts/apple/t8132-gpu.dtsi index 50cd6807d7735..44d6157f76137 100644 --- a/arch/arm64/boot/dts/apple/t8132-j713-gpu.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-gpu.dtsi @@ -1,16 +1,16 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * Apple MacBook Air (13-inch, M4) G16 GPU resources. - * - * Node structure follows the J713 ADT; values match the cleanroom J713 live - * device tree. The Rust Asahi G16 backend is loaded explicitly after the - * native display and GFX TVM supplier are ready. m1n1 fills the inherited UAT - * and firmware ranges below, sets them okay, and publishes the firmware - * segment layout on the gpu node; Asahi validates this handoff before boot. + * The T8132 G16 GPU, its ASC mailbox and the outer GFX power gate (TVM), + * as on the J713. m1n1 fills the inherited UAT and firmware ranges (reg) + * and enables them; a board enables the GPU once its firmware and board data + * are qualified. * * Copyright The Asahi Linux Contributors */ +#include +#include + / { aliases { gpu = &gpu; @@ -18,37 +18,31 @@ reserved-memory { gpu_ttbs: uat-ttbs { - reg = <0 0 0 0>; no-map; status = "disabled"; }; gpu_pagetables: uat-pagetables { - reg = <0 0 0 0>; no-map; status = "disabled"; }; gpu_handoff: uat-handoff { - reg = <0 0 0 0>; no-map; status = "disabled"; }; gpu_shared_l2: uat-shared-l2 { - reg = <0 0 0 0>; no-map; status = "disabled"; }; gpu_fw_text: gpu-fw-text { - reg = <0 0 0 0>; no-map; status = "disabled"; }; gpu_fw_data: gpu-fw-data { - reg = <0 0 0 0>; no-map; status = "disabled"; }; @@ -60,6 +54,7 @@ compatible = "apple,t8132-gfx-tvm"; reg = <0x3 0x80760800 0x0 0x4>; #power-domain-cells = <0>; + status = "disabled"; }; gpu: gpu@302600000 { @@ -77,10 +72,10 @@ <&gpu_shared_l2>, <&gpu_fw_text>, <&gpu_fw_data>; memory-region-names = "ttbs", "pagetables", "handoff", "shared-l2", "fw-text", "fw-data"; + status = "disabled"; }; agx_mbox: mailbox@302608000 { - /* ASCWrap v6 contains the same mailbox aperture used by ASC v4. */ compatible = "apple,t8132-asc-mailbox", "apple,asc-mailbox-v4"; reg = <0x3 0x02608000 0x0 0x4000>; /* Idle ring-service kicks need not wake the system. */ @@ -93,18 +88,6 @@ interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; #mbox-cells = <0>; + status = "disabled"; }; }; - -/* The outer TVM gate is the parent of the GFX PMGR domain on J713. */ -&ps_gfx { - status = "okay"; - power-domains = <&gfx_tvm>; - /* The G16 firmware stays live across suspend-to-idle. */ - apple,sleep-retained; -}; - -/* The existing report provider owns readiness for shared PMP commands. */ -&pmp { - apple,pmp-report = <&pmp_report>; -}; diff --git a/arch/arm64/boot/dts/apple/t8132-isp.dtsi b/arch/arm64/boot/dts/apple/t8132-isp.dtsi new file mode 100644 index 0000000000000..2efed49eafc00 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-isp.dtsi @@ -0,0 +1,116 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * The T8132 ISP's firmware handoff and the front camera's modes, as on + * the J713. + * + * iBoot loads the ISP firmware outside the kernel's memory, at addresses + * that move with the boot firmware. The boot loader fills these + * placeholders from the ADT's isp segment-ranges: reg, and + * iommu-addresses where the firmware runs them, from 0x100_0000_0000 on. + * It then sets apple,platform-id from the ADT isp sensor-type and enables + * the ISP and its DARTs. The driver checks that the coprocessor's reset + * vector is this text before it starts the firmware. + * + * Copyright The Asahi Linux Contributors + */ + +/ { + reserved-memory { + isp_fw_text: isp-firmware-text { }; + + isp_fw_data: isp-firmware-data { }; + + /* the firmware's 20 MiB main memory, the driver allocates above it */ + isp_heap: isp-heap { + iommu-addresses = <&isp 0x100 0x0 0x0 0x1400000>; + }; + }; +}; + +&isp { + memory-region = <&isp_fw_text>, <&isp_fw_data>, <&isp_heap>; + memory-region-names = "text", "data", "heap"; + + /* The 12 MP front camera, an IMX958: configuration 5, as on the J616s. */ + sensor-presets { + /* 1920x1080 */ + preset0 { + apple,config-index = <5>; + apple,input-size = <1920 2160>; + apple,output-size = <1920 1080>; + apple,crop = <0 0 1920 1080>; + }; + /* 1280x720: the same window as 1920x1080, scaled down */ + preset1 { + apple,config-index = <5>; + apple,input-size = <1920 2160>; + apple,output-size = <1280 720>; + apple,crop = <0 0 1920 1080>; + }; + }; +}; + +/* The camera powers the ISP from its first stream until it is unbound. */ +&ps_isp_sys { + status = "okay"; +}; + +&ps_isp_cpu { + status = "okay"; +}; + +&ps_isp_cpu_core0 { + status = "okay"; +}; + +&ps_isp_cpu_core1 { + status = "okay"; +}; + +&ps_isp_fe { + status = "okay"; +}; + +&ps_isp_dprx { + status = "okay"; +}; + +&ps_isp_secure { + status = "okay"; +}; + +&ps_isp_sts0 { + status = "okay"; +}; + +&ps_isp_sts1 { + status = "okay"; +}; + +&ps_isp_pearl { + status = "okay"; +}; + +&ps_isp_be { + status = "okay"; +}; + +&ps_isp_clr { + status = "okay"; +}; + +&ps_isp_cvd { + status = "okay"; +}; + +&ps_isp_cvm { + status = "okay"; +}; + +&ps_ispsens0 { + status = "okay"; +}; + +&ps_ispsens1 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t8132-j604.dts b/arch/arm64/boot/dts/apple/t8132-j604.dts index 8a065a6f47a7b..5830d21bee81b 100644 --- a/arch/arm64/boot/dts/apple/t8132-j604.dts +++ b/arch/arm64/boot/dts/apple/t8132-j604.dts @@ -4,33 +4,311 @@ * * target-type: J604 * + * Wired from the J604 ADT (macOS 27.0). + * * Copyright The Asahi Linux Contributors */ /dts-v1/; #include "t8132.dtsi" -#include "t8132-jxxx.dtsi" -#include +#include "t8132-laptop.dtsi" +#include "t8132-atc23.dtsi" +#include "t8132-apcie-port2.dtsi" +#include +#include / { compatible = "apple,j604", "apple,t8132", "apple,arm-platform"; model = "Apple MacBook Pro (14-inch, M4, 2024)"; - chassis-type = "laptop"; - - led-controller { - compatible = "pwm-leds"; - led-0 { - pwms = <&fpwm1 0 40000>; - label = "kbd_backlight"; - function = LED_FUNCTION_KBD_BACKLIGHT; - color = ; - max-brightness = <255>; - default-state = "keep"; + + /* + * The AOP firmware runs the stream: the J616s frame, six playback and + * twelve sense slots, one serializer for all six amps. The codecs are + * listed in the ADT provider order, so each gets its native playback + * slot (LW1 0, RW1 1, LW2 2, RW2 3, LT 4, RT 5). The idle masks are + * the ADT amp-tx-zd-config rows 0 and 1: LW1 drives zeros in the right + * amps' sense slots, RW1 in the left amps'. + * + * The speakers wait for their own bring-up and a J604 protection + * profile; until then the card and the amps stay disabled. + */ + sound: sound { + compatible = "apple,j604-macaudio", "apple,macaudio"; + model = "MacBook Pro J604"; + /* ADT function-speaker-id0 and -id1 */ + speaker-id-gpios = <&pinctrl_ap 4 GPIO_ACTIVE_HIGH>, + <&pinctrl_ap 13 GPIO_ACTIVE_HIGH>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + dai-link@0 { + reg = <0>; + link-name = "Speakers"; + dai-tdm-idle-mode-0 = "zero"; + dai-tdm-idle-mode-1 = "zero"; + dai-tdm-slot-tx-idle-mask-0 = <0xf0f0f0>; + dai-tdm-slot-tx-idle-mask-1 = <0x0f0f0f>; + + cpu { + sound-dai = <&aop_audio 3>; + }; + + codec { + sound-dai = <&speaker_left_woof1>, <&speaker_right_woof1>, + <&speaker_left_woof2>, <&speaker_right_woof2>, + <&speaker_left_tweet>, <&speaker_right_tweet>; + }; + }; + }; + + /* + * Physical size of the firmware framebuffer's 3024x1890 area below + * the notch (14.2" panel, 254 ppi), so simpledrm reports the real DPI. + */ + fb_panel: panel { + width-mm = <302>; + height-mm = <189>; + status = "disabled"; + }; +}; + +&sound_jack { + compatible = "apple,j604-macaudio-jack", "apple,macaudio"; + model = "MacBook Pro J604 Jack"; +}; + +&aop_audio { + apple,chassis-name = "J604"; + apple,machine-kind = "MacBook Pro"; +}; + +/* + * The six SN012776 speaker amps (ADT /arm-io/i2c3/audio-speaker at 0x38 + * and its speaker1..5): one interrupt line on AP GPIO 14, level low; sense + * slots from speaker-config (amp i at bytes 4i and 4i + 2, in provider + * order). Every amp joins the SDZ fail-closed group. Disabled until the + * speakers' bring-up. + */ +&i2c3 { + status = "okay"; + + speaker_left_woof1: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + apple,deferred-shutdown; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 1"; + interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <0>; + ti,vmon-slot-no = <2>; + status = "disabled"; + }; + + speaker_left_woof2: codec@39 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x39>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + apple,deferred-shutdown; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 2"; + interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <8>; + ti,vmon-slot-no = <10>; + status = "disabled"; + }; + + speaker_left_tweet: codec@3a { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3a>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + apple,deferred-shutdown; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Tweeter"; + interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <16>; + ti,vmon-slot-no = <18>; + status = "disabled"; + }; + + speaker_right_woof1: codec@3b { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3b>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + apple,deferred-shutdown; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 1"; + interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <4>; + ti,vmon-slot-no = <6>; + status = "disabled"; + }; + + speaker_right_woof2: codec@3c { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3c>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + apple,deferred-shutdown; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 2"; + interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <12>; + ti,vmon-slot-no = <14>; + status = "disabled"; + }; + + speaker_right_tweet: codec@3d { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3d>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + apple,deferred-shutdown; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Tweeter"; + interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <20>; + ti,vmon-slot-no = <22>; + status = "disabled"; + }; +}; + +&typec0 { + label = "USB-C Left Front"; +}; + +&typec1 { + label = "USB-C Left Rear"; +}; + +/* hpm3 is ATC3's port controller; hpm5, the MagSafe port's, is not wired. */ +&nub_spmi_a1 { + status = "okay"; + + hpm3: usb-pd@c { + compatible = "apple,t8132-sn201202x", "apple,sn201202x"; + reg = <0xc SPMI_USID>; + interrupts = <11 IRQ_TYPE_EDGE_RISING>, + <17 IRQ_TYPE_EDGE_RISING>, + <19 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "sleep", "wake"; + wakeup-source; + + typec3: connector { + compatible = "usb-c-connector"; + label = "USB-C Right"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec3_connector_hs: endpoint { + remote-endpoint = <&dwc3_3_hs>; + }; + }; + + port@1 { + reg = <1>; + typec3_connector_ss: endpoint { + remote-endpoint = <&atcphy3_typec_lanes>; + }; + }; + }; }; }; }; -&fpwm1 { +&atcphy3 { status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + atcphy3_typec_lanes: endpoint { + remote-endpoint = <&typec3_connector_ss>; + }; + }; + }; +}; + +&dwc3_3_dart_0 { + status = "okay"; +}; + +&dwc3_3_dart_1 { + status = "okay"; +}; + +&dwc3_3 { + dr_mode = "host"; + maximum-speed = "super-speed"; + phys = <&atcphy3 PHY_TYPE_USB2>, <&atcphy3 PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_3_hs: endpoint { + remote-endpoint = <&typec3_connector_hs>; + }; + }; + }; +}; + +/* + * The HDMI port is dispext0 through ATC2's DisplayPort PHY (ADT atc-phy2, + * atc2-dpxbar, no USB controller) and a DP-to-HDMI converter at i2c0 0x08 + * (pcon0), with hot-plug on AOP GPIO 41. ATC2 stays off with dispext0. + */ + +&wifi0 { + /* ADT /arm-io/wlan module-instance */ + brcm,board-type = "apple,guam"; }; + +&bluetooth0 { + brcm,board-type = "apple,guam"; +}; + +/* + * The SD card reader, a GL9755 (ADT pci-bridge2/pcie-sdreader), powered by + * the SMC's gP19 (function-sd_pwr_en). + */ +&port02 { + pwren-gpios = <&smc_gpio 0x19 GPIO_ACTIVE_HIGH>; +}; + +&mtp_hid { + multi-touch { + firmware-name = "apple/tpmtfw-j604.bin"; + }; +}; + +&mesa { + /* + * Per-device factory data from this Mac's own iBoot system container: + * the calibration, and the signed root key the nonce session loads. + */ + firmware-name = "apple/mesacal-j604.bin", "apple/msrk-j604.bin"; +}; + +#include "hwmon-common.dtsi" +#include "hwmon-laptop.dtsi" +#include "hwmon-fan-dual.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8132-j623-j624.dtsi b/arch/arm64/boot/dts/apple/t8132-j623-j624.dtsi new file mode 100644 index 0000000000000..638c871acf30a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-j623-j624.dtsi @@ -0,0 +1,85 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple iMac (24-inch, M4, 2024): parts common to the 2-port (J623) and + * 4-port (J624) models. + * + * There is no ADT for these boards yet. The layout follows the M3 iMacs + * (J433, J434) and the T8132 wiring the J713, J604 and J773g ADTs share. + * Each value that is not from an ADT or the shared T8132 files is marked + * "guessed". + * + * Copyright The Asahi Linux Contributors + */ + +#include "t8132-desktop.dtsi" +#include "t8132-isp.dtsi" + +/ { + chassis-type = "all-in-one"; + + /* + * The headphone jack: the AOP audio component's jack back-end (DAI 4) + * to the CS42L84, as a card of its own. The speakers are not + * described until their amps are known. + */ + sound_jack: sound-jack { + #address-cells = <1>; + #size-cells = <0>; + + dai-link@0 { + reg = <0>; + link-name = "Headphone Jack"; + + cpu { + sound-dai = <&aop_audio 4>; + }; + + codec { + sound-dai = <&jack_codec>; + }; + }; + }; + + /* + * Physical size of the 4480x2520 panel (23.5", 218 ppi), so simpledrm + * reports the real DPI. + */ + fb_panel: panel { + width-mm = <522>; + height-mm = <294>; + status = "disabled"; + }; +}; + +&framebuffer0 { + panel = <&fb_panel>; +}; + +&aop_audio { + /* The microphones on LEAP, the jack on base-ns TX2 and RX2 (guessed). */ + dmas = <&admac0 1>, <&admac1 4>, <&admac1 5>; + dma-names = "dma", "cout", "cin"; + apple,machine-kind = "iMac"; +}; + +/* The headphone codec's tip sense is inverted (guessed, as on the M3 iMacs). */ +&jack_codec { + cirrus,ts-inv = <1>; +}; + +/* The port controllers' places are guessed, as on every M4 ADT. */ +&typec0 { + label = "USB-C Back 1"; +}; + +&typec1 { + label = "USB-C Back 2"; +}; + +/* + * brcm,board-type is "apple," + the ADT /arm-io/wlan module-instance, + * which is not known for these boards; the boot loader supplies it. + */ + +#include "hwmon-common.dtsi" +#include "hwmon-fan-dual.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8132-j623.dts b/arch/arm64/boot/dts/apple/t8132-j623.dts index 9b94a6ae74a20..ae232af299d11 100644 --- a/arch/arm64/boot/dts/apple/t8132-j623.dts +++ b/arch/arm64/boot/dts/apple/t8132-j623.dts @@ -10,10 +10,18 @@ /dts-v1/; #include "t8132.dtsi" -#include "t8132-jxxx.dtsi" +#include "t8132-j623-j624.dtsi" / { compatible = "apple,j623", "apple,t8132", "apple,arm-platform"; model = "Apple iMac (24-inch, 2x USB-C, M4, 2024)"; - chassis-type = "all-in-one"; +}; + +&sound_jack { + compatible = "apple,j623-macaudio-jack", "apple,macaudio"; + model = "iMac J623 Jack"; +}; + +&aop_audio { + apple,chassis-name = "J623"; }; diff --git a/arch/arm64/boot/dts/apple/t8132-j624.dts b/arch/arm64/boot/dts/apple/t8132-j624.dts index 37e1a46f89b84..833f7a2788fe3 100644 --- a/arch/arm64/boot/dts/apple/t8132-j624.dts +++ b/arch/arm64/boot/dts/apple/t8132-j624.dts @@ -10,10 +10,190 @@ /dts-v1/; #include "t8132.dtsi" -#include "t8132-jxxx.dtsi" +#include "t8132-j623-j624.dtsi" +#include "t8132-atc23.dtsi" / { compatible = "apple,j624", "apple,t8132", "apple,arm-platform"; model = "Apple iMac (24-inch, 4x USB-C, M4, 2024)"; - chassis-type = "all-in-one"; +}; + +&sound_jack { + compatible = "apple,j624-macaudio-jack", "apple,macaudio"; + model = "iMac J624 Jack"; +}; + +&aop_audio { + apple,chassis-name = "J624"; +}; + +/* + * The third and fourth ports on ATC3 and ATC2. Their port controllers are + * guessed: ATC3's at nub-spmi-a0 0x8 as on the Mac mini, ATC2's at + * nub-spmi-a1 0xc as the MacBook Pro's extra port. + */ +&nub_spmi_a0 { + hpm3: usb-pd@8 { + compatible = "apple,t8132-sn201202x", "apple,sn201202x"; + reg = <0x8 SPMI_USID>; + interrupts = <63 IRQ_TYPE_EDGE_RISING>, + <69 IRQ_TYPE_EDGE_RISING>, + <71 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "sleep", "wake"; + wakeup-source; + + typec3: connector { + compatible = "usb-c-connector"; + label = "USB-C Back 3"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec3_connector_hs: endpoint { + remote-endpoint = <&dwc3_3_hs>; + }; + }; + + port@1 { + reg = <1>; + typec3_connector_ss: endpoint { + remote-endpoint = <&atcphy3_typec_lanes>; + }; + }; + }; + }; + }; +}; + +&nub_spmi_a1 { + status = "okay"; + + hpm2: usb-pd@c { + compatible = "apple,t8132-sn201202x", "apple,sn201202x"; + reg = <0xc SPMI_USID>; + interrupts = <11 IRQ_TYPE_EDGE_RISING>, + <17 IRQ_TYPE_EDGE_RISING>, + <19 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "sleep", "wake"; + wakeup-source; + + typec2: connector { + compatible = "usb-c-connector"; + label = "USB-C Back 4"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec2_connector_hs: endpoint { + remote-endpoint = <&dwc3_2_hs>; + }; + }; + + port@1 { + reg = <1>; + typec2_connector_ss: endpoint { + remote-endpoint = <&atcphy2_typec_lanes>; + }; + }; + }; + }; + }; +}; + +&atcphy2 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + atcphy2_typec_lanes: endpoint { + remote-endpoint = <&typec2_connector_ss>; + }; + }; + }; +}; + +&dwc3_2_dart_0 { + status = "okay"; +}; + +&dwc3_2_dart_1 { + status = "okay"; +}; + +&dwc3_2 { + dr_mode = "host"; + maximum-speed = "super-speed"; + phys = <&atcphy2 PHY_TYPE_USB2>, <&atcphy2 PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_2_hs: endpoint { + remote-endpoint = <&typec2_connector_hs>; + }; + }; + }; +}; + +&atcphy3 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + atcphy3_typec_lanes: endpoint { + remote-endpoint = <&typec3_connector_ss>; + }; + }; + }; +}; + +&dwc3_3_dart_0 { + status = "okay"; +}; + +&dwc3_3_dart_1 { + status = "okay"; +}; + +&dwc3_3 { + dr_mode = "host"; + maximum-speed = "super-speed"; + phys = <&atcphy3 PHY_TYPE_USB2>, <&atcphy3 PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_3_hs: endpoint { + remote-endpoint = <&typec3_connector_hs>; + }; + }; + }; }; diff --git a/arch/arm64/boot/dts/apple/t8132-j713-dcpext.dtsi b/arch/arm64/boot/dts/apple/t8132-j713-dcpext.dtsi deleted file mode 100644 index 49d2983481b04..0000000000000 --- a/arch/arm64/boot/dts/apple/t8132-j713-dcpext.dtsi +++ /dev/null @@ -1,322 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Apple MacBook Air (13-inch, M4) external display coprocessors (DCP-ext). - * - * T8132 has two external display pipes, dispext0 and dispext1, each with - * its own DCP, mailbox, DCP DART and display DART. They mirror the - * internal display (t8132-j713-display.dtsi) at other bases and share its - * firmware clock window (disp-4), which also holds their realtime bandwidth - * request slots in the PMC. - * - * iBoot starts both and leaves them quiesced, as it does the internal one. - * When the boot loader hands them over (opt-in, and only after the internal - * display was handed over), it reserves their firmware memory, publishes - * its UUID and version and marks each node - * apple,t8132-dcpext-firmware-ready. The DCP driver adopts only a marked - * coprocessor, and the DART driver leaves its firmware and display DARTs - * untouched otherwise. PIODMA is enabled at runtime once the display DART - * is adopted. - * - * Streams: SID23 for the firmware, SID0 scanout and SID16 PIODMA, as on - * the internal display. - * - * Copyright The Asahi Linux Contributors - */ - -/ { - aliases { - dcpext0 = &dcpext0; - dcpext1 = &dcpext1; - }; -}; - -&soc { - dcpext0_mbox: mailbox@286e08000 { - compatible = "apple,t8132-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x2 0x86e08000 0x0 0x4000>; - interrupt-parent = <&aic>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - power-domains = <&ps_dispext0_cpu>; - #mbox-cells = <0>; - }; - - dcpext0_dart: iommu@286340000 { - compatible = "apple,t8132-dart", "apple,t8110-dart"; - reg = <0x2 0x86340000 0x0 0x20000>; - interrupt-parent = <&aic>; - interrupts = ; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x10 0x0>; - power-domains = <&ps_dispext0_cpu>; - }; - - dispext0_dart: iommu@286300000 { - compatible = "apple,t8132-dart", "apple,t8110-dart"; - reg = <0x2 0x86300000 0x0 0xc000>; - interrupt-parent = <&aic>; - interrupts = ; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x10 0x0>; - power-domains = <&ps_dispext0_cpu>; - }; - - dcpext0: dcp@286e00000 { - compatible = "apple,t8132-dcpext"; - reg = <0x2 0x86e00000 0x0 0x4000>, - <0x2 0x84000000 0x0 0xc20000>, - <0x2 0x86240000 0x0 0x10000>, - <0x2 0x863a8000 0x0 0x4000>, - <0x2 0x86800000 0x0 0x800000>, - <0x3 0x82800000 0x0 0xbc000>, - <0x2 0x86850000 0x0 0x4000>; - reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", - "disp-4", "iop-vbar"; - mboxes = <&dcpext0_mbox>; - mbox-names = "mbox"; - iommus = <&dcpext0_dart 23>; - power-domains = <&ps_dispext0_cpu>; - dma-noncoherent; - apple,dcp-index = <1>; - apple,bw-scratch = <&pmgr_dcpext 0 4 0>; - #address-cells = <2>; - #size-cells = <2>; - - dcpext0_piodma: piodma { - iommus = <&dispext0_dart 16>; - dma-noncoherent; - status = "disabled"; - }; - }; - - /* - * The external pipes' realtime bandwidth request slots in the PMC, - * 0x2c000 and 0x30000 into the window the dcpexts have as disp-4. - */ - pmgr_dcpext: power-management@38282c000 { - reg = <0x3 0x8282c000 0x0 0x8>, - <0x3 0x82830000 0x0 0x8>; - reg-names = "dcpext0-bw-scratch", "dcpext1-bw-scratch"; - #apple,bw-scratch-cells = <3>; - }; - - dcpext1_mbox: mailbox@48ae08000 { - compatible = "apple,t8132-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x4 0x8ae08000 0x0 0x4000>; - interrupt-parent = <&aic>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - power-domains = <&ps_dispext1_cpu>; - #mbox-cells = <0>; - }; - - dcpext1_dart: iommu@48a340000 { - compatible = "apple,t8132-dart", "apple,t8110-dart"; - reg = <0x4 0x8a340000 0x0 0x20000>; - interrupt-parent = <&aic>; - interrupts = ; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x10 0x0>; - power-domains = <&ps_dispext1_cpu>; - }; - - dispext1_dart: iommu@48a300000 { - compatible = "apple,t8132-dart", "apple,t8110-dart"; - reg = <0x4 0x8a300000 0x0 0xc000>; - interrupt-parent = <&aic>; - interrupts = ; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x10 0x0>; - power-domains = <&ps_dispext1_cpu>; - }; - - dcpext1: dcp@48ae00000 { - compatible = "apple,t8132-dcpext"; - reg = <0x4 0x8ae00000 0x0 0x4000>, - <0x4 0x88000000 0x0 0xc20000>, - <0x4 0x8a240000 0x0 0x10000>, - <0x4 0x8a3a8000 0x0 0x4000>, - <0x4 0x8a800000 0x0 0x800000>, - <0x3 0x82800000 0x0 0xbc000>, - <0x4 0x8a850000 0x0 0x4000>; - reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", - "disp-4", "iop-vbar"; - mboxes = <&dcpext1_mbox>; - mbox-names = "mbox"; - iommus = <&dcpext1_dart 23>; - power-domains = <&ps_dispext1_cpu>; - dma-noncoherent; - apple,dcp-index = <2>; - apple,bw-scratch = <&pmgr_dcpext 1 4 0>; - #address-cells = <2>; - #size-cells = <2>; - - dcpext1_piodma: piodma { - iommus = <&dispext1_dart 16>; - dma-noncoherent; - status = "disabled"; - }; - }; -}; - -/* - * The display crossbars of both ATCs, for the dcpexts' Type-C routes. Probe - * touches no register; an output is only programmed once it is selected. - */ -&atc0_dpxbar { - status = "okay"; -}; - -&atc1_dpxbar { - status = "okay"; -}; - -/* - * dcpext0's Type-C routes, UFP mux selector 2 on both ATC crossbars - * (cells 0/1/2: DP PHY, DP IN0, DP IN1). The ATC PHYs have no DP alt mode: - * the routes are for DisplayPort tunnels, and DP alt mode is refused. The - * routes are disabled here; the display gate enables them only for a dcpext - * the boot loader handed over, since a USB-C port controller waits for every - * available route. - */ -&dcpext0 { - apple,connector-type = "USB-C"; - phys = <&atcphy0 PHY_TYPE_DP>, <&atcphy1 PHY_TYPE_DP>; - phy-names = "typec0", "typec1"; - mux-controls = <&atc0_dpxbar 0>, <&atc1_dpxbar 0>, - <&atc0_dpxbar 1>, <&atc0_dpxbar 2>, - <&atc1_dpxbar 1>, <&atc1_dpxbar 2>; - mux-control-names = "typec0", "typec1", - "typec0-dpin0", "typec0-dpin1", - "typec1-dpin0", "typec1-dpin1"; - apple,typec-mux-indices = <2 2>; - apple,typec-dptx-phys = <0 1>; - - typec-routes { - #address-cells = <1>; - #size-cells = <0>; - - route@0 { - reg = <0>; - mode-switch; - status = "disabled"; - - port { - dcpext0_typec0: endpoint { - remote-endpoint = <&typec0_dcpext0>; - }; - }; - }; - - route@1 { - reg = <1>; - mode-switch; - status = "disabled"; - - port { - dcpext0_typec1: endpoint { - remote-endpoint = <&typec1_dcpext0>; - }; - }; - }; - }; -}; - -/* - * dcpext1's Type-C routes, UFP mux selector 4 on both ATC crossbars - * (cells 0/1/2: DP PHY, DP IN0, DP IN1). The ATC PHYs have no DP alt mode: - * the routes are for DisplayPort tunnels, and DP alt mode is refused. The - * routes are disabled here; the display gate enables them only for a dcpext - * the boot loader handed over, since a USB-C port controller waits for every - * available route. - */ -&dcpext1 { - apple,connector-type = "USB-C"; - phys = <&atcphy0 PHY_TYPE_DP>, <&atcphy1 PHY_TYPE_DP>; - phy-names = "typec0", "typec1"; - mux-controls = <&atc0_dpxbar 0>, <&atc1_dpxbar 0>, - <&atc0_dpxbar 1>, <&atc0_dpxbar 2>, - <&atc1_dpxbar 1>, <&atc1_dpxbar 2>; - mux-control-names = "typec0", "typec1", - "typec0-dpin0", "typec0-dpin1", - "typec1-dpin0", "typec1-dpin1"; - apple,typec-mux-indices = <4 4>; - apple,typec-dptx-phys = <0 1>; - - typec-routes { - #address-cells = <1>; - #size-cells = <0>; - - route@0 { - reg = <0>; - mode-switch; - status = "disabled"; - - port { - dcpext1_typec0: endpoint { - remote-endpoint = <&typec0_dcpext1>; - }; - }; - }; - - route@1 { - reg = <1>; - mode-switch; - status = "disabled"; - - port { - dcpext1_typec1: endpoint { - remote-endpoint = <&typec1_dcpext1>; - }; - }; - }; - }; -}; - -&typec0 { - ports { - port@3 { - reg = <3>; - #address-cells = <1>; - #size-cells = <0>; - - typec0_dcpext0: endpoint@0 { - reg = <0>; - remote-endpoint = <&dcpext0_typec0>; - }; - - typec0_dcpext1: endpoint@1 { - reg = <1>; - remote-endpoint = <&dcpext1_typec0>; - }; - }; - }; -}; - -&typec1 { - ports { - port@3 { - reg = <3>; - #address-cells = <1>; - #size-cells = <0>; - - typec1_dcpext0: endpoint@0 { - reg = <0>; - remote-endpoint = <&dcpext0_typec1>; - }; - - typec1_dcpext1: endpoint@1 { - reg = <1>; - remote-endpoint = <&dcpext1_typec1>; - }; - }; - }; -}; diff --git a/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi b/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi index f510a2be2ead4..ee0fe73467e64 100644 --- a/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-j713-j715.dtsi @@ -2,651 +2,361 @@ /* * Apple MacBook Air (13-inch and 15-inch, M4, 2025) * - * The parts the J713 and J715 share. Their ADTs differ in the panel, the - * speakers, the radio's firmware island and the ATC PHY trims; the J715 - * overrides the last two, and each board adds its own panel, speakers and - * firmware names. + * The parts the J713 and J715 share. The J715 overrides the radio's + * firmware island and the ATC PHY trims; each board adds its panel, + * speakers and firmware names. * * Copyright The Asahi Linux Contributors */ +#include "t8132-laptop.dtsi" #include "t8132-j713-pmgr.dtsi" -#include -#include #include -#include / { aliases { - sep = &sep; - ans = &nvme; - ans-mbox = &ans_mbox; - atcphy0 = &atcphy0; - atcphy1 = &atcphy1; - bluetooth0 = &bluetooth0; - keyboard = &keyboard; - nvram = &nvram; - pmu-primary = &pmic1; - pmp = &pmp; - sart-ans = &sart; - spmi-primary = &nub_spmi; - wifi0 = &wifi0; - }; - - chosen { - linux-enablement-mac,disk-boot; - linux-enablement-mac,dapf-handoff = "/arm-io/aop", "/arm-io/mtp", - "/arm-io/pmp"; - linux-enablement-mac,dapf-power-on-handoff = "/arm-io/pmp"; - }; - - led-controller { - compatible = "pwm-leds"; - led-0 { - pwms = <&fpwm1 0 40000>; - label = "kbd_backlight"; - function = LED_FUNCTION_KBD_BACKLIGHT; - color = ; - max-brightness = <255>; - default-state = "keep"; - }; - }; - - reserved-memory { - /* - * iBoot loads the ISP firmware outside the kernel's memory, at - * addresses that move with the boot firmware. The boot loader - * fills these placeholders from the ADT's isp segment-ranges: reg, - * and iommu-addresses where the firmware runs them, from - * 0x100_0000_0000 on. The driver checks that the coprocessor's - * reset vector is this text before it starts the firmware. - */ - isp_fw_text: isp-firmware-text { }; - - isp_fw_data: isp-firmware-data { }; - - /* the firmware's 20 MiB main memory, the driver allocates above it */ - isp_heap: isp-heap { - iommu-addresses = <&isp 0x100 0x0 0x0 0x1400000>; - }; + disp0_piodma = &disp0_piodma; }; +}; - /* - * The boot NOR runs from a PMU rail that is on whenever the SoC is - * and that no OS switches. The ADT gives the flash no supply. - */ - nor_flash_vcc: regulator-nor-flash-vcc { - compatible = "regulator-fixed"; - regulator-name = "nor-flash-vcc"; - regulator-always-on; - }; +/* The J713 loader tree has these placeholders. */ +&gpu_ttbs { + reg = <0 0 0 0>; }; -/* - * The boot loader enables the ISP and its DARTs once it has filled the - * firmware placeholders and set apple,platform-id, the ADT isp node's - * sensor-type (neither ADT has a cam-connections-scheme). - */ -&isp { - memory-region = <&isp_fw_text>, <&isp_fw_data>, <&isp_heap>; - memory-region-names = "text", "data", "heap"; - - /* The front camera, an IMX958: configuration 5, as on the J616s. */ - sensor-presets { - /* 1920x1080 */ - preset0 { - apple,config-index = <5>; - apple,input-size = <1920 2160>; - apple,output-size = <1920 1080>; - apple,crop = <0 0 1920 1080>; - }; - /* 1280x720 */ - preset1 { - apple,config-index = <5>; - apple,input-size = <1920 2160>; - apple,output-size = <1280 720>; - apple,crop = <0 0 1280 720>; - }; - }; +&gpu_pagetables { + reg = <0 0 0 0>; }; -/* - * m1n1 programs the AOP DART's DAPF and reserves the firmware segments and - * the DAPF windows in memory-region when /chosen asks for the AOP's handoff, - * or disables the AOP. - */ -&aop { - status = "okay"; +&gpu_handoff { + reg = <0 0 0 0>; }; -&aop_audio { - /* - * The microphones on LEAP; the speakers and their sense on base-ns TX0 - * and RX0 (the J616s stream: six playback and twelve sense slots; the - * J713's four amps take the first four and eight, the J715's six all - * of them), the jack on TX2 and RX2. - */ - dmas = <&admac0 1>, <&admac1 0>, <&admac1 1>, <&admac1 4>, <&admac1 5>; - dma-names = "dma", "spkr", "sense", "cout", "cin"; +&gpu_shared_l2 { + reg = <0 0 0 0>; }; -/* - * The CS42L84 headphone codec (ADT /arm-io/i2c1/audio-codec-output at 0x4b). - * Its reset line is nub GPIO 17, driven high to run the codec; its interrupt - * is AP GPIO 98, level low. The AOP firmware runs the jack's stream. - */ -&i2c1 { - status = "okay"; +&gpu_fw_text { + reg = <0 0 0 0>; +}; - jack_codec: codec@4b { - compatible = "cirrus,cs42l84"; - reg = <0x4b>; - reset-gpios = <&pinctrl_nub 17 GPIO_ACTIVE_HIGH>; - #sound-dai-cells = <0>; - interrupts-extended = <&pinctrl_ap 98 IRQ_TYPE_LEVEL_LOW>; - sound-name-prefix = "Jack"; - }; +&gpu_fw_data { + reg = <0 0 0 0>; }; -&aop_dart { - status = "okay"; +&framebuffer0 { + /delete-property/ power-domains; }; -&aop_mbox { - status = "okay"; - /* A periodic report need not wake the system. */ - apple,hold-rx-in-sleep; +&typec0 { + label = "USB-C native client"; }; -&admac0 { - status = "okay"; +&typec1 { + label = "USB-C MagSafe-adjacent"; }; -&admac1 { - status = "okay"; +/* The radio's firmware island: the J713's here, the J715 overrides it. */ +&wifi0 { + brcm,board-type = "apple,garden"; }; -/* Enable DVFS only with the board thermal owner. */ -&cpufreq_e { - status = "okay"; +&bluetooth0 { + brcm,board-type = "apple,garden"; }; -&cpufreq_p { - status = "okay"; +/* An external pipe's PMC enables follow its SYS state, before its FE. */ +&ps_dispext0_fe { + power-domains = <&ps_dispext0_sys>, <&pmc_dispext0>; }; -&cpuidle { - status = "okay"; +&ps_dispext1_fe { + power-domains = <&ps_dispext1_sys>, <&pmc_dispext1>; }; -&qspi { - status = "okay"; +&smc_hwmon { + current-ID0R { + apple,key-id = "ID0R"; + label = "AC Input Current"; + }; - flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - spi-max-frequency = <10000000>; - vcc-supply = <&nor_flash_vcc>; - spi-rx-bus-width = <1>; - spi-tx-bus-width = <1>; + /* Panel and backlight supply; tracks brightness, idles when blanked. */ + current-Ib8f { + apple,key-id = "Ib8f"; + label = "Display Supply Current"; + }; - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; + power-PDTR { + apple,key-id = "PDTR"; + label = "AC Input Power"; + }; - nvram: partition@700000 { - label = "nvram"; - /* ADT /arm-io/qspi/spinor/anvram, flash-relative. */ - reg = <0x700000 0x100000>; - }; - }; + power-PMVC { + apple,key-id = "PMVC"; + label = "3.8 V Rail Power"; }; -}; -/* - * m1n1 performs the T8132 controller and PHY initialization. Linux adopts - * the trained link and owns DART stream 16, RID-to-SID routing and MSI. - * - * The DART fault interrupt is taken from the ADT, independently of - * the PCIe port and MSI interrupts. - */ -&nub_spmi_a0 { - status = "okay"; - hpm1: usb-pd@a { - compatible = "apple,t8132-sn201202x", "apple,sn201202x"; - reg = <0xa SPMI_USID>; - interrupts = <37 IRQ_TYPE_EDGE_RISING>, - <43 IRQ_TYPE_EDGE_RISING>, - <45 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "irq", "sleep", "wake"; - wakeup-source; - - typec1: connector { - compatible = "usb-c-connector"; - label = "USB-C MagSafe-adjacent"; - power-role = "dual"; - data-role = "dual"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - typec1_connector_hs: endpoint { - remote-endpoint = <&dwc3_1_hs>; - }; - }; + power-PSTR { + apple,key-id = "PSTR"; + label = "Total System Power"; + }; - port@1 { - reg = <1>; - typec1_connector_ss: endpoint { - remote-endpoint = <&atcphy1_typec_lanes>; - }; - }; - }; - }; + temperature-TB0T { + apple,key-id = "TB0T"; + label = "Battery Hotspot"; }; - hpm0: usb-pd@c { - compatible = "apple,t8132-sn201202x", "apple,sn201202x"; - reg = <0xc SPMI_USID>; - interrupts = <11 IRQ_TYPE_EDGE_RISING>, - <17 IRQ_TYPE_EDGE_RISING>, - <19 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "irq", "sleep", "wake"; - wakeup-source; - - typec0: connector { - compatible = "usb-c-connector"; - label = "USB-C native client"; - power-role = "dual"; - data-role = "dual"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - typec0_connector_hs: endpoint { - remote-endpoint = <&dwc3_0_hs>; - }; - }; - port@1 { - reg = <1>; - typec0_connector_ss: endpoint { - remote-endpoint = <&atcphy0_typec_lanes>; - }; - }; - }; - }; + temperature-TCHP { + apple,key-id = "TCHP"; + label = "Charge Regulator Temp"; + }; + + temperature-TH0x { + apple,key-id = "TH0x"; + label = "NAND Flash Temperature"; + }; + + temperature-TW0P { + apple,key-id = "TW0P"; + label = "WiFi/BT Module Temp"; + }; + + voltage-SBAV { + apple,key-id = "SBAV"; + label = "Battery Voltage"; + }; + + voltage-VD0R { + apple,key-id = "VD0R"; + label = "Charger Input Voltage"; }; }; -&pmp_dart { +/* GPU: the outer TVM gate is the parent of the GFX domain. */ +&gfx_tvm { status = "okay"; }; -&pmp_report { +&gpu { status = "okay"; }; -&pmp_mbox { +&agx_mbox { status = "okay"; }; -&atcphy0 { +&ps_gfx { + power-domains = <&gfx_tvm>; + /* The G16 firmware stays live across suspend-to-idle. */ + apple,sleep-retained; status = "okay"; - /* Leave the display crossbar at core + 0x4c000 to its own driver. */ - reg = <0x4 0x02a90000 0x0 0x4000>, - <0x4 0x02a84000 0x0 0x4000>, - <0x4 0x03000000 0x0 0x24000>, - <0x4 0x00000000 0x0 0x8000>, - <0x4 0x00020000 0x0 0x4000>, - <0x4 0x03044000 0x0 0x4000>, - <0x4 0x03050000 0x0 0x4000>; - reg-names = "usb2phy", "pipehandler", "core", "axi2af", "lioa", - "fabric", "common-config"; - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - atcphy0_typec_lanes: endpoint { - remote-endpoint = <&typec0_connector_ss>; - }; - }; - }; }; -&dwc3_0_dart_0 { - status = "okay"; +/* The report provider owns readiness for shared PMP commands. */ +&pmp { + apple,pmp-report = <&pmp_report>; }; -&dwc3_0_dart_1 { +/* + * Internal display: the loader enables disp0_dart, piodma and the display + * subsystem once it has validated the inherited frontend mappings. + */ +&dcp_mbox { status = "okay"; }; -&dwc3_0 { +&dcp_dart { status = "okay"; - dr_mode = "host"; - maximum-speed = "super-speed"; - phys = <&atcphy0 PHY_TYPE_USB2>, <&atcphy0 PHY_TYPE_USB3>; - phy-names = "usb2-phy", "usb3-phy"; - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - dwc3_0_hs: endpoint { - remote-endpoint = <&typec0_connector_hs>; - }; - }; - }; }; -&atcphy1 { +&dcp { + apple,j713-native-piodma; + apple,j713-native-scanout; + /* Full 2560x1664 panel including the notch rows, 224 ppi. */ + apple,panel-width-mm = <290>; + apple,panel-height-mm = <188>; status = "okay"; - /* Leave the display crossbar at core + 0x4c000 to its own driver. */ - reg = <0x4 0x0aa90000 0x0 0x4000>, - <0x4 0x0aa84000 0x0 0x4000>, - <0x4 0x0b000000 0x0 0x24000>, - <0x4 0x08000000 0x0 0x8000>, - <0x4 0x08020000 0x0 0x4000>, - <0x4 0x0b044000 0x0 0x4000>, - <0x4 0x0b050000 0x0 0x4000>; - reg-names = "usb2phy", "pipehandler", "core", "axi2af", "lioa", - "fabric", "common-config"; - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - atcphy1_typec_lanes: endpoint { - remote-endpoint = <&typec1_connector_ss>; - }; - }; - }; }; -&dwc3_1_dart_0 { +/* External displays: both pipes, routed to either USB-C port. */ +&dcpext0_mbox { status = "okay"; }; -&dwc3_1_dart_1 { +&dcpext0_dart { status = "okay"; }; -&dwc3_1 { +&dispext0_dart { status = "okay"; - dr_mode = "host"; - maximum-speed = "super-speed"; - phys = <&atcphy1 PHY_TYPE_USB2>, <&atcphy1 PHY_TYPE_USB3>; - phy-names = "usb2-phy", "usb3-phy"; - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - dwc3_1_hs: endpoint { - remote-endpoint = <&typec1_connector_hs>; - }; - }; - }; }; -&dart_apcie0 { +&dcpext1_mbox { status = "okay"; - apple,managed-sids = <1 2>; - apple,dma-range = <0x100 0x00100000 0x0 0x3fe00000>; }; -/* The radio's board-type is its firmware island: the J713's here. */ -&pcie0 { +&dcpext1_dart { status = "okay"; - apple,managed-sids = <1 2>; - iommu-map = <0x100 &dart_apcie0 1 2>; - iommu-map-mask = <0xffff>; - pci@0,0 { - pwren-gpios = <&smc_gpio 0x13 GPIO_ACTIVE_HIGH>; - reset-gpios = <&pinctrl_ap 163 GPIO_ACTIVE_LOW>; - bluetooth0: bluetooth@0,1 { - compatible = "pci14e4,5f72"; - reg = <0x10100 0x0 0x0 0x0 0x0>; - brcm,board-type = "apple,garden"; - /* Per-machine address and calibration supplied by m1n1. */ - local-bd-address = [00 00 00 00 00 00]; - }; - wifi0: wifi@0,0 { - compatible = "pci14e4,4434"; - reg = <0x10000 0x0 0x0 0x0 0x0>; - brcm,board-type = "apple,garden"; - local-mac-address = [00 00 00 00 00 00]; - apple,antenna-sku = "XX"; - }; - }; }; -&fpwm1 { +&dispext1_dart { status = "okay"; }; -&mcc { +&atc0_dpxbar { status = "okay"; - apple,boot-dma-devices = <&pmp>; }; -&pmc { +&atc1_dpxbar { status = "okay"; - apple,static-voters = <3>; }; /* - * The PMC enables of an external pipe are set once the pipe's SYS state is - * on, and before its FE state powers on. + * dcpext0's Type-C routes, UFP mux selector 2 on both ATC crossbars + * (cells 0/1/2: DP PHY, DP IN0, DP IN1). The ATC PHYs have no DP alt mode: + * the routes are for DisplayPort tunnels, and DP alt mode is refused. The + * routes are disabled here; the display gate enables them only for a dcpext + * the boot loader handed over, since a USB-C port controller waits for every + * available route. */ -&ps_dispext0_fe { - power-domains = <&ps_dispext0_sys>, <&pmc_dispext0>; -}; - -&ps_dispext1_fe { - power-domains = <&ps_dispext1_sys>, <&pmc_dispext1>; -}; - -&smc { - status = "okay"; - - hwmon { - compatible = "apple,smc-hwmon"; - - current-ID0R { - apple,key-id = "ID0R"; - label = "AC Input Current"; - }; - - /* Panel and backlight supply; tracks brightness, idles when blanked. */ - current-Ib8f { - apple,key-id = "Ib8f"; - label = "Display Supply Current"; - }; +&dcpext0 { + apple,connector-type = "USB-C"; + phys = <&atcphy0 PHY_TYPE_DP>, <&atcphy1 PHY_TYPE_DP>; + phy-names = "typec0", "typec1"; + mux-controls = <&atc0_dpxbar 0>, <&atc1_dpxbar 0>, + <&atc0_dpxbar 1>, <&atc0_dpxbar 2>, + <&atc1_dpxbar 1>, <&atc1_dpxbar 2>; + mux-control-names = "typec0", "typec1", + "typec0-dpin0", "typec0-dpin1", + "typec1-dpin0", "typec1-dpin1"; + apple,typec-mux-indices = <2 2>; + apple,typec-dptx-phys = <0 1>; + + status = "okay"; + + typec-routes { + #address-cells = <1>; + #size-cells = <0>; - power-PDTR { - apple,key-id = "PDTR"; - label = "AC Input Power"; - }; + route@0 { + reg = <0>; + mode-switch; + status = "disabled"; - power-PMVC { - apple,key-id = "PMVC"; - label = "3.8 V Rail Power"; + port { + dcpext0_typec0: endpoint { + remote-endpoint = <&typec0_dcpext0>; + }; + }; }; - power-PSTR { - apple,key-id = "PSTR"; - label = "Total System Power"; - }; + route@1 { + reg = <1>; + mode-switch; + status = "disabled"; - temperature-TB0T { - apple,key-id = "TB0T"; - label = "Battery Hotspot"; + port { + dcpext0_typec1: endpoint { + remote-endpoint = <&typec1_dcpext0>; + }; + }; }; + }; +}; - temperature-TCHP { - apple,key-id = "TCHP"; - label = "Charge Regulator Temp"; - }; +/* + * dcpext1's Type-C routes, UFP mux selector 4 on both ATC crossbars + * (cells 0/1/2: DP PHY, DP IN0, DP IN1). The ATC PHYs have no DP alt mode: + * the routes are for DisplayPort tunnels, and DP alt mode is refused. The + * routes are disabled here; the display gate enables them only for a dcpext + * the boot loader handed over, since a USB-C port controller waits for every + * available route. + */ +&dcpext1 { + apple,connector-type = "USB-C"; + phys = <&atcphy0 PHY_TYPE_DP>, <&atcphy1 PHY_TYPE_DP>; + phy-names = "typec0", "typec1"; + mux-controls = <&atc0_dpxbar 0>, <&atc1_dpxbar 0>, + <&atc0_dpxbar 1>, <&atc0_dpxbar 2>, + <&atc1_dpxbar 1>, <&atc1_dpxbar 2>; + mux-control-names = "typec0", "typec1", + "typec0-dpin0", "typec0-dpin1", + "typec1-dpin0", "typec1-dpin1"; + apple,typec-mux-indices = <4 4>; + apple,typec-dptx-phys = <0 1>; + + status = "okay"; + + typec-routes { + #address-cells = <1>; + #size-cells = <0>; - temperature-TH0x { - apple,key-id = "TH0x"; - label = "NAND Flash Temperature"; - }; + route@0 { + reg = <0>; + mode-switch; + status = "disabled"; - temperature-TW0P { - apple,key-id = "TW0P"; - label = "WiFi/BT Module Temp"; + port { + dcpext1_typec0: endpoint { + remote-endpoint = <&typec0_dcpext1>; + }; + }; }; - voltage-SBAV { - apple,key-id = "SBAV"; - label = "Battery Voltage"; - }; + route@1 { + reg = <1>; + mode-switch; + status = "disabled"; - voltage-VD0R { - apple,key-id = "VD0R"; - label = "Charger Input Voltage"; + port { + dcpext1_typec1: endpoint { + remote-endpoint = <&typec1_dcpext1>; + }; + }; }; }; - - rtc { - compatible = "apple,smc-rtc"; - nvmem-cells = <&rtc_offset>; - nvmem-cell-names = "rtc_offset"; - }; - - reboot { - compatible = "apple,t8132-smc-reboot", "apple,smc-reboot"; - nvmem-cells = <&shutdown_flag>, <&boot_stage>, - <&boot_error_count>, <&panic_count>; - nvmem-cell-names = "shutdown_flag", "boot_stage", - "boot_error_count", "panic_count"; - }; }; -&smc_mbox { - status = "okay"; -}; - -&nub_spmi { - status = "okay"; - - pmic1: pmic@0 { - compatible = "apple,abbey-pmic", "apple,spmi-nvmem"; - reg = <0x0 SPMI_USID>; /* To be filled by loader */ - - nvmem-layout { - compatible = "fixed-layout"; +&typec0 { + ports { + port@3 { + reg = <3>; #address-cells = <1>; - #size-cells = <1>; - - rtc_offset: rtc-offset@2100 { - reg = <0x2100 0x6>; - }; - - boot_stage: boot-stage@f801 { - reg = <0xf801 0x1>; - }; + #size-cells = <0>; - boot_error_count: boot-error-count@f802,0 { - reg = <0xf802 0x1>; - bits = <0 4>; + typec0_dcpext0: endpoint@0 { + reg = <0>; + remote-endpoint = <&dcpext0_typec0>; }; - panic_count: panic-count@f802,4 { - reg = <0xf802 0x1>; - bits = <4 4>; - }; - - shutdown_flag: shutdown-flag@f80f,3 { - reg = <0xf80f 0x1>; - bits = <3 1>; + typec0_dcpext1: endpoint@1 { + reg = <1>; + remote-endpoint = <&dcpext1_typec0>; }; }; }; }; -&mtp { - status = "okay"; -}; - -&mtp_mbox { - status = "okay"; -}; - -&mtp_dart { - status = "okay"; -}; - -&mtp_dockchannel { - status = "okay"; -}; - -&mtp_hid { - apple,afe-reset-gpios = <&smc_gpio 28 GPIO_ACTIVE_LOW>; - apple,stm-reset-gpios = <&smc_gpio 29 GPIO_ACTIVE_LOW>; - - multi-touch { - apple,power-method = <2>; - }; +&typec1 { + ports { + port@3 { + reg = <3>; + #address-cells = <1>; + #size-cells = <0>; - keyboard: keyboard { - hid-country-code = <0>; - apple,keyboard-layout-id = <0>; - }; + typec1_dcpext0: endpoint@0 { + reg = <0>; + remote-endpoint = <&dcpext0_typec1>; + }; - stm { + typec1_dcpext1: endpoint@1 { + reg = <1>; + remote-endpoint = <&dcpext1_typec1>; + }; + }; }; }; -/* - * These blocks are initialized and retained by iBoot/DCP. Linux does not yet - * own the T8132 display power sequence, and the GPIO block must remain live - * for inherited firmware and input state. - */ -/* - * Mesa fingerprint sensor on spi2 (ADT /arm-io/spi2/mesa): power on - * NUB GPIO 28, active high; data-ready on AP GPIO 199. Native chip select only. - */ -&sep_mbox { - status = "okay"; -}; - -&spi2 { - status = "okay"; -}; - -&mesa { - status = "okay"; - enable-gpios = <&pinctrl_nub 28 GPIO_ACTIVE_HIGH>; - interrupt-parent = <&pinctrl_ap>; - interrupts = <199 IRQ_TYPE_EDGE_RISING>; - spi-cs-setup-delay-ns = <20>; - spi-cs-hold-delay-ns = <20>; -}; - -&framebuffer0 { - /delete-property/ power-domains; - panel = <&fb_panel>; -}; - -#include "t8132-j713-gpu.dtsi" -#include "t8132-j713-display.dtsi" -#include "t8132-j713-dcpext.dtsi" #include "t8132-j713-atcphy-tunables.dtsi" #include "t8132-j713-usb4.dtsi" #include "t8132-j713-usb4-tunables.dtsi" -#include "t8132-j713-pciec-tunables.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8132-j713-pmgr.dtsi b/arch/arm64/boot/dts/apple/t8132-j713-pmgr.dtsi index 66b69f0f6320c..7f0e91c4002eb 100644 --- a/arch/arm64/boot/dts/apple/t8132-j713-pmgr.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-j713-pmgr.dtsi @@ -1,12 +1,15 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * J713 power-domain ownership. + * J713 and J715 power-domain ownership, also used by the legacy-loader + * adapter (drivers/soc/apple/t8132-platform-data.dts). * - * Only the domains whose Linux power/reset contract is qualified are enabled. - * Retained core, GPIO and display domains are firmware-owned: neither state - * reads nor power/reset writes are permitted. Other domains stay unavailable - * until their consumer and power sequence are implemented. This board policy - * is also used by the adapter for the original J713 loader tree. + * Only domains with a qualified Linux power/reset contract are enabled. + * Retained core, GPIO and display domains are firmware-owned: no state + * reads and no power/reset writes. The board tree enables ps_gfx and the + * ATC0/ATC1 PCIe and CIO domains afterwards for the GPU and USB4; the + * adapter enables only ps_gfx. + * + * Copyright The Asahi Linux Contributors */ &ps_msg { @@ -14,8 +17,8 @@ }; &ps_aic { - status = "okay"; apple,firmware-owned; + status = "okay"; }; &ps_dwi { @@ -23,8 +26,8 @@ }; &ps_gpio { - status = "okay"; apple,firmware-owned; + status = "okay"; }; &ps_pmc { @@ -80,18 +83,18 @@ }; &ps_dispext0_sys { - status = "okay"; apple,firmware-owned; + status = "okay"; }; &ps_dispext0_fe { - status = "okay"; apple,firmware-owned; + status = "okay"; }; &ps_dispext0_cpu { - status = "okay"; apple,firmware-owned; + status = "okay"; }; &ps_scodec { @@ -103,13 +106,13 @@ }; &ps_disp_sys { - status = "okay"; apple,firmware-owned; + status = "okay"; }; &ps_disp_fe { - status = "okay"; apple,firmware-owned; + status = "okay"; }; &ps_gfx { @@ -379,18 +382,18 @@ }; &ps_dispext1_sys { - status = "okay"; apple,firmware-owned; + status = "okay"; }; &ps_dispext1_fe { - status = "okay"; apple,firmware-owned; + status = "okay"; }; &ps_dispext1_cpu { - status = "okay"; apple,firmware-owned; + status = "okay"; }; /* The camera powers the ISP from its first stream until it is unbound. */ @@ -527,8 +530,8 @@ }; &ps_disp_cpu { - status = "okay"; apple,firmware-owned; + status = "okay"; }; &ps_debug_gated { @@ -560,8 +563,8 @@ }; &ps_nub_gpio { - status = "okay"; apple,firmware-owned; + status = "okay"; }; &ps_nub_sram { @@ -573,13 +576,13 @@ }; &ps_atc0_usb_aon { - status = "okay"; apple,inherited-on; + status = "okay"; }; &ps_atc1_usb_aon { - status = "okay"; apple,inherited-on; + status = "okay"; }; &ps_atc0_usb { diff --git a/arch/arm64/boot/dts/apple/t8132-j713-usb4.dtsi b/arch/arm64/boot/dts/apple/t8132-j713-usb4.dtsi index a833a86b9c30b..006fabc234ae4 100644 --- a/arch/arm64/boot/dts/apple/t8132-j713-usb4.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-j713-usb4.dtsi @@ -72,7 +72,7 @@ port@1 { reg = <1>; usb4_0_acio_tbt: endpoint { - remote-endpoint = <&typec0_con_tbt>; + remote-endpoint = <&typec0_connector_tbt>; }; }; }; @@ -89,7 +89,7 @@ port@1 { reg = <1>; usb4_1_acio_tbt: endpoint { - remote-endpoint = <&typec1_con_tbt>; + remote-endpoint = <&typec1_connector_tbt>; }; }; }; @@ -99,7 +99,7 @@ ports { port@2 { reg = <2>; - typec0_con_tbt: endpoint { + typec0_connector_tbt: endpoint { remote-endpoint = <&usb4_0_acio_tbt>; }; }; @@ -110,7 +110,7 @@ ports { port@2 { reg = <2>; - typec1_con_tbt: endpoint { + typec1_connector_tbt: endpoint { remote-endpoint = <&usb4_1_acio_tbt>; }; }; diff --git a/arch/arm64/boot/dts/apple/t8132-j713.dts b/arch/arm64/boot/dts/apple/t8132-j713.dts index eaa579f9efd1e..b4a0813268ebf 100644 --- a/arch/arm64/boot/dts/apple/t8132-j713.dts +++ b/arch/arm64/boot/dts/apple/t8132-j713.dts @@ -10,25 +10,12 @@ /dts-v1/; #include "t8132.dtsi" -#include "t8132-jxxx.dtsi" +#include "t8132-j713-j715.dtsi" #include / { compatible = "apple,j713", "apple,t8132", "apple,arm-platform"; model = "Apple MacBook Air (13-inch, M4, 2025)"; - chassis-type = "laptop"; - - /* - * The speaker amps' shared shutdown line (SDZ, AP GPIO 15, the ADT - * function-reset; low = shutdown). One fixed regulator, the SDZ supply - * of all four, so one amp's fault takes the whole group down. - */ - speaker_sdz: regulator-sn012776-sdz { - compatible = "regulator-fixed"; - regulator-name = "sn012776-sdz"; - gpios = <&pinctrl_ap 15 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; /* * The AOP firmware runs the stream (MCA cluster 0, one serializer for @@ -65,38 +52,27 @@ }; /* - * The headphone jack: the AOP audio component's jack back-end (DAI 4) - * to the CS42L84, as a card of its own. + * Physical size of the firmware framebuffer's 2560x1600 area below the + * notch (13.6" panel, 224 ppi), so simpledrm reports the real DPI. */ - sound_jack: sound-jack { - compatible = "apple,j713-macaudio-jack", "apple,macaudio"; - model = "MacBook Air J713 Jack"; - #address-cells = <1>; - #size-cells = <0>; - - dai-link@0 { - reg = <0>; - link-name = "Headphone Jack"; - - cpu { - sound-dai = <&aop_audio 4>; - }; - - codec { - sound-dai = <&jack_codec>; - }; - }; + fb_panel: panel { + width-mm = <290>; + height-mm = <181>; + status = "disabled"; }; }; +&sound_jack { + compatible = "apple,j713-macaudio-jack", "apple,macaudio"; + model = "MacBook Air J713 Jack"; +}; + &mtp_hid { multi-touch { firmware-name = "apple/tpmtfw-j713.bin"; }; }; -#include "t8132-j713-j715.dtsi" - &aop_audio { apple,chassis-name = "J713"; apple,machine-kind = "MacBook Air"; @@ -174,14 +150,3 @@ firmware-name = "apple/mesacal-j713.bin", "apple/msrk-j713.bin"; }; -/ { - /* - * Physical size of the firmware framebuffer's 2560x1600 area below the - * notch (13.6" panel, 224 ppi), so simpledrm reports the real DPI. - */ - fb_panel: panel { - width-mm = <290>; - height-mm = <181>; - status = "disabled"; - }; -}; diff --git a/arch/arm64/boot/dts/apple/t8132-j715.dts b/arch/arm64/boot/dts/apple/t8132-j715.dts index 6662e95eebf95..3d02f4048027a 100644 --- a/arch/arm64/boot/dts/apple/t8132-j715.dts +++ b/arch/arm64/boot/dts/apple/t8132-j715.dts @@ -13,25 +13,12 @@ /dts-v1/; #include "t8132.dtsi" -#include "t8132-jxxx.dtsi" +#include "t8132-j713-j715.dtsi" #include / { compatible = "apple,j715", "apple,t8132", "apple,arm-platform"; model = "Apple MacBook Air (15-inch, M4, 2025)"; - chassis-type = "laptop"; - - /* - * The speaker amps' shared shutdown line (SDZ, AP GPIO 15, the ADT - * function-reset; low = shutdown). One fixed regulator, the SDZ supply - * of all six, so one amp's fault takes the whole group down. - */ - speaker_sdz: regulator-sn012776-sdz { - compatible = "regulator-fixed"; - regulator-name = "sn012776-sdz"; - gpios = <&pinctrl_ap 15 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; /* * The AOP firmware runs the stream (MCA cluster 0, one serializer for @@ -70,38 +57,27 @@ }; /* - * The headphone jack: the AOP audio component's jack back-end (DAI 4) - * to the CS42L84, as a card of its own. + * Physical size of the firmware framebuffer's 2880x1800 area below the + * notch (15.3" panel, 224 ppi), so simpledrm reports the real DPI. */ - sound_jack: sound-jack { - compatible = "apple,j715-macaudio-jack", "apple,macaudio"; - model = "MacBook Air J715 Jack"; - #address-cells = <1>; - #size-cells = <0>; - - dai-link@0 { - reg = <0>; - link-name = "Headphone Jack"; - - cpu { - sound-dai = <&aop_audio 4>; - }; - - codec { - sound-dai = <&jack_codec>; - }; - }; + fb_panel: panel { + width-mm = <327>; + height-mm = <204>; + status = "disabled"; }; }; +&sound_jack { + compatible = "apple,j715-macaudio-jack", "apple,macaudio"; + model = "MacBook Air J715 Jack"; +}; + &mtp_hid { multi-touch { firmware-name = "apple/tpmtfw-j715.bin"; }; }; -#include "t8132-j713-j715.dtsi" - /* The radio module's firmware island, from the ADT's module-instance. */ &wifi0 { brcm,board-type = "apple,kos"; @@ -277,14 +253,3 @@ apple,panel-height-mm = <211>; }; -/ { - /* - * Physical size of the firmware framebuffer's 2880x1800 area below the - * notch (15.3" panel, 224 ppi), so simpledrm reports the real DPI. - */ - fb_panel: panel { - width-mm = <327>; - height-mm = <204>; - status = "disabled"; - }; -}; diff --git a/arch/arm64/boot/dts/apple/t8132-j773g.dts b/arch/arm64/boot/dts/apple/t8132-j773g.dts index 2f16f8e62c06c..c7ae238c04f86 100644 --- a/arch/arm64/boot/dts/apple/t8132-j773g.dts +++ b/arch/arm64/boot/dts/apple/t8132-j773g.dts @@ -4,23 +4,197 @@ * * target-type: J773g * + * Wired from the J773g ADT (macOS 26.6.2). + * * Copyright The Asahi Linux Contributors */ /dts-v1/; #include "t8132.dtsi" -#include "t8132-jxxx.dtsi" +#include "t8132-desktop.dtsi" +#include "t8132-atc23.dtsi" +#include +#include / { compatible = "apple,j773g", "apple,t8132", "apple,arm-platform"; model = "Apple Mac mini (M4, 2024)"; chassis-type = "desktop"; + + /* + * The speaker amp's shutdown line (SDZ, AP GPIO 15, the ADT + * function-reset; low = shutdown). + */ + speaker_sdz: regulator-sn012776-sdz { + compatible = "regulator-fixed"; + regulator-name = "sn012776-sdz"; + gpios = <&pinctrl_ap 15 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; }; /* - * Keep the power-domains used for the HDMI port on. + * iBoot scans out through dispext0 to the HDMI port (dptx-phy and a + * DP-to-HDMI converter at i2c0 0x08, hot-plug on AOP GPIO 41): keep the + * power domains used for it on. */ &framebuffer0 { power-domains = <&ps_dispext0_fe>, <&ps_dptx_phy>; }; + +/* + * The AOP audio component always runs a microphone stream, and this Mac + * has no microphones (ADT iop-audio-controller has no audio-hp) and no + * speaker sense, so it has no sound card yet. The AOP registers its audio + * service by itself: without the node, no driver binds it. + */ +/delete-node/ &aop_audio; + +/* + * The SN012776 speaker amp (ADT /arm-io/i2c3/audio-speaker at 0x38, mono, + * speaker-protection 0): interrupt on AP GPIO 14, level low. Disabled + * until the speaker has a sound card and a protection profile. + */ +&i2c3 { + status = "okay"; + + speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + SDZ-supply = <&speaker_sdz>; + apple,sdz-group-fail-closed; + apple,deferred-shutdown; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker"; + interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>; + ti,imon-slot-no = <0>; + ti,vmon-slot-no = <2>; + status = "disabled"; + }; +}; + +&typec0 { + label = "USB-C Back Middle"; +}; + +&typec1 { + label = "USB-C Back Left"; +}; + +/* ATC3's port controller (ADT nub-spmi-a0 hpm3). */ +&nub_spmi_a0 { + hpm3: usb-pd@8 { + compatible = "apple,t8132-sn201202x", "apple,sn201202x"; + reg = <0x8 SPMI_USID>; + interrupts = <63 IRQ_TYPE_EDGE_RISING>, + <69 IRQ_TYPE_EDGE_RISING>, + <71 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "sleep", "wake"; + wakeup-source; + + typec3: connector { + compatible = "usb-c-connector"; + label = "USB-C Back Right"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec3_connector_hs: endpoint { + remote-endpoint = <&dwc3_3_hs>; + }; + }; + + port@1 { + reg = <1>; + typec3_connector_ss: endpoint { + remote-endpoint = <&atcphy3_typec_lanes>; + }; + }; + }; + }; + }; +}; + +&atcphy3 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + atcphy3_typec_lanes: endpoint { + remote-endpoint = <&typec3_connector_ss>; + }; + }; + }; +}; + +&dwc3_3_dart_0 { + status = "okay"; +}; + +&dwc3_3_dart_1 { + status = "okay"; +}; + +&dwc3_3 { + dr_mode = "host"; + maximum-speed = "super-speed"; + phys = <&atcphy3 PHY_TYPE_USB2>, <&atcphy3 PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_3_hs: endpoint { + remote-endpoint = <&typec3_connector_hs>; + }; + }; + }; +}; + +/* + * The two front USB-C ports: an on-board hub behind ATC2 (ADT usb-drd2, + * hub firmware on spi3), with no port controller. The PHY only enters + * USB3 mode from a Type-C mode switch, so the hub runs at high speed. + */ +&atcphy2 { + status = "okay"; +}; + +&dwc3_2_dart_0 { + status = "okay"; +}; + +&dwc3_2_dart_1 { + status = "okay"; +}; + +&dwc3_2 { + dr_mode = "host"; + status = "okay"; +}; + +&wifi0 { + /* ADT /arm-io/wlan module-instance */ + brcm,board-type = "apple,sakhalin"; +}; + +&bluetooth0 { + brcm,board-type = "apple,sakhalin"; +}; + +#include "hwmon-common.dtsi" +#include "hwmon-mini.dtsi" diff --git a/arch/arm64/boot/dts/apple/t8132-jxxx.dtsi b/arch/arm64/boot/dts/apple/t8132-jxxx.dtsi index 9882ea3f85e61..772a8b8656203 100644 --- a/arch/arm64/boot/dts/apple/t8132-jxxx.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-jxxx.dtsi @@ -9,9 +9,25 @@ * Copyright The Asahi Linux Contributors */ +#include +#include +#include + / { aliases { serial0 = &serial0; + sep = &sep; + ans = &nvme; + ans-mbox = &ans_mbox; + atcphy0 = &atcphy0; + atcphy1 = &atcphy1; + bluetooth0 = &bluetooth0; + nvram = &nvram; + pmu-primary = &pmic1; + pmp = &pmp; + sart-ans = &sart; + spmi-primary = &nub_spmi; + wifi0 = &wifi0; }; chosen { @@ -21,6 +37,10 @@ stdout-path = "serial0"; + linux-enablement-mac,disk-boot; + linux-enablement-mac,dapf-handoff = "/arm-io/aop", "/arm-io/pmp"; + linux-enablement-mac,dapf-power-on-handoff = "/arm-io/pmp"; + framebuffer0: framebuffer@0 { compatible = "apple,simple-framebuffer", "simple-framebuffer"; reg = <0 0 0 0>; /* To be filled by loader */ @@ -41,8 +61,403 @@ device_type = "memory"; reg = <0x8 0 0x2 0>; /* To be filled by loader */ }; + + /* The boot NOR's PMU rail is always on; the ADT gives it no supply. */ + nor_flash_vcc: regulator-nor-flash-vcc { + compatible = "regulator-fixed"; + regulator-name = "nor-flash-vcc"; + regulator-always-on; + }; }; &serial0 { status = "okay"; }; + +/* + * m1n1 programs the AOP DART's DAPF and reserves its firmware and DAPF + * windows when /chosen asks for the handoff, or disables the AOP. + */ +&aop { + status = "okay"; +}; + +&aop_dart { + status = "okay"; +}; + +&aop_mbox { + /* A periodic report need not wake the system. */ + apple,hold-rx-in-sleep; + status = "okay"; +}; + +&admac0 { + status = "okay"; +}; + +&admac1 { + status = "okay"; +}; + +&cpufreq_e { + status = "okay"; +}; + +&cpufreq_p { + status = "okay"; +}; + +&cpuidle { + status = "okay"; +}; + +/* CS42L84 headphone codec: reset on nub GPIO 17, IRQ on AP GPIO 98. */ +&i2c1 { + status = "okay"; + + jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + reset-gpios = <&pinctrl_nub 17 GPIO_ACTIVE_HIGH>; + #sound-dai-cells = <0>; + interrupts-extended = <&pinctrl_ap 98 IRQ_TYPE_LEVEL_LOW>; + sound-name-prefix = "Jack"; + }; +}; + +&qspi { + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <10000000>; + vcc-supply = <&nor_flash_vcc>; + spi-rx-bus-width = <1>; + spi-tx-bus-width = <1>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + nvram: partition@700000 { + label = "nvram"; + /* ADT /arm-io/qspi/spinor/anvram, flash-relative. */ + reg = <0x700000 0x100000>; + }; + }; + }; +}; + +&pmp_dart { + status = "okay"; +}; + +&pmp_report { + status = "okay"; +}; + +&pmp_mbox { + status = "okay"; +}; + +&mcc { + apple,boot-dma-devices = <&pmp>; + status = "okay"; +}; + +&pmc { + apple,static-voters = <3>; + status = "okay"; +}; + +&sep_mbox { + status = "okay"; +}; + +&smc { + status = "okay"; + + smc_hwmon: hwmon { + compatible = "apple,smc-hwmon"; + }; + + rtc { + compatible = "apple,smc-rtc"; + nvmem-cells = <&rtc_offset>; + nvmem-cell-names = "rtc_offset"; + }; + + reboot { + compatible = "apple,t8132-smc-reboot", "apple,smc-reboot"; + nvmem-cells = <&shutdown_flag>, <&boot_stage>, + <&boot_error_count>, <&panic_count>; + nvmem-cell-names = "shutdown_flag", "boot_stage", + "boot_error_count", "panic_count"; + }; +}; + +&smc_mbox { + status = "okay"; +}; + +&nub_spmi { + status = "okay"; + + pmic1: pmic@0 { + compatible = "apple,abbey-pmic", "apple,spmi-nvmem"; + reg = <0x0 SPMI_USID>; /* To be filled by loader */ + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + rtc_offset: rtc-offset@2100 { + reg = <0x2100 0x6>; + }; + + boot_stage: boot-stage@f801 { + reg = <0xf801 0x1>; + }; + + boot_error_count: boot-error-count@f802,0 { + reg = <0xf802 0x1>; + bits = <0 4>; + }; + + panic_count: panic-count@f802,4 { + reg = <0xf802 0x1>; + bits = <4 4>; + }; + + shutdown_flag: shutdown-flag@f80f,3 { + reg = <0xf80f 0x1>; + bits = <3 1>; + }; + }; + }; +}; + +/* ATC0 and ATC1's port controllers. Boards label the connectors. */ +&nub_spmi_a0 { + status = "okay"; + + hpm1: usb-pd@a { + compatible = "apple,t8132-sn201202x", "apple,sn201202x"; + reg = <0xa SPMI_USID>; + interrupts = <37 IRQ_TYPE_EDGE_RISING>, + <43 IRQ_TYPE_EDGE_RISING>, + <45 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "sleep", "wake"; + wakeup-source; + + typec1: connector { + compatible = "usb-c-connector"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec1_connector_hs: endpoint { + remote-endpoint = <&dwc3_1_hs>; + }; + }; + + port@1 { + reg = <1>; + typec1_connector_ss: endpoint { + remote-endpoint = <&atcphy1_typec_lanes>; + }; + }; + }; + }; + }; + + hpm0: usb-pd@c { + compatible = "apple,t8132-sn201202x", "apple,sn201202x"; + reg = <0xc SPMI_USID>; + interrupts = <11 IRQ_TYPE_EDGE_RISING>, + <17 IRQ_TYPE_EDGE_RISING>, + <19 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "irq", "sleep", "wake"; + wakeup-source; + + typec0: connector { + compatible = "usb-c-connector"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec0_connector_hs: endpoint { + remote-endpoint = <&dwc3_0_hs>; + }; + }; + + port@1 { + reg = <1>; + typec0_connector_ss: endpoint { + remote-endpoint = <&atcphy0_typec_lanes>; + }; + }; + }; + }; + }; +}; + +&atcphy0 { + /* Leave the display crossbar at core + 0x4c000 to its own driver. */ + reg = <0x4 0x02a90000 0x0 0x4000>, + <0x4 0x02a84000 0x0 0x4000>, + <0x4 0x03000000 0x0 0x24000>, + <0x4 0x00000000 0x0 0x8000>, + <0x4 0x00020000 0x0 0x4000>, + <0x4 0x03044000 0x0 0x4000>, + <0x4 0x03050000 0x0 0x4000>; + reg-names = "usb2phy", "pipehandler", "core", "axi2af", "lioa", + "fabric", "common-config"; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + atcphy0_typec_lanes: endpoint { + remote-endpoint = <&typec0_connector_ss>; + }; + }; + }; +}; + +&dwc3_0_dart_0 { + status = "okay"; +}; + +&dwc3_0_dart_1 { + status = "okay"; +}; + +&dwc3_0 { + dr_mode = "host"; + maximum-speed = "super-speed"; + phys = <&atcphy0 PHY_TYPE_USB2>, <&atcphy0 PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_0_hs: endpoint { + remote-endpoint = <&typec0_connector_hs>; + }; + }; + }; +}; + +&atcphy1 { + /* Leave the display crossbar at core + 0x4c000 to its own driver. */ + reg = <0x4 0x0aa90000 0x0 0x4000>, + <0x4 0x0aa84000 0x0 0x4000>, + <0x4 0x0b000000 0x0 0x24000>, + <0x4 0x08000000 0x0 0x8000>, + <0x4 0x08020000 0x0 0x4000>, + <0x4 0x0b044000 0x0 0x4000>, + <0x4 0x0b050000 0x0 0x4000>; + reg-names = "usb2phy", "pipehandler", "core", "axi2af", "lioa", + "fabric", "common-config"; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + atcphy1_typec_lanes: endpoint { + remote-endpoint = <&typec1_connector_ss>; + }; + }; + }; +}; + +&dwc3_1_dart_0 { + status = "okay"; +}; + +&dwc3_1_dart_1 { + status = "okay"; +}; + +&dwc3_1 { + dr_mode = "host"; + maximum-speed = "super-speed"; + phys = <&atcphy1 PHY_TYPE_USB2>, <&atcphy1 PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dwc3_1_hs: endpoint { + remote-endpoint = <&typec1_connector_hs>; + }; + }; + }; +}; + +/* + * The radio port. m1n1 trains the link; Linux owns only the radio's + * streams (ADT mapper-apcie0-wlan and -bt), RID-to-SID routing and MSI. + * Power is the SMC's gP13, reset AP GPIO 163. + */ +&dart_apcie0 { + apple,managed-sids = <1 2>; + apple,dma-range = <0x100 0x00100000 0x0 0x3fe00000>; + status = "okay"; +}; + +&pcie0 { + apple,managed-sids = <1 2>; + iommu-map = <0x100 &dart_apcie0 1 2>; + iommu-map-mask = <0xffff>; + status = "okay"; +}; + +&port00 { + pwren-gpios = <&smc_gpio 0x13 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pinctrl_ap 163 GPIO_ACTIVE_LOW>; + + /* brcm,board-type is "apple," + the ADT wlan module-instance. */ + bluetooth0: bluetooth@0,1 { + compatible = "pci14e4,5f72"; + reg = <0x10100 0x0 0x0 0x0 0x0>; + /* Per-machine address and calibration supplied by m1n1. */ + local-bd-address = [00 00 00 00 00 00]; + }; + + wifi0: wifi@0,0 { + compatible = "pci14e4,4434"; + reg = <0x10000 0x0 0x0 0x0 0x0>; + local-mac-address = [00 00 00 00 00 00]; + apple,antenna-sku = "XX"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8132-laptop.dtsi b/arch/arm64/boot/dts/apple/t8132-laptop.dtsi new file mode 100644 index 0000000000000..e056ba40f5a28 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-laptop.dtsi @@ -0,0 +1,133 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple M4 MacBook Air and MacBook Pro (2024/2025) + * + * This file contains parts common to the T8132 laptops. + * + * target-type: J604, J713, J715 + * + * Copyright The Asahi Linux Contributors + */ + +#include "t8132-jxxx.dtsi" +#include "t8132-isp.dtsi" +#include +#include + +/ { + chassis-type = "laptop"; + + aliases { + keyboard = &keyboard; + }; + + chosen { + linux-enablement-mac,dapf-handoff = "/arm-io/aop", "/arm-io/mtp", + "/arm-io/pmp"; + }; + + /* + * The speaker amps' shared shutdown line (SDZ, AP GPIO 15, low = + * shutdown): one amp's fault takes the whole group down. + */ + speaker_sdz: regulator-sn012776-sdz { + compatible = "regulator-fixed"; + regulator-name = "sn012776-sdz"; + gpios = <&pinctrl_ap 15 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + /* The headphone jack: the AOP audio jack back-end (DAI 4) to the CS42L84. */ + sound_jack: sound-jack { + #address-cells = <1>; + #size-cells = <0>; + + dai-link@0 { + reg = <0>; + link-name = "Headphone Jack"; + + cpu { + sound-dai = <&aop_audio 4>; + }; + + codec { + sound-dai = <&jack_codec>; + }; + }; + }; + + led-controller { + compatible = "pwm-leds"; + + led-0 { + pwms = <&fpwm1 0 40000>; + label = "kbd_backlight"; + function = LED_FUNCTION_KBD_BACKLIGHT; + color = ; + max-brightness = <255>; + default-state = "keep"; + }; + }; +}; + +&framebuffer0 { + panel = <&fb_panel>; +}; + +&aop_audio { + /* Microphones on LEAP; speakers and sense on TX0/RX0; the jack on TX2/RX2. */ + dmas = <&admac0 1>, <&admac1 0>, <&admac1 1>, <&admac1 4>, <&admac1 5>; + dma-names = "dma", "spkr", "sense", "cout", "cin"; +}; + +&fpwm1 { + status = "okay"; +}; + +&mtp { + status = "okay"; +}; + +&mtp_mbox { + status = "okay"; +}; + +&mtp_dart { + status = "okay"; +}; + +&mtp_dockchannel { + status = "okay"; +}; + +/* ADT function-afe-reset gP1c and function-stm-reset gP1d. */ +&mtp_hid { + apple,afe-reset-gpios = <&smc_gpio 28 GPIO_ACTIVE_LOW>; + apple,stm-reset-gpios = <&smc_gpio 29 GPIO_ACTIVE_LOW>; + + multi-touch { + apple,power-method = <2>; + }; + + keyboard: keyboard { + hid-country-code = <0>; + apple,keyboard-layout-id = <0>; + }; + + stm { + }; +}; + +/* Mesa fingerprint sensor: power on nub GPIO 28, data-ready on AP GPIO 199. */ +&spi2 { + status = "okay"; +}; + +&mesa { + enable-gpios = <&pinctrl_nub 28 GPIO_ACTIVE_HIGH>; + interrupt-parent = <&pinctrl_ap>; + interrupts = <199 IRQ_TYPE_EDGE_RISING>; + spi-cs-setup-delay-ns = <20>; + spi-cs-hold-delay-ns = <20>; + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/apple/t8132-j713-pciec-tunables.dtsi b/arch/arm64/boot/dts/apple/t8132-pciec-tunables.dtsi similarity index 91% rename from arch/arm64/boot/dts/apple/t8132-j713-pciec-tunables.dtsi rename to arch/arm64/boot/dts/apple/t8132-pciec-tunables.dtsi index 4d6cde726c2b3..bf0575c4b79aa 100644 --- a/arch/arm64/boot/dts/apple/t8132-j713-pciec-tunables.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-pciec-tunables.dtsi @@ -1,8 +1,9 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * J713 PCIe-C (USB4 PCIe tunnel) calibration, converted from the ADT the way - * m1n1 does it. The J713 boot chain does not pass it on yet, so it is - * described here until a bootloader fills it in. + * T8132 PCIe-C (USB4 PCIe tunnel) calibration, converted from the ADT + * apciec0/1 tunables, which match on the J713, J715 and J773g. + * + * Copyright The Asahi Linux Contributors */ &usb4_0_pcie { diff --git a/arch/arm64/boot/dts/apple/t8132-peripheral-buses.dtsi b/arch/arm64/boot/dts/apple/t8132-peripheral-buses.dtsi new file mode 100644 index 0000000000000..2554025a5ca13 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-peripheral-buses.dtsi @@ -0,0 +1,85 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Unclaimed T8132 peripheral buses. */ + +&soc { + spi4: spi@3ad110000 { + compatible = "apple,t8132-spi", "apple,t8103-spi"; + reg = <0x3 0xad110000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&peripheral_clocks 422>; + power-domains = <&ps_spi4>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + nub_spmi_a1: spmi@388a08000 { + compatible = "apple,t8132-spmi", "apple,t8103-spmi"; + reg = <0x3 0x88a08000 0 0x4000>, + <0x3 0x88a04000 0 0x4000>, + <0x3 0x88a00000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + aop_spmi0: spmi@390914000 { + compatible = "apple,t8132-spmi", "apple,t8103-spmi"; + reg = <0x3 0x90914000 0 0x4000>, + <0x3 0x90904000 0 0x4000>, + <0x3 0x90900000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + nub_spmi1: spmi@388614000 { + compatible = "apple,t8132-spmi", "apple,t8103-spmi"; + reg = <0x3 0x88614000 0 0x4000>, + <0x3 0x88604000 0 0x4000>, + <0x3 0x88600000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + aop_spmi1: spmi@390b14000 { + compatible = "apple,t8132-spmi", "apple,t8103-spmi"; + reg = <0x3 0x90b14000 0 0x4000>, + <0x3 0x90b04000 0 0x4000>, + <0x3 0x90b00000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + }; + + spi3: spi@3ad10c000 { + compatible = "apple,t8132-spi", "apple,t8103-spi"; + reg = <0x3 0xad10c000 0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + clocks = <&peripheral_clocks 421>; + power-domains = <&ps_spi3>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t8132-peripherals.dtsi b/arch/arm64/boot/dts/apple/t8132-peripherals.dtsi new file mode 100644 index 0000000000000..d52930e0b9250 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-peripherals.dtsi @@ -0,0 +1,386 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional T8132 hardware interfaces. Keep unclaimed engines disabled. */ + +&soc { + dart_scaler0: iommu@505260000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x5 0x05260000 0x0 0x20000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_scaler1: filter@38079c000 { + compatible = "apple,t8132-gapf", "apple,gapf"; + reg = <0x3 0x8079c000 0x0 0x4000>; + status = "disabled"; + }; + + dart_jpeg00: iommu@3a5020000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x3 0xa5020000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_jpeg10: iommu@3a5080000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x3 0xa5080000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_ave0: iommu@421080000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x4 0x21080000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_ave1: iommu@4210a0000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x4 0x210a0000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_ave2: iommu@421094000 { + compatible = "apple,t8132-dart-smmu", "apple,dart-smmu"; + reg = <0x4 0x21094000 0x0 0x4000>; + status = "disabled"; + }; + + dart_ave3: filter@4210b0000 { + compatible = "apple,t8132-dapf", "apple,dapf"; + reg = <0x4 0x210b0000 0x0 0x4000>; + status = "disabled"; + }; + + dart_apr0: iommu@281020000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x2 0x81020000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_sio0: iommu@3ad060000 { + compatible = "apple,t8132-dart", "apple,t8110-dart"; + reg = <0x3 0xad060000 0x0 0xc000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_aop_companion1: filter@390f10000 { + compatible = "apple,t8132-dapf", "apple,dapf"; + reg = <0x3 0x90f10000 0x0 0x4000>; + status = "disabled"; + }; + + dart_aop_companion2: filter@3882a4000 { + compatible = "apple,t8132-gapf", "apple,gapf"; + reg = <0x3 0x882a4000 0x0 0x4000>; + status = "disabled"; + }; + + dart_mtp_companion1: filter@394810000 { + compatible = "apple,t8132-dapf", "apple,dapf"; + reg = <0x3 0x94810000 0x0 0x4000>; + status = "disabled"; + }; + + dart_disp0_companion1: iommu@30a314000 { + compatible = "apple,t8132-dart-smmu", "apple,dart-smmu"; + reg = <0x3 0x0a314000 0x0 0x4000>; + status = "disabled"; + }; + + dart_dispext0_companion1: iommu@286314000 { + compatible = "apple,t8132-dart-smmu", "apple,dart-smmu"; + reg = <0x2 0x86314000 0x0 0x4000>; + status = "disabled"; + }; + + dart_dispext1_companion1: iommu@48a314000 { + compatible = "apple,t8132-dart-smmu", "apple,dart-smmu"; + reg = <0x4 0x8a314000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp_companion3: iommu@48e8f4000 { + compatible = "apple,t8132-dart-smmu", "apple,dart-smmu"; + reg = <0x4 0x8e8f4000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp_companion4: iommu@48e914000 { + compatible = "apple,t8132-dart-smmu", "apple,dart-smmu"; + reg = <0x4 0x8e914000 0x0 0x4000>; + status = "disabled"; + }; + + dart_isp_companion5: filter@48e8d0000 { + compatible = "apple,t8132-dapf", "apple,dapf"; + reg = <0x4 0x8e8d0000 0x0 0x4000>; + status = "disabled"; + }; + + dart_ane_companion3: filter@501810000 { + compatible = "apple,t8132-dapf", "apple,dapf"; + reg = <0x5 0x01810000 0x0 0x4000>; + status = "disabled"; + }; + + apcie0_piodma: dma-controller@490030000 { + compatible = "apple,t8132-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x90030000 0x0 0x4000>, + <0x4 0x90034000 0x0 0x4000>, + <0x4 0x90038000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + iommus = <&dart_apcie0 17>; + }; + + apciec0_piodma: dma-controller@404068000 { + compatible = "apple,t8132-pciec-piodma", "apple,pciec-piodma"; + reg = <0x4 0x04068000 0x0 0x4000>, + <0x4 0x0406c000 0x0 0x4000>, + <0x4 0x04070000 0x0 0x4000>, + <0x4 0x0403c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + iommus = <&usb4_0_pcie_dart 254>; + }; + + atc0_dpin0: displayport@401e50000 { + compatible = "apple,t8132-dpin", "apple,dpin"; + reg = <0x4 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc0_dpin1: displayport@401e58000 { + compatible = "apple,t8132-dpin", "apple,dpin"; + reg = <0x4 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec1_piodma: dma-controller@40c068000 { + compatible = "apple,t8132-pciec-piodma", "apple,pciec-piodma"; + reg = <0x4 0x0c068000 0x0 0x4000>, + <0x4 0x0c06c000 0x0 0x4000>, + <0x4 0x0c070000 0x0 0x4000>, + <0x4 0x0c03c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + iommus = <&usb4_1_pcie_dart 254>; + }; + + atc1_dpin0: displayport@409e50000 { + compatible = "apple,t8132-dpin", "apple,dpin"; + reg = <0x4 0x09e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin1: displayport@409e58000 { + compatible = "apple,t8132-dpin", "apple,dpin"; + reg = <0x4 0x09e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + dwi: dwi@380200000 { + compatible = "apple,t8132-dwi", "apple,dwi"; + reg = <0x3 0x80200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + pwm: pwm@3ad040000 { + compatible = "apple,t8132-pwm", "apple,pwm"; + reg = <0x3 0xad040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_fpwm0>; + status = "disabled"; + }; + + aes: crypto@3ad00c000 { + compatible = "apple,t8132-aes", "apple,aes"; + reg = <0x3 0xad00c000 0x0 0x4000>, + <0x3 0x882dc000 0x0 0x8000>, + <0x3 0x88078000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&dart_sio0 1>; + status = "disabled"; + }; + + aon_ptd: interrupt-controller@38c840000 { + compatible = "apple,t8132-aon-ptd", "apple,aon-ptd"; + reg = <0x3 0x8c840000 0x0 0x4000>, + <0x3 0x8c850000 0x0 0x4000>, + <0x3 0x8c858000 0x0 0x4000>, + <0x3 0x8c860000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-controller; + #interrupt-cells = <1>; + #address-cells = <0>; + status = "disabled"; + }; + + dcp0_expert: display-sideband@3882b8044 { + compatible = "apple,t8132-dcp-expert", "apple,dcp-expert"; + reg = <0x3 0x882b8044 0x0 0xc>, + <0x3 0x88030000 0x0 0x4>; + status = "disabled"; + }; + + dcpext0_expert: display-sideband@3882b8044 { + compatible = "apple,t8132-dcp-expert", "apple,dcp-expert"; + reg = <0x3 0x882b8044 0x0 0xc>, + <0x3 0x88030000 0x0 0x4>; + status = "disabled"; + }; + + dcpext1_expert: display-sideband@3882b8044 { + compatible = "apple,t8132-dcp-expert", "apple,dcp-expert"; + reg = <0x3 0x882b8044 0x0 0xc>, + <0x3 0x88030000 0x0 0x4>; + status = "disabled"; + }; + + scaler0: scaler@505000000 { + compatible = "apple,t8132-scaler", "apple,scaler"; + reg = <0x5 0x05000000 0x0 0x38000>, + <0x5 0x05210000 0x0 0x4000>, + <0x5 0x05204000 0x0 0x4000>, + <0x5 0x04000000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr>, <&ps_msr_ase_core>; + iommus = <&dart_scaler0 0>, <&dart_scaler0 1>; + clocks = <&peripheral_clocks 399>; + status = "disabled"; + }; + + jpeg0: jpeg@3a5000000 { + compatible = "apple,t8132-jpeg", "apple,jpeg"; + reg = <0x3 0xa5000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + iommus = <&dart_jpeg00 0>; + clocks = <&peripheral_clocks 322>, <&peripheral_clocks 323>; + status = "disabled"; + }; + + jpeg1: jpeg@3a5060000 { + compatible = "apple,t8132-jpeg", "apple,jpeg"; + reg = <0x3 0xa5060000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + iommus = <&dart_jpeg10 0>; + clocks = <&peripheral_clocks 322>, <&peripheral_clocks 323>; + status = "disabled"; + }; + + ave: video-encoder@421100000 { + compatible = "apple,t8132-ave", "apple,ave"; + reg = <0x4 0x21100000 0x0 0x45c000>, + <0x4 0x21800000 0x0 0x800000>, + <0x4 0x21050000 0x0 0x4000>, + <0x3 0x80708000 0x0 0x4000>, + <0x4 0x20000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc_sys>, <&ps_venc_pipe4>, <&ps_venc_pipe5>, <&ps_venc_me0>, <&ps_venc_me1>, <&ps_venc_dma>; + iommus = <&dart_ave0 0>, <&dart_ave1 0>; + clocks = <&peripheral_clocks 430>; + status = "disabled"; + }; + + apr: video-codec@281000000 { + compatible = "apple,t8132-prores", "apple,prores"; + reg = <0x2 0x81000000 0x0 0x4000>, + <0x2 0x80000000 0x0 0x1000000>, + <0x2 0x810c0000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_scodec>; + iommus = <&dart_apr0 1>; + status = "disabled"; + }; + +}; + +/ { + peripheral_clocks: clocks { + compatible = "apple,t8132-pmgr-clocks", "apple,pmgr-clocks"; + #clock-cells = <1>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8132-sio.dtsi b/arch/arm64/boot/dts/apple/t8132-sio.dtsi new file mode 100644 index 0000000000000..b9f37423fb9bb --- /dev/null +++ b/arch/arm64/boot/dts/apple/t8132-sio.dtsi @@ -0,0 +1,31 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* T8132 SIO resources; channel layout and firmware regions require loader support. */ + +&soc { + sio_mbox: mailbox@3ade08000 { + compatible = "apple,t8132-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0xade08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_sio_cpu>; + status = "disabled"; + }; + + sio: dma-controller@3ade00000 { + compatible = "apple,t8132-sio", "apple,sio"; + reg = <0x3 0xade00000 0x0 0x88000>, + <0x3 0xad850000 0x0 0x4000>; + #dma-cells = <1>; + mboxes = <&sio_mbox>; + iommus = <&dart_sio0 0>; + power-domains = <&ps_sio_cpu>; + clocks = <&peripheral_clocks 416>, <&peripheral_clocks 414>, <&peripheral_clocks 415>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t8132-usb4.dtsi b/arch/arm64/boot/dts/apple/t8132-usb4.dtsi index 19e9f02caecea..f137650f9121c 100644 --- a/arch/arm64/boot/dts/apple/t8132-usb4.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-usb4.dtsi @@ -275,10 +275,9 @@ * beside it. ACIO populates each container once the router has a PCIe tunnel, * and the kernel cold-initializes the port (apple,pciec-kernel-init). * - * apple,tunable-rc, -fabric, -debug and the port's apple,tunable come from the - * board, which a bootloader may fill in instead. The oe-fabric - * block and its tunable belong to the port's PIO-DMA engine in the ADT, which - * no bootloader passes on, so they are described here. + * The calibration is in t8132-pciec-tunables.dtsi. The oe-fabric block and + * its tunable belong to the port's PIO-DMA engine in the ADT, which no + * bootloader passes on, so they are described here. */ / { usb4_0_pcie_tunnel: usb4-pcie-tunnel-0 { diff --git a/arch/arm64/boot/dts/apple/t8132.dtsi b/arch/arm64/boot/dts/apple/t8132.dtsi index 6ee608983784e..35490237bba94 100644 --- a/arch/arm64/boot/dts/apple/t8132.dtsi +++ b/arch/arm64/boot/dts/apple/t8132.dtsi @@ -429,8 +429,6 @@ * the same SoC description work across T8132 machines. */ ans_mbox: mbox@0 { - /* Enabled by the loader after all ADT resources are populated. */ - status = "disabled"; compatible = "apple,t8132-asc-mailbox", "apple,asc-mailbox-v4"; reg = <0x0 0x0 0x0 0x4000>; interrupt-parent = <&aic>; @@ -442,19 +440,19 @@ "recv-empty", "recv-not-empty"; #mbox-cells = <0>; power-domains = <&ps_ans>; + /* Enabled by the loader after all ADT resources are populated. */ + status = "disabled"; }; sart: iommu@10000 { - /* Enabled by the loader after all ADT resources are populated. */ - status = "disabled"; compatible = "apple,t8132-sart", "apple,t6000-sart"; reg = <0x0 0x10000 0x0 0x10000>; power-domains = <&ps_ans>; + /* Enabled by the loader after all ADT resources are populated. */ + status = "disabled"; }; nvme: nvme@40000 { - /* Enabled by the loader after all ADT resources are populated. */ - status = "disabled"; compatible = "apple,t8132-nvme-ans2", "apple,t8103-nvme-ans2"; reg = <0x0 0x40000 0x0 0x40000>, @@ -468,6 +466,8 @@ power-domains = <&ps_ans>, <&ps_apcie_sys_st>; power-domain-names = "ans", "apcie0"; resets = <&ps_ans>; + /* Enabled by the loader after all ADT resources are populated. */ + status = "disabled"; }; pmgr: power-management@380700000 { @@ -920,6 +920,7 @@ #include "t8132-pmgr.dtsi" #include "t8132-usb4.dtsi" +#include "t8132-pciec-tunables.dtsi" /* Shared controller resources; board files select the qualified devices. */ &soc { @@ -1002,7 +1003,6 @@ }; nub_spmi_a0: spmi@388908000 { - status = "disabled"; compatible = "apple,t8132-spmi", "apple,t8103-spmi"; reg = <0x3 0x88908000 0x0 0x4000>; #address-cells = <2>; @@ -1011,6 +1011,7 @@ interrupt-controller; interrupt-parent = <&aic>; interrupts = ; + status = "disabled"; @@ -1018,20 +1019,20 @@ }; pmp_dart: iommu@380300000 { - status = "disabled"; compatible = "apple,t8132-dart", "apple,t8110-dart"; reg = <0x3 0x80300000 0x0 0xc000>; #iommu-cells = <1>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_pmp>; + status = "disabled"; }; pmp_report: pmp-report@3803c0000 { - status = "disabled"; compatible = "apple,t8132-pmp-v2-report"; reg = <0x3 0x803c0000 0x0 0x20000>; power-domains = <&ps_pms_sram>; + status = "disabled"; }; pmp: pmp@380500000 { @@ -1048,7 +1049,6 @@ }; pmp_mbox: mailbox@380e08000 { - status = "disabled"; compatible = "apple,t8132-asc-mailbox", "apple,asc-mailbox-v4"; reg = <0x3 0x80e08000 0x0 0x4000>; interrupt-parent = <&aic>; @@ -1060,10 +1060,10 @@ "recv-empty", "recv-not-empty"; #mbox-cells = <0>; power-domains = <&ps_pmp>, <&ps_pms_sram>; + status = "disabled"; }; atcphy0: phy@402a90000 { - status = "disabled"; compatible = "apple,t8132-atcphy"; reg = <0x4 0x02a90000 0x0 0x4000>, <0x4 0x02a84000 0x0 0x4000>; @@ -1074,6 +1074,7 @@ power-domains = <&ps_atc0_usb>; orientation-switch; mode-switch; + status = "disabled"; }; @@ -1091,27 +1092,26 @@ }; dwc3_0_dart_0: iommu@402f00000 { - status = "disabled"; compatible = "apple,t8132-dart", "apple,t8110-dart"; reg = <0x4 0x02f00000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; #iommu-cells = <1>; power-domains = <&ps_atc0_usb>; + status = "disabled"; }; dwc3_0_dart_1: iommu@402f80000 { - status = "disabled"; compatible = "apple,t8132-dart", "apple,t8110-dart"; reg = <0x4 0x02f80000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; #iommu-cells = <1>; power-domains = <&ps_atc0_usb>; + status = "disabled"; }; dwc3_0: usb@402280000 { - status = "disabled"; compatible = "apple,t8132-dwc3"; reg = <0x4 0x02280000 0x0 0xcd00>, <0x4 0x0228cd00 0x0 0x3200>; @@ -1129,12 +1129,12 @@ resets = <&atcphy0>; phys = <&atcphy0 PHY_TYPE_USB2>; phy-names = "usb2-phy"; + status = "disabled"; }; atcphy1: phy@40aa90000 { - status = "disabled"; compatible = "apple,t8132-atcphy"; reg = <0x4 0x0aa90000 0x0 0x4000>, <0x4 0x0aa84000 0x0 0x4000>; @@ -1145,6 +1145,7 @@ power-domains = <&ps_atc1_usb>; orientation-switch; mode-switch; + status = "disabled"; }; @@ -1162,27 +1163,26 @@ }; dwc3_1_dart_0: iommu@40af00000 { - status = "disabled"; compatible = "apple,t8132-dart", "apple,t8110-dart"; reg = <0x4 0x0af00000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; #iommu-cells = <1>; power-domains = <&ps_atc1_usb>; + status = "disabled"; }; dwc3_1_dart_1: iommu@40af80000 { - status = "disabled"; compatible = "apple,t8132-dart", "apple,t8110-dart"; reg = <0x4 0x0af80000 0x0 0xc000>; interrupt-parent = <&aic>; interrupts = ; #iommu-cells = <1>; power-domains = <&ps_atc1_usb>; + status = "disabled"; }; dwc3_1: usb@40a280000 { - status = "disabled"; compatible = "apple,t8132-dwc3"; reg = <0x4 0x0a280000 0x0 0xcd00>, <0x4 0x0a28cd00 0x0 0x3200>; @@ -1200,6 +1200,7 @@ resets = <&atcphy1>; phys = <&atcphy1 PHY_TYPE_USB2>; phy-names = "usb2-phy"; + status = "disabled"; }; @@ -1266,17 +1267,16 @@ }; dart_apcie0: iommu@490000000 { - status = "disabled"; compatible = "apple,t8132-dart", "apple,t8110-dart"; reg = <0x4 0x90000000 0x0 0x20000>; /* J713 ADT /arm-io/dart-apcie0, interrupt-parent AIC. */ interrupt-parent = <&aic>; interrupts = ; #iommu-cells = <1>; + status = "disabled"; }; pcie0: pcie@1cb0000000 { - status = "disabled"; compatible = "apple,t8132-pcie"; device_type = "pci"; @@ -1303,6 +1303,7 @@ 0xb 0xc0000000 0x0 0x20000000>, <0x02000000 0x0 0x80000000 0xb 0x80000000 0x0 0x40000000>; + status = "disabled"; port00: pci@0,0 { device_type = "pci"; @@ -1327,3 +1328,16 @@ }; #include "t8132-memory.dtsi" + +#include "t8132-peripherals.dtsi" + +#include "t8132-peripheral-buses.dtsi" + +#include "t8132-error-handlers.dtsi" + +#include "t8132-sio.dtsi" + +#include "t8132-avd.dtsi" +#include "t8132-gpu.dtsi" +#include "t8132-dcp.dtsi" +#include "t8132-dcpext.dtsi" diff --git a/drivers/gpio/gpio-macsmc.c b/drivers/gpio/gpio-macsmc.c index af7504a861bb7..5f43b79b6013c 100644 --- a/drivers/gpio/gpio-macsmc.c +++ b/drivers/gpio/gpio-macsmc.c @@ -36,10 +36,11 @@ #define MACSMC_J700_RADIO_REG_ON_HI 0x80000 /* - * On the J713 and J715, /amfm/function-reg_on is pKW4("gP13", 0x00800000). - * The firmware function preserves the template's upper 16 bits and inserts - * the level into its low 16 bits. This does not establish generic CMD_OUTPUT - * semantics, a pin-mode command, or a readback operation for this line. + * On the J713, J715, J604 and J773g, /amfm/function-reg_on is + * pKW4("gP13", 0x00800000) (apple_t8132_managed_radio()). The firmware + * function preserves the template's upper 16 bits and inserts the level into + * its low 16 bits. This does not establish generic CMD_OUTPUT semantics, a + * pin-mode command, or a readback operation for this line. */ #define MACSMC_J713_RADIO_REG_ON_GPIO 0x13 #define MACSMC_J713_RADIO_REG_ON_TEMPLATE 0x00800000 @@ -451,7 +452,7 @@ static int macsmc_gpio_probe(struct platform_device *pdev) smcgp->base_key = data ? data->base_key : _SMC_KEY("gP\0\0"); smcgp->j700_pcio = of_machine_is_compatible("apple,j700") && device_is_compatible(&pdev->dev, "apple,smc-gpio"); - smcgp->j713 = apple_t8132_air(); + smcgp->j713 = apple_t8132_managed_radio(); mutex_init(&smcgp->j713_reg_on_lock); ret = macsmc_gpio_parse_templates(smcgp); if (ret) diff --git a/drivers/gpu/drm/apple/dcp-display-metadata.c b/drivers/gpu/drm/apple/dcp-display-metadata.c index 1945d49bca2c5..a84a2bd9abdda 100644 --- a/drivers/gpu/drm/apple/dcp-display-metadata.c +++ b/drivers/gpu/drm/apple/dcp-display-metadata.c @@ -186,6 +186,18 @@ const struct dcp_color_space *dcp_color_space_lookup(const char *name) return ERR_PTR(-EINVAL); } +const struct dcp_color_space *dcp_panel_gamut_color_space(enum dcp_panel_gamut gamut) +{ + switch (gamut) { + case DCP_PANEL_GAMUT_SRGB: + return dcp_color_space_lookup("srgb"); + case DCP_PANEL_GAMUT_DISPLAY_P3: + return dcp_color_space_lookup("display-p3"); + default: + return NULL; + } +} + /* * Firmware chromaticities win. Without a complete, valid set, use the panel's * named target. Without either the block keeps its nominal white only. diff --git a/drivers/gpu/drm/apple/dcp-display-metadata.h b/drivers/gpu/drm/apple/dcp-display-metadata.h index 574b444961712..66c28c1bc7004 100644 --- a/drivers/gpu/drm/apple/dcp-display-metadata.h +++ b/drivers/gpu/drm/apple/dcp-display-metadata.h @@ -19,10 +19,17 @@ struct dcp_display_metadata { u32 max_luminance, max_fall, min_luminance; /* 16.16 cd/m2 */ }; +/* Calibrated target named by the boot-populated raw ADT. */ +enum dcp_panel_gamut { + DCP_PANEL_GAMUT_UNSPECIFIED, + DCP_PANEL_GAMUT_SRGB, + DCP_PANEL_GAMUT_DISPLAY_P3, +}; + /* - * A standard named colour space a panel is calibrated to, from the - * apple,color-gamut property of its device tree node. Coordinates are CIE - * 1931 x/y in units of 1/65536 and gamma is 16.16, as in the metadata. + * A standard named colour space a panel is calibrated to, selected by the + * boot-populated raw ADT. Coordinates are CIE 1931 x/y in units of 1/65536 + * and gamma is 16.16, as in the metadata. */ struct dcp_color_space { const char *name; @@ -32,6 +39,7 @@ struct dcp_color_space { }; const struct dcp_color_space *dcp_color_space_lookup(const char *name); +const struct dcp_color_space *dcp_panel_gamut_color_space(enum dcp_panel_gamut gamut); struct drm_edid; struct drm_display_mode; diff --git a/drivers/gpu/drm/apple/dcp-internal.h b/drivers/gpu/drm/apple/dcp-internal.h index 89932f4b2753c..5b9f50b60d300 100644 --- a/drivers/gpu/drm/apple/dcp-internal.h +++ b/drivers/gpu/drm/apple/dcp-internal.h @@ -205,7 +205,7 @@ struct dcp_panel { u32 peak_nits; /// EDR headroom ceiling x1000 from the ADT (desktop 26.x; 0 if none) u32 edr_ceiling; - /// calibrated colour target from apple,color-gamut; NULL if not given + /// calibrated colour target from the raw ADT; NULL if not given const struct dcp_color_space *color_target; }; diff --git a/drivers/gpu/drm/apple/dcp-m4-profile.h b/drivers/gpu/drm/apple/dcp-m4-profile.h index 8703744e1c484..2ea10cca57577 100644 --- a/drivers/gpu/drm/apple/dcp-m4-profile.h +++ b/drivers/gpu/drm/apple/dcp-m4-profile.h @@ -50,10 +50,13 @@ static const struct dcp_m4_profile dcp_m4_profile_j713 = { .timing = dcp_m4_timing_j713, }; -/* - * The J715: the same firmware ABI with a 2880x1864 panel. Its timing is - * not in the ADT and has not been read from a J715 DCP yet. - */ +/* The J715's panel timing, as macOS reports it (TimingElements, ID 2). */ +static const u32 dcp_m4_timing_j715[2][8] = { + { 2880, 2960, 8, 32, 40, 7710975, 1, 0 }, + { 1864, 1961, 47, 8, 42, 3932165, 1, 0 }, +}; + +/* The J715: the same firmware ABI with a 2880x1864 panel. */ static const struct dcp_m4_profile dcp_m4_profile_j715 = { .name = "J715", .machine = "apple,j715", .panel_width = 2880, .panel_height = 1864, .boot_stride = 11520, @@ -64,6 +67,7 @@ static const struct dcp_m4_profile dcp_m4_profile_j715 = { .done_method = 590, .done_size = 0x730, .open_method = 457, .brightness_max = 500, .brightness_default = 120, .width_mm = 0, .height_mm = 0, + .timing = dcp_m4_timing_j715, }; static const struct dcp_m4_profile *const dcp_m4_profiles[] = { diff --git a/drivers/gpu/drm/apple/dcp-panel-adt.c b/drivers/gpu/drm/apple/dcp-panel-adt.c index 521ff6cd79a3a..8a13efba1bf08 100644 --- a/drivers/gpu/drm/apple/dcp-panel-adt.c +++ b/drivers/gpu/drm/apple/dcp-panel-adt.c @@ -18,6 +18,51 @@ struct dcp_adt_cursor { u32 nodes; }; +#define DCP_ADT_MATRIX_SIZE 40 +#define DCP_ADT_Q24_ONE (1LL << 24) +#define DCP_ADT_Q24_LIMIT (4LL << 24) + +/* + * Validate the factory matrix only as provenance for the named target. The + * DCP consumes the same raw property at matrix location 8; Linux must not + * retain its coefficients or submit them again through a DRM CTM. + */ +static bool dcp_adt_calibration_matrix(const u8 *value, u32 size) +{ + s64 coefficient[9], scaled[9], determinant; + + if (size != DCP_ADT_MATRIX_SIZE || get_unaligned_le32(value) != 1) + return false; + for (unsigned int i = 0; i < ARRAY_SIZE(coefficient); i++) { + coefficient[i] = (s32)get_unaligned_le32(value + 4 + 4 * i); + if (coefficient[i] < -DCP_ADT_Q24_LIMIT || + coefficient[i] > DCP_ADT_Q24_LIMIT) + return false; + /* Q8.16 keeps the bounded determinant inside s64. */ + scaled[i] = coefficient[i] >> 8; + } + for (unsigned int row = 0; row < 3; row++) { + s64 sum = coefficient[3 * row] + coefficient[3 * row + 1] + + coefficient[3 * row + 2]; + + if (sum < DCP_ADT_Q24_ONE - 4 || sum > DCP_ADT_Q24_ONE + 4) + return false; + } + determinant = scaled[0] * (scaled[4] * scaled[8] - scaled[5] * scaled[7]) - + scaled[1] * (scaled[3] * scaled[8] - scaled[5] * scaled[6]) + + scaled[2] * (scaled[3] * scaled[7] - scaled[4] * scaled[6]); + return determinant != 0; +} + +static enum dcp_panel_gamut dcp_adt_gamut(const u8 *value, u32 size) +{ + if (size == sizeof("P3") && !memcmp(value, "P3", sizeof("P3"))) + return DCP_PANEL_GAMUT_DISPLAY_P3; + if (size == sizeof("sRGB") && !memcmp(value, "sRGB", sizeof("sRGB"))) + return DCP_PANEL_GAMUT_SRGB; + return DCP_PANEL_GAMUT_UNSPECIFIED; +} + static const u8 *dcp_adt_bytes(struct dcp_adt_cursor *c, size_t size) { const u8 *p; @@ -76,6 +121,8 @@ static int dcp_adt_node(struct dcp_adt_cursor *c, struct dcp_panel_adt *panel, size_t props_start, props_end; u32 props, children; char node_name[33] = {}; + enum dcp_panel_gamut gamut = DCP_PANEL_GAMUT_UNSPECIFIED; + bool gamut_seen = false, matrix_seen = false, matrix_valid = false; bool product, selected, backlight; if (IS_ERR(header)) @@ -116,10 +163,23 @@ static int dcp_adt_node(struct dcp_adt_cursor *c, struct dcp_panel_adt *panel, if (selected || (product && !strcmp(name, "raw-panel-serial-number"))) dcp_adt_panel_property(panel, name, prop + 36, size); - else if (backlight && !strcmp(name, "EDRPotentialHeadroom") && size == 4) + else if (product && !strcmp(name, "artwork-display-gamut")) { + if (gamut_seen) + gamut = DCP_PANEL_GAMUT_UNSPECIFIED; + else + gamut = dcp_adt_gamut(prop + 36, size); + gamut_seen = true; + } else if (product && !strcmp(name, "primary-calibration-matrix")) { + matrix_valid = !matrix_seen && + dcp_adt_calibration_matrix(prop + 36, size); + matrix_seen = true; + } else if (backlight && !strcmp(name, "EDRPotentialHeadroom") && size == 4) panel->edr_potential_headroom = get_unaligned_le32(prop + 36); c->pos += 36 + ALIGN((size_t)size, 4); } + if (product) + panel->gamut = gamut_seen && matrix_seen && matrix_valid ? + gamut : DCP_PANEL_GAMUT_UNSPECIFIED; /* A valid ADT may have neither panel node; retain the OF defaults. */ panel->found |= selected; c->pos = props_end; diff --git a/drivers/gpu/drm/apple/dcp-panel-adt.h b/drivers/gpu/drm/apple/dcp-panel-adt.h index 32b585660974a..c053580265193 100644 --- a/drivers/gpu/drm/apple/dcp-panel-adt.h +++ b/drivers/gpu/drm/apple/dcp-panel-adt.h @@ -10,6 +10,8 @@ struct dcp_panel_adt { u32 width_mm, height_mm; /* /backlight EDRPotentialHeadroom, 16.16; 0 if absent */ u32 edr_potential_headroom; + /* /product target, only when its calibration matrix is also valid */ + enum dcp_panel_gamut gamut; bool found; }; diff --git a/drivers/gpu/drm/apple/dcp.c b/drivers/gpu/drm/apple/dcp.c index 70e46bab4b653..f56c4423ea247 100644 --- a/drivers/gpu/drm/apple/dcp.c +++ b/drivers/gpu/drm/apple/dcp.c @@ -850,7 +850,7 @@ void dcp_panel_read_dimensions(struct apple_dcp *dcp, struct device_node *panel_ * keep per-display settings such as its brightness. The identity state is * allocated at probe (bind may fail and run again); bind fills it in. */ -static void dcp_panel_adt_identity(struct apple_dcp *dcp) +static void dcp_panel_read_adt(struct apple_dcp *dcp) { bool desktop = dcp->fw_compat == DCP_FIRMWARE_V_26_6_DESKTOP; struct dcp_panel_adt panel = { @@ -890,9 +890,10 @@ static void dcp_panel_adt_identity(struct apple_dcp *dcp) dcp->panel.height_mm = panel.height_mm; if (dcp->panel_identity) dcp->panel_identity->adt = panel.identity; + dcp->panel.color_target = ret ? NULL : dcp_panel_gamut_color_space(panel.gamut); if (desktop) dcp->panel.edr_ceiling = dcp_edr_ceiling(panel.edr_potential_headroom); - dev_info(dcp->dev, "panel identity fallback: ADT %s, panel node %s, dimensions %ux%u mm\n", + dev_info(dcp->dev, "panel ADT: %s, panel node %s, dimensions %ux%u mm\n", ret ? "unavailable" : "parsed", panel.found ? "present" : "absent", dcp->panel.width_mm, dcp->panel.height_mm); if (dcp->panel.edr_ceiling) @@ -1072,29 +1073,6 @@ const struct drm_edid *dcp_panel_edid_snapshot(struct apple_dcp *dcp, return edid; } -/* - * The panel's calibrated colour target, for an EDID when the firmware - * publishes no chromaticities. An unknown name is ignored, not guessed. - */ -int dcp_panel_read_color_target(struct apple_dcp *dcp, struct device_node *panel_np) -{ - const struct dcp_color_space *target; - const char *name; - int ret; - - dcp->panel.color_target = NULL; - ret = of_property_read_string(panel_np, "apple,color-gamut", &name); - if (ret == -EINVAL) - return 0; - if (ret) - return ret; - target = dcp_color_space_lookup(name); - if (IS_ERR(target)) - return PTR_ERR(target); - dcp->panel.color_target = target; - return 0; -} - void dcp_set_dimensions(struct apple_dcp *dcp, u64 generation) { struct apple_connector *apple_connector = READ_ONCE(dcp->connector); @@ -5288,9 +5266,6 @@ static int dcp_comp_bind_pipe(struct device *dev, struct device *main, void *dat panel_np = of_get_compatible_child(dev->of_node, "apple,panel"); if (panel_np) { - /* Every internal panel, whichever firmware drives it. */ - if (dcp_panel_read_color_target(dcp, panel_np)) - dev_warn(dev, "ignoring invalid panel apple,color-gamut\n"); if (dcp->fw_compat == DCP_FIRMWARE_V_26_6_DESKTOP) { /* * Desktop 26.x swaps carry nits, and the panel node @@ -5310,9 +5285,8 @@ static int dcp_comp_bind_pipe(struct device *dev, struct device *main, void *dat dcp_panel_read_dimensions(dcp, panel_np); of_node_put(panel_np); - /* The M4 IOMFB reports its fixed mode without an EDID. */ - if (!iomfb_is_m4(dcp)) - dcp_panel_adt_identity(dcp); + /* Read target metadata for H17P and desktop firmware alike. */ + dcp_panel_read_adt(dcp); dcp->fixed_connector_type = DRM_MODE_CONNECTOR_eDP; dcp->connector_type = DRM_MODE_CONNECTOR_eDP; } diff --git a/drivers/gpu/drm/apple/dcp.h b/drivers/gpu/drm/apple/dcp.h index eab4cc0bc828f..d65367c8af13f 100644 --- a/drivers/gpu/drm/apple/dcp.h +++ b/drivers/gpu/drm/apple/dcp.h @@ -103,7 +103,6 @@ bool dcp_crtc_mode_fixup(struct drm_crtc *crtc, struct drm_display_mode *adjusted_mode); void dcp_set_dimensions(struct apple_dcp *dcp, u64 generation); void dcp_panel_read_dimensions(struct apple_dcp *dcp, struct device_node *panel_np); -int dcp_panel_read_color_target(struct apple_dcp *dcp, struct device_node *panel_np); void dcp_update_connector_dimensions(struct apple_dcp *dcp, struct drm_connector *connector); void dcp_send_message(struct apple_dcp *dcp, u8 endpoint, u64 message); diff --git a/drivers/gpu/drm/apple/parser-test.c b/drivers/gpu/drm/apple/parser-test.c index 5737b201093aa..97f1160b1c140 100644 --- a/drivers/gpu/drm/apple/parser-test.c +++ b/drivers/gpu/drm/apple/parser-test.c @@ -1379,13 +1379,11 @@ static const struct dcp_display_mode panel_color_mode = { static const struct edid *panel_color_edid(struct kunit *test, const struct dcp_display_metadata *metadata, - const char *gamut) + const struct dcp_color_space *target) { - const struct dcp_color_space *target = gamut ? dcp_color_space_lookup(gamut) : NULL; const struct drm_edid *edid; struct edid *copy; - KUNIT_ASSERT_FALSE(test, IS_ERR(target)); edid = dcp_panel_edid(metadata, target, &panel_color_mode, 1, 345, 223); KUNIT_ASSERT_FALSE(test, IS_ERR(edid)); KUNIT_EXPECT_TRUE(test, drm_edid_valid(edid)); @@ -1420,19 +1418,19 @@ static void parser_panel_color_target(struct kunit *test) KUNIT_EXPECT_TRUE(test, IS_ERR(dcp_color_space_lookup(""))); KUNIT_EXPECT_TRUE(test, IS_ERR(dcp_color_space_lookup(NULL))); - /* No firmware chromaticity: the DT target supplies P3, D65 and 2.2. */ - raw = panel_color_edid(test, &metadata, "display-p3"); + /* No firmware chromaticity: the named target supplies P3, D65 and 2.2. */ + raw = panel_color_edid(test, &metadata, dcp_color_space_lookup("display-p3")); for (unsigned int i = 0; i < ARRAY_SIZE(p3); i++) KUNIT_EXPECT_EQ(test, panel_color_coord(raw, i), p3[i]); KUNIT_EXPECT_EQ(test, raw->gamma, 120); - raw = panel_color_edid(test, &metadata, "srgb"); + raw = panel_color_edid(test, &metadata, dcp_color_space_lookup("srgb")); for (unsigned int i = 0; i < ARRAY_SIZE(srgb); i++) KUNIT_EXPECT_EQ(test, panel_color_coord(raw, i), srgb[i]); KUNIT_EXPECT_EQ(test, raw->gamma, 120); /* Incomplete firmware colour data falls back to the target. */ metadata.chromaticity[0][0] = 44608; - raw = panel_color_edid(test, &metadata, "display-p3"); + raw = panel_color_edid(test, &metadata, dcp_color_space_lookup("display-p3")); KUNIT_EXPECT_EQ(test, panel_color_coord(raw, 1), p3[1]); /* Complete firmware chromaticities win over the target. */ @@ -1441,50 +1439,152 @@ static void parser_panel_color_target(struct kunit *test) .chromaticity = { { 44608, 20288 }, { 16960, 40448 }, { 9344, 5184 } }, .white = { 20544, 21568 }, }; - raw = panel_color_edid(test, &metadata, "display-p3"); + raw = panel_color_edid(test, &metadata, dcp_color_space_lookup("display-p3")); KUNIT_EXPECT_EQ(test, panel_color_coord(raw, 0), 697U); KUNIT_EXPECT_EQ(test, panel_color_coord(raw, 1), 317U); KUNIT_EXPECT_EQ(test, panel_color_coord(raw, 6), 321U); KUNIT_EXPECT_EQ(test, raw->gamma, 0xff); } -static void parser_panel_of_color_target(struct kunit *test) +static size_t parser_adt_property(u8 *out, size_t capacity, const char *name, + const void *value, u32 size) { - char p3[] = "display-p3", srgb[] = "srgb", bad[] = "adobe-rgb"; - char unterminated[] = { 's', 'r', 'g', 'b' }; - struct property gamut = { .name = "apple,color-gamut" }; - struct device_node node = {}; - struct apple_dcp *dcp = kunit_kzalloc(test, sizeof(*dcp), GFP_KERNEL); + size_t padded = ALIGN((size_t)size, 4); + + if (strnlen(name, 32) >= 32 || capacity < 36 + padded) + return 0; + memset(out, 0, 36 + padded); + strscpy((char *)out, name, 32); + put_unaligned_le32(size, out + 32); + memcpy(out + 36, value, size); + return 36 + padded; +} - KUNIT_ASSERT_NOT_NULL(test, dcp); - /* No property keeps today's white-only EDID. */ - KUNIT_EXPECT_EQ(test, dcp_panel_read_color_target(dcp, &node), 0); - KUNIT_EXPECT_NULL(test, dcp->panel.color_target); - - node.properties = &gamut; - gamut.value = p3; - gamut.length = sizeof(p3); - KUNIT_EXPECT_EQ(test, dcp_panel_read_color_target(dcp, &node), 0); - KUNIT_ASSERT_NOT_NULL(test, dcp->panel.color_target); - KUNIT_EXPECT_STREQ(test, dcp->panel.color_target->name, "display-p3"); - gamut.value = srgb; - gamut.length = sizeof(srgb); - KUNIT_EXPECT_EQ(test, dcp_panel_read_color_target(dcp, &node), 0); - KUNIT_ASSERT_NOT_NULL(test, dcp->panel.color_target); - KUNIT_EXPECT_STREQ(test, dcp->panel.color_target->name, "srgb"); - - /* Unknown or malformed values are rejected and leave no target. */ - gamut.value = bad; - gamut.length = sizeof(bad); - KUNIT_EXPECT_EQ(test, dcp_panel_read_color_target(dcp, &node), -EINVAL); - KUNIT_EXPECT_NULL(test, dcp->panel.color_target); - gamut.value = p3; - gamut.length = sizeof(p3); - dcp_panel_read_color_target(dcp, &node); - gamut.value = unterminated; - gamut.length = sizeof(unterminated); - KUNIT_EXPECT_LT(test, dcp_panel_read_color_target(dcp, &node), 0); - KUNIT_EXPECT_NULL(test, dcp->panel.color_target); +static void parser_adt_synthetic_matrix(__le32 matrix[10], s32 offset) +{ + static const s32 identity[9] = { + 1 << 24, 0, 0, 0, 1 << 24, 0, 0, 0, 1 << 24, + }; + + matrix[0] = cpu_to_le32(1); + for (unsigned int i = 0; i < ARRAY_SIZE(identity); i++) + matrix[i + 1] = cpu_to_le32(identity[i]); + /* A deliberately synthetic row-neutral correction, not panel data. */ + matrix[1] = cpu_to_le32((1 << 24) + offset); + matrix[2] = cpu_to_le32(-offset); +} + +static size_t parser_adt_color_fixture(u8 *out, size_t capacity, + const void *gamut, u32 gamut_size, + const void *matrix, u32 matrix_size) +{ + const char root[] = "device-tree", product[] = "product"; + size_t pos = 0, used; + + if (capacity < 8) + return 0; + put_unaligned_le32(1, out); + put_unaligned_le32(1, out + 4); + pos = 8; + used = parser_adt_property(out + pos, capacity - pos, "name", root, sizeof(root)); + if (!used || capacity - pos - used < 8) + return 0; + pos += used; + put_unaligned_le32(3, out + pos); + put_unaligned_le32(0, out + pos + 4); + pos += 8; + used = parser_adt_property(out + pos, capacity - pos, "name", product, + sizeof(product)); + if (!used) + return 0; + pos += used; + used = parser_adt_property(out + pos, capacity - pos, "artwork-display-gamut", + gamut, gamut_size); + if (!used) + return 0; + pos += used; + used = parser_adt_property(out + pos, capacity - pos, + "primary-calibration-matrix", matrix, matrix_size); + return used ? pos + used : 0; +} + +static void parser_panel_adt_color_target(struct kunit *test) +{ + static const u32 p3[] = { 696, 328, 271, 707, 154, 61, 320, 337 }; + static const u32 srgb[] = { 655, 338, 307, 614, 154, 61, 320, 337 }; + struct dcp_display_metadata metadata = { + .manufacturer = "APP", .product = 0x616, .name = "Apple Panel", + }; + const struct dcp_color_space *target; + struct dcp_panel_adt panel = {}; + __le32 matrix[10]; + u8 adt[512]; + size_t size; + const struct edid *raw; + + parser_adt_synthetic_matrix(matrix, 1 << 20); + size = parser_adt_color_fixture(adt, sizeof(adt), "P3", sizeof("P3"), + matrix, sizeof(matrix)); + KUNIT_ASSERT_GT(test, size, (size_t)0); + KUNIT_ASSERT_EQ(test, dcp_panel_adt_parse(adt, size, &panel), 0); + KUNIT_EXPECT_EQ(test, panel.gamut, DCP_PANEL_GAMUT_DISPLAY_P3); + target = dcp_panel_gamut_color_space(panel.gamut); + KUNIT_ASSERT_NOT_NULL(test, target); + raw = panel_color_edid(test, &metadata, target); + for (unsigned int i = 0; i < ARRAY_SIZE(p3); i++) + KUNIT_EXPECT_EQ(test, panel_color_coord(raw, i), p3[i]); + + parser_adt_synthetic_matrix(matrix, -(1 << 19)); + size = parser_adt_color_fixture(adt, sizeof(adt), "sRGB", sizeof("sRGB"), + matrix, sizeof(matrix)); + panel = (struct dcp_panel_adt) {}; + KUNIT_ASSERT_EQ(test, dcp_panel_adt_parse(adt, size, &panel), 0); + KUNIT_EXPECT_EQ(test, panel.gamut, DCP_PANEL_GAMUT_SRGB); + target = dcp_panel_gamut_color_space(panel.gamut); + KUNIT_ASSERT_NOT_NULL(test, target); + raw = panel_color_edid(test, &metadata, target); + for (unsigned int i = 0; i < ARRAY_SIZE(srgb); i++) + KUNIT_EXPECT_EQ(test, panel_color_coord(raw, i), srgb[i]); + + /* Unknown, malformed, short, wrong-version, unbounded, non-neutral or singular. */ + for (unsigned int fault = 0; fault < 7; fault++) { + const char *name = fault == 0 ? "AdobeRGB" : "P3"; + u32 name_size = fault == 1 ? 2 : strlen(name) + 1; + u32 matrix_size = fault == 2 ? sizeof(matrix) - 4 : sizeof(matrix); + + parser_adt_synthetic_matrix(matrix, 1 << 20); + if (fault == 3) + matrix[0] = cpu_to_le32(2); + if (fault == 4) { + matrix[1] = cpu_to_le32(5 << 24); + matrix[2] = cpu_to_le32(-(4 << 24)); + } + if (fault == 5) + matrix[2] = 0; + if (fault == 6) { + matrix[4] = matrix[1]; + matrix[5] = matrix[2]; + matrix[6] = matrix[3]; + } + size = parser_adt_color_fixture(adt, sizeof(adt), name, name_size, + matrix, matrix_size); + panel = (struct dcp_panel_adt) { .gamut = DCP_PANEL_GAMUT_DISPLAY_P3 }; + KUNIT_ASSERT_EQ(test, dcp_panel_adt_parse(adt, size, &panel), 0); + KUNIT_EXPECT_EQ(test, panel.gamut, DCP_PANEL_GAMUT_UNSPECIFIED); + } + + /* Every truncation is rejected transactionally. */ + parser_adt_synthetic_matrix(matrix, 1 << 20); + size = parser_adt_color_fixture(adt, sizeof(adt), "P3", sizeof("P3"), + matrix, sizeof(matrix)); + for (size_t cut = 0; cut < size; cut++) { + struct dcp_panel_adt before; + + panel = (struct dcp_panel_adt) { .identity = { .manufacturer = "TST" } }; + before = panel; + KUNIT_EXPECT_LT(test, dcp_panel_adt_parse(adt, cut, &panel), 0); + KUNIT_EXPECT_MEMEQ(test, &panel, &before, sizeof(panel)); + } } static void parser_panel_identity_stable(struct kunit *test) @@ -1582,6 +1682,7 @@ static void parser_panel_of_dimensions(struct kunit *test) static void parser_panel_publication(struct kunit *test, enum dcp_firmware_version fw_compat, bool desktop_state) { + const char *gamut = fw_compat == DCP_FIRMWARE_H17P ? "sRGB" : "P3"; struct apple_dcp *dcp = kunit_kzalloc(test, sizeof(*dcp), GFP_KERNEL); struct dcp_desktop_state *desktop = kunit_kzalloc(test, sizeof(*desktop), GFP_KERNEL); struct dcp_panel_identity *id = kunit_kzalloc(test, sizeof(*id), GFP_KERNEL); @@ -1592,6 +1693,9 @@ static void parser_panel_publication(struct kunit *test, .width_mm = 345, .height_mm = 216, }; struct dcp_panel_adt before = panel; + __le32 matrix[10]; + u8 adt[512]; + size_t adt_size; struct device *dev = drm_kunit_helper_alloc_device(test); struct drm_device *drm; struct drm_display_mode *published; @@ -1611,11 +1715,17 @@ static void parser_panel_publication(struct kunit *test, ret = drmm_connector_init(drm, &connector->base, &parser_route_connector_funcs, DRM_MODE_CONNECTOR_eDP, NULL); KUNIT_ASSERT_EQ(test, ret, 0); - ret = dcp_panel_adt_parse(panel_test_adt, sizeof(panel_test_adt), &panel); + parser_adt_synthetic_matrix(matrix, 1 << 20); + adt_size = parser_adt_color_fixture(adt, sizeof(adt), gamut, strlen(gamut) + 1, + matrix, sizeof(matrix)); + KUNIT_ASSERT_GT(test, adt_size, (size_t)0); + ret = dcp_panel_adt_parse(adt, adt_size, &panel); KUNIT_ASSERT_EQ(test, ret, 0); - /* /product's machine ID is not a panel product; neither panel node exists. */ + /* /product's target metadata is not panel identity; no panel node exists. */ KUNIT_EXPECT_FALSE(test, panel.found); - KUNIT_EXPECT_MEMEQ(test, &panel, &before, sizeof(panel)); + KUNIT_EXPECT_MEMEQ(test, &panel.identity, &before.identity, sizeof(panel.identity)); + KUNIT_EXPECT_EQ(test, panel.width_mm, before.width_mm); + KUNIT_EXPECT_EQ(test, panel.height_mm, before.height_mm); parser_modes_init(dcp); mutex_init(&dcp->dcpavserv.lock); mutex_init(&dcp->hpd_mutex); @@ -1625,6 +1735,7 @@ static void parser_panel_publication(struct kunit *test, dcp->fw_compat = fw_compat; dcp->panel.width_mm = panel.width_mm; dcp->panel.height_mm = panel.height_mm; + dcp->panel.color_target = dcp_panel_gamut_color_space(panel.gamut); id->adt = panel.identity; dcp->connector = connector; dcp->modes = &mode; @@ -1643,6 +1754,9 @@ static void parser_panel_publication(struct kunit *test, KUNIT_EXPECT_EQ(test, connector->base.edid_blob_ptr->length, (size_t)128); KUNIT_EXPECT_TRUE(test, connector->drm_edid_firmware_derived); raw = connector->base.edid_blob_ptr->data; + KUNIT_EXPECT_EQ(test, panel_color_coord(raw, 0), + fw_compat == DCP_FIRMWARE_H17P ? 655U : 696U); + KUNIT_EXPECT_EQ(test, raw->gamma, 120); KUNIT_EXPECT_MEMEQ(test, raw->detailed_timings[1].data.other_data.data.str.str, "Apple Panel", 11); KUNIT_EXPECT_EQ(test, connector->base.display_info.width_mm, 345U); @@ -1810,7 +1924,7 @@ static struct kunit_case parser_cases[] = { KUNIT_CASE(parser_panel_identity_stable), KUNIT_CASE(parser_panel_identity), KUNIT_CASE(parser_panel_color_target), - KUNIT_CASE(parser_panel_of_color_target), + KUNIT_CASE(parser_panel_adt_color_target), KUNIT_CASE(parser_score_presence), KUNIT_CASE(parser_legacy_ties), KUNIT_CASE(parser_color_presence), diff --git a/drivers/gpu/drm/asahi/g17/queue/admission.rs b/drivers/gpu/drm/asahi/g17/queue/admission.rs index f09e629aa047e..9337ba9de281f 100644 --- a/drivers/gpu/drm/asahi/g17/queue/admission.rs +++ b/drivers/gpu/drm/asahi/g17/queue/admission.rs @@ -477,6 +477,11 @@ impl Pool { pub(crate) fn queues(&self) -> u32 { self.queues.load(Ordering::Acquire) } + /// Whether one more logical queue fits, without reserving it. Creators + /// check before reserving, so a refusal never returns (and notifies) a slot. + pub(crate) fn has_room(&self) -> bool { + self.queues() < self.max_queues + } pub(crate) fn reserve_queue(self: &Arc) -> Result { let mut count = self.queues.load(Ordering::Acquire); loop { diff --git a/drivers/gpu/drm/asahi/g17/runtime.rs b/drivers/gpu/drm/asahi/g17/runtime.rs index af76e8b62f040..0364d5d5055f7 100644 --- a/drivers/gpu/drm/asahi/g17/runtime.rs +++ b/drivers/gpu/drm/asahi/g17/runtime.rs @@ -705,14 +705,29 @@ impl Backend { if shared.crashed.load(core::sync::atomic::Ordering::Acquire) { return Err(EIO); } - let slot = firmware.queues.admission.reserve_queue()?; + // Check every capacity the queue needs before reserving its slot. + // A refused creator must hold nothing: returning a reserved slot + // notifies the queue domain observed above, so the creator's own + // wait would end at once and admission would spin on the device + // mutex for the whole wait, starving the queues it waits for. + let admission = &firmware.queues.admission; // Installed compute channels narrow render's QIDs: every open // logical queue keeps a dedicated render pair within reach. - if !firmware.queues.qids.render_fits(firmware.queues.admission.queues() as usize) { + if !admission.has_room() + || !firmware.queues.qids.render_fits(admission.queues() as usize + 1) + { return Err(super::capacity::refused(super::capacity::Site::LogicalQueues)); } - match firmware.uat.new_execution_context(vm) { - Ok(execution) => { + let attempt = if firmware.uat.execution_contexts_used() < crate::mmu::MAX_EXECUTION_CONTEXTS { + // Creators hold the device mutex, so neither check above can + // have changed; the slot only fails on a broken invariant. + let slot = admission.reserve_queue()?; + firmware.uat.new_execution_context(vm).map(|execution| (execution, slot)) + } else { + Err(ENOSPC) + }; + match attempt { + Ok((execution, slot)) => { break ( lease, firmware.uat.clone(), @@ -723,14 +738,13 @@ impl Backend { ) } Err(error) if error == ENOSPC => { - // Every open queue holds one context; this one is counted - // in `queues()` already but holds none yet. - let open = firmware.queues.admission.queues().saturating_sub(1); + // Every open queue holds one context; this one holds no + // slot or context any more. + let open = firmware.queues.admission.queues(); let closing = firmware.uat.execution_contexts_used().saturating_sub(open); if closing == 0 || now_ns().saturating_sub(started) >= RETAINED_CONTEXT_WAIT_NS { return Err(super::capacity::refused(super::capacity::Site::ExecutionContexts)); } - drop(slot); drop(state); drop(lease); // Nothing is visible yet: a signalled creator restarts. diff --git a/drivers/iommu/apple-dart.c b/drivers/iommu/apple-dart.c index 2d332ea3abff9..d39ee78d9d73c 100644 --- a/drivers/iommu/apple-dart.c +++ b/drivers/iommu/apple-dart.c @@ -4129,7 +4129,7 @@ static int apple_dart_probe(struct platform_device *pdev) of_device_is_compatible(dev->of_node, "apple,t8132-dart") && (res->start == 0x286300000ULL || res->start == 0x48a300000ULL); /* The radio DART's fault interrupt is not described by the loader. */ - j713_radio = res && !tunneled && apple_t8132_air() && + j713_radio = res && !tunneled && apple_t8132_managed_radio() && of_machine_is_compatible("apple,t8132") && of_device_is_compatible(dev->of_node, "apple,t8132-dart") && res->start == 0x490000000ULL; @@ -4532,12 +4532,12 @@ static int apple_dart_probe(struct platform_device *pdev) of_node_put(iommu); of_node_put(mtp); } - if (apple_t8132_air() && of_machine_is_compatible("apple,t8132") && + if (apple_t8132_live_mtp() && of_machine_is_compatible("apple,t8132") && res->start == 0x394800000ULL && dart->hw->type == DART_T8110 && !dart->locked && !tunneled && dart->supports_bypass && apple_dart_streams_bypassed(dart)) { dart->retained_mtp = true; - dev_info(dev, "Retaining the live J713 MTP bypass\n"); + dev_info(dev, "Retaining the live T8132 MTP bypass\n"); } if (dart->preserve_display) { if (dart->hw->type != DART_T8110 || !bitmap_empty(dart->remapped, DART_MAX_STREAMS)) { diff --git a/drivers/media/platform/apple/avd/avd-h264-test.c b/drivers/media/platform/apple/avd/avd-h264-test.c index 89f0e749b1c05..54d2114f45e98 100644 --- a/drivers/media/platform/apple/avd/avd-h264-test.c +++ b/drivers/media/platform/apple/avd/avd-h264-test.c @@ -107,7 +107,31 @@ static void avd_slice_fits_test(struct kunit *test) c->fits); } +static void avd_scaling_flat_test(struct kunit *test) +{ + struct v4l2_ctrl_h264_pps pps = {}; + struct v4l2_ctrl_h264_scaling_matrix *m; + + m = kunit_kzalloc(test, sizeof(*m), GFP_KERNEL); + KUNIT_ASSERT_NOT_NULL(test, m); + memset(m->scaling_list_4x4, 16, sizeof(m->scaling_list_4x4)); + memset(m->scaling_list_8x8, 16, sizeof(m->scaling_list_8x8)); + KUNIT_EXPECT_TRUE(test, avd_h264_scaling_is_flat(&pps, m)); + + /* The 8x8 lists only count with transform_8x8_mode. */ + m->scaling_list_8x8[1][63] = 17; + KUNIT_EXPECT_TRUE(test, avd_h264_scaling_is_flat(&pps, m)); + pps.flags = V4L2_H264_PPS_FLAG_TRANSFORM_8X8_MODE; + KUNIT_EXPECT_FALSE(test, avd_h264_scaling_is_flat(&pps, m)); + + m->scaling_list_8x8[1][63] = 16; + KUNIT_EXPECT_TRUE(test, avd_h264_scaling_is_flat(&pps, m)); + m->scaling_list_4x4[5][15] = 6; + KUNIT_EXPECT_FALSE(test, avd_h264_scaling_is_flat(&pps, m)); +} + static struct kunit_case avd_h264_test_cases[] = { + KUNIT_CASE(avd_scaling_flat_test), KUNIT_CASE_PARAM(avd_slice_data_test, avd_slice_data_gen_params), KUNIT_CASE_PARAM(avd_slice_fits_test, avd_slice_fits_gen_params), {} diff --git a/drivers/media/platform/apple/avd/avd-h264.c b/drivers/media/platform/apple/avd/avd-h264.c index df80d61acdef6..f764b131047ff 100644 --- a/drivers/media/platform/apple/avd/avd-h264.c +++ b/drivers/media/platform/apple/avd/avd-h264.c @@ -224,6 +224,31 @@ static void stream_scaling(struct avd_ctx *ctx, struct avd_h264_run *run) } } +/* + * A scaling matrix whose used lists are all 16 is Flat_4x4_16/Flat_8x8_16, + * which is what the decoder applies when no list is loaded (H.264 7.4.2.1.1). + * FFmpeg and the VA path always hand one over, so loading it per picture + * costs PP time for nothing; macOS leaves the list section empty here. + */ +VISIBLE_IF_KUNIT bool +avd_h264_scaling_is_flat(const struct v4l2_ctrl_h264_pps *pps, + const struct v4l2_ctrl_h264_scaling_matrix *scaling) +{ + for (int i = 0; i < 6; i++) + for (int j = 0; j < 16; j++) + if (scaling->scaling_list_4x4[i][j] != 16) + return false; + + if (pps->flags & V4L2_H264_PPS_FLAG_TRANSFORM_8X8_MODE) + for (int i = 0; i < 2; i++) + for (int j = 0; j < 64; j++) + if (scaling->scaling_list_8x8[i][j] != 16) + return false; + + return true; +} +EXPORT_SYMBOL_IF_KUNIT(avd_h264_scaling_is_flat); + static bool avd_h264_intra_header(const struct avd_h264_run *run) { /* @@ -336,7 +361,8 @@ static void stream_hdr(struct avd_ctx *ctx, struct avd_h264_run *run) if (!intra_header) stream_refs(ctx, run); - if (pps->flags & V4L2_H264_PPS_FLAG_SCALING_MATRIX_PRESENT) + if ((pps->flags & V4L2_H264_PPS_FLAG_SCALING_MATRIX_PRESENT) && + !avd_h264_scaling_is_flat(pps, run->scaling_matrix)) stream_scaling(ctx, run); else push(0, "cm3_mark_end_section_scl"); @@ -541,6 +567,7 @@ static void stream_slice(struct avd_ctx *ctx, struct avd_h264_run *run) push(AVD_OP_SL_REF | AVD_OP_SL_REF_FLAG_CABAC(sl->cabac_init_idc == 1) | AVD_OP_SL_REF_FLAG1(sl->cabac_init_idc == 2) | AVD_OP_SL_REF_FLAG2( + sl->slice_type == V4L2_H264_SLICE_TYPE_B && !(sl->flags & V4L2_H264_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED)) | AVD_OP_SL_REF_NUM_L0(sl->num_ref_idx_l0_active_minus1) | diff --git a/drivers/media/platform/apple/avd/avd-hevc.c b/drivers/media/platform/apple/avd/avd-hevc.c index d444865379e92..1a14010b8934e 100644 --- a/drivers/media/platform/apple/avd/avd-hevc.c +++ b/drivers/media/platform/apple/avd/avd-hevc.c @@ -638,6 +638,7 @@ static void stream_slice_mv(struct avd_ctx *ctx, struct avd_hevc_run *run, !(sl->flags & V4L2_HEVC_SLICE_PARAMS_FLAG_COLLOCATED_FROM_L0)) | AVD_OP_SL_REF_FLAG1( + sl->slice_type == V4L2_HEVC_SLICE_TYPE_B && !(sl->flags & V4L2_HEVC_SLICE_PARAMS_FLAG_MVD_L1_ZERO)) | AVD_OP_SL_REF_FLAG2( diff --git a/drivers/media/platform/apple/avd/avd.h b/drivers/media/platform/apple/avd/avd.h index d187639ddedf3..020f11ec67bfd 100644 --- a/drivers/media/platform/apple/avd/avd.h +++ b/drivers/media/platform/apple/avd/avd.h @@ -366,6 +366,8 @@ bool avd_h264_find_slice_data(const u8 *data, u32 len, u32 header_len, u32 *off); bool avd_h264_slice_fits(const struct v4l2_ctrl_h264_sps *sps, size_t held, size_t held_bytes, u32 len, size_t decoded_size); +bool avd_h264_scaling_is_flat(const struct v4l2_ctrl_h264_pps *pps, + const struct v4l2_ctrl_h264_scaling_matrix *scaling); #endif extern const struct avd_coded_fmt_ops avd_h264_fmt_ops; diff --git a/drivers/media/platform/apple/avd/tests/program-test.py b/drivers/media/platform/apple/avd/tests/program-test.py index ab84291ea3c7c..d2440216b09ee 100755 --- a/drivers/media/platform/apple/avd/tests/program-test.py +++ b/drivers/media/platform/apple/avd/tests/program-test.py @@ -45,6 +45,7 @@ #define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) #define DIV_ROUND_UP(n,d) (((n)+(d)-1)/(d)) #define VISIBLE_IF_KUNIT +#define EXPORT_SYMBOL_IF_KUNIT(sym) #define AVD_QUIRK_LSR 1 #define AVD_QUIRK_NO_PIPE_STATE 2 #define AVD_QUIRK_H264_MV_128 (1U << 4) @@ -728,6 +729,16 @@ def conformance(out): data = subprocess.check_output([str(exe)], text=True) programs[label] = dict(line.split(' ', 1) for line in data.splitlines()) (out / (label + '.json')).write_text(json.dumps(programs[label], indent=2) + '\n') + # The baseline set the temporal-direct bit (15) of the slice reference + # header word for every slice; it belongs to B slices only. Clear it in + # the baseline I/P programs so the checks below compare everything else. + for key, program in programs['before'].items(): + parts = key.split('/') + if len(parts) == 5 and parts[0].isdigit() and parts[2] != '1': + programs['before'][key] = ' '.join( + f'{int(w, 16) & ~0x8000:08x}' + if len(w) == 8 and int(w, 16) >> 18 == 0x2d << 6 else w + for w in program.split()) unchanged = sparse = normalized = 0 for key, program in programs['after'].items(): if key.startswith('guard/type/'): diff --git a/drivers/nvmem/apple-spmi-nvmem.c b/drivers/nvmem/apple-spmi-nvmem.c index 0e01e787699ba..755c429730dce 100644 --- a/drivers/nvmem/apple-spmi-nvmem.c +++ b/drivers/nvmem/apple-spmi-nvmem.c @@ -61,7 +61,9 @@ static int apple_spmi_nvmem_probe(struct spmi_device *sdev) return PTR_ERR(provider); if (!of_device_is_compatible(sdev->dev.of_node, "apple,baku-pmic") && !of_device_is_compatible(sdev->dev.of_node, "apple,abbey-pmic") && - !of_device_is_compatible(sdev->dev.of_node, "apple,chapel-pmic")) + !of_device_is_compatible(sdev->dev.of_node, "apple,chapel-pmic") && + !of_device_is_compatible(sdev->dev.of_node, "apple,maverick-pmic") && + !of_device_is_compatible(sdev->dev.of_node, "apple,stowe-pmic")) return 0; return devm_of_platform_populate(&sdev->dev); diff --git a/drivers/pci/controller/pcie-apple.c b/drivers/pci/controller/pcie-apple.c index 8de8cc90524e9..3173186c85209 100644 --- a/drivers/pci/controller/pcie-apple.c +++ b/drivers/pci/controller/pcie-apple.c @@ -3121,7 +3121,7 @@ static int apple_pcie_probe(struct platform_device *pdev) int count = of_property_count_u32_elems(dev->of_node, "apple,managed-sids"); if (!of_device_is_compatible(dev->of_node, "apple,t8132-pcie") || - !apple_t8132_air() || count <= 0 || count > 15) + !apple_t8132_managed_radio() || count <= 0 || count > 15) return -EINVAL; ret = of_property_read_u32_array(dev->of_node, "apple,managed-sids", ids, count); if (!ret && (count != 2 || ids[0] != 1 || ids[1] != 2)) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 995be563f0068..bae3a9f856c20 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -2095,10 +2095,11 @@ config RTC_DRV_WILCO_EC be named "rtc_wilco_ec". config RTC_DRV_APPLE_PMU - tristate "Apple Baku/Abbey PMU RTC alarm" + tristate "Apple PMU RTC alarm" depends on ARCH_APPLE && NVMEM_APPLE_SPMI && PM_SLEEP help - Read the Baku or Abbey PMU clock and use its alarm to wake the system + Read the PMU clock on M1 Pro/Max/Ultra, M2, M4 Pro and A18 Pro + systems and use its alarm to wake the system from suspend-to-idle. Alarms are limited to one hour; deeper suspend states are not supported. Continue setting the shared clock through the SMC RTC. diff --git a/drivers/rtc/rtc-apple-pmu.c b/drivers/rtc/rtc-apple-pmu.c index 36d9635124f1d..d324234cf807b 100644 --- a/drivers/rtc/rtc-apple-pmu.c +++ b/drivers/rtc/rtc-apple-pmu.c @@ -14,17 +14,20 @@ #include #include -#define APPLE_PMU_RTC_CONTROL 0x0 -#define APPLE_PMU_RTC_COUNTER 0x2 -#define APPLE_PMU_RTC_COMPARE 0x8 -#define APPLE_PMU_RTC_MASK 0xe #define APPLE_PMU_RTC_ARM BIT(6) #define APPLE_PMU_RTC_ALARM BIT(0) #define APPLE_PMU_RTC_HZ_SHIFT 16 #define APPLE_PMU_RTC_MAX_DELAY 3600 +/* + * Register addresses in the PMIC's SPMI space. The counter is six bytes + * at 65536 Hz; the comparator is four bytes of whole counter seconds. + */ struct apple_pmu_rtc_hw { - u16 base; + u16 control; + u16 counter; + u16 compare; + u16 mask; u16 event; u8 event_bit; u8 monitor_bit; @@ -32,19 +35,47 @@ struct apple_pmu_rtc_hw { }; static const struct apple_pmu_rtc_hw apple_pmu_rtc_baku = { - .base = 0xf800, + .control = 0xf800, + .counter = 0xf802, + .compare = 0xf808, + .mask = 0xf80e, .event = 0xf80c, .event_bit = BIT(0), .offset_in_seconds = true, }; static const struct apple_pmu_rtc_hw apple_pmu_rtc_abbey = { - .base = 0x2000, + .control = 0x2000, + .counter = 0x2002, + .compare = 0x2008, + .mask = 0x200e, .event = 0x2000, .event_bit = BIT(1), .monitor_bit = BIT(0), }; +/* M2 (t8112): Baku's register block with the offset in 1/32768 s. */ +static const struct apple_pmu_rtc_hw apple_pmu_rtc_stowe = { + .control = 0xf800, + .counter = 0xf802, + .compare = 0xf808, + .mask = 0xf80e, + .event = 0xf80c, + .event_bit = BIT(0), + .monitor_bit = BIT(0), +}; + +/* M1 Pro, Max and Ultra (t600x), offset in 1/32768 s */ +static const struct apple_pmu_rtc_hw apple_pmu_rtc_maverick = { + .control = 0x1401, + .counter = 0x1406, + .compare = 0x140c, + .mask = 0x14c2, + .event = 0x14c0, + .event_bit = BIT(0), + .monitor_bit = BIT(0), +}; + struct apple_pmu_rtc { const struct apple_pmu_rtc_hw *hw; struct regmap *map; @@ -61,7 +92,7 @@ static int apple_pmu_rtc_counter(struct apple_pmu_rtc *rtc, u64 *ticks) u8 count[8] = {}; int error; - error = regmap_bulk_read(rtc->map, rtc->hw->base + APPLE_PMU_RTC_COUNTER, + error = regmap_bulk_read(rtc->map, rtc->hw->counter, count, 6); if (error) return error; @@ -123,11 +154,11 @@ static int apple_pmu_rtc_ack_alarm(struct apple_pmu_rtc *rtc) int error; /* - * The event is W1C. Abbey shares the byte with ARM and MONITOR, - * unlike Baku's dedicated event register. Preserve the control bits + * The event is W1C. Abbey shares the byte with ARM and MONITOR; + * the other PMUs have a dedicated event register. Preserve the control bits * when acknowledging, rather than writing only the event bit. */ - if (rtc->hw->event == rtc->hw->base + APPLE_PMU_RTC_CONTROL) { + if (rtc->hw->event == rtc->hw->control) { error = regmap_read(rtc->map, rtc->hw->event, &control); if (error) return error; @@ -140,24 +171,24 @@ static int apple_pmu_rtc_arm(struct apple_pmu_rtc *rtc, bool enable) unsigned int control; int error; - error = regmap_read(rtc->map, rtc->hw->base + APPLE_PMU_RTC_CONTROL, &control); + error = regmap_read(rtc->map, rtc->hw->control, &control); if (error) return error; /* Do not acknowledge a shared W1C event as a side effect of RMW. */ - if (rtc->hw->event == rtc->hw->base + APPLE_PMU_RTC_CONTROL) + if (rtc->hw->event == rtc->hw->control) control &= ~rtc->hw->event_bit; control &= ~APPLE_PMU_RTC_ARM; if (enable) control |= APPLE_PMU_RTC_ARM; control |= rtc->hw->monitor_bit; - return regmap_write(rtc->map, rtc->hw->base + APPLE_PMU_RTC_CONTROL, control); + return regmap_write(rtc->map, rtc->hw->control, control); } static int apple_pmu_rtc_stop_alarm(struct apple_pmu_rtc *rtc) { int error; - error = regmap_update_bits(rtc->map, rtc->hw->base + APPLE_PMU_RTC_MASK, + error = regmap_update_bits(rtc->map, rtc->hw->mask, APPLE_PMU_RTC_ALARM, APPLE_PMU_RTC_ALARM); if (error) return error; @@ -173,7 +204,7 @@ static int apple_pmu_rtc_start_alarm(struct apple_pmu_rtc *rtc) error = apple_pmu_rtc_ack_alarm(rtc); if (!error) - error = regmap_update_bits(rtc->map, rtc->hw->base + APPLE_PMU_RTC_MASK, + error = regmap_update_bits(rtc->map, rtc->hw->mask, APPLE_PMU_RTC_ALARM, 0); if (!error) error = apple_pmu_rtc_arm(rtc, true); @@ -210,14 +241,14 @@ static int apple_pmu_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alarm error = apple_pmu_rtc_offset(rtc, &epoch); if (error) return error; - error = regmap_bulk_read(rtc->map, rtc->hw->base + APPLE_PMU_RTC_COMPARE, + error = regmap_bulk_read(rtc->map, rtc->hw->compare, &comparator, sizeof(comparator)); if (!error) - error = regmap_read(rtc->map, rtc->hw->base + APPLE_PMU_RTC_CONTROL, &control); + error = regmap_read(rtc->map, rtc->hw->control, &control); if (!error) error = regmap_read(rtc->map, rtc->hw->event, &event); if (!error) - error = regmap_read(rtc->map, rtc->hw->base + APPLE_PMU_RTC_MASK, &mask); + error = regmap_read(rtc->map, rtc->hw->mask, &mask); if (error) return error; rtc_time64_to_tm((epoch >> APPLE_PMU_RTC_HZ_SHIFT) + @@ -251,11 +282,11 @@ static int apple_pmu_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) if (error) return error; comparator = cpu_to_le32(deadline); - error = regmap_bulk_write(rtc->map, rtc->hw->base + APPLE_PMU_RTC_COMPARE, + error = regmap_bulk_write(rtc->map, rtc->hw->compare, &comparator, sizeof(comparator)); if (error) return error; - error = regmap_bulk_read(rtc->map, rtc->hw->base + APPLE_PMU_RTC_COMPARE, + error = regmap_bulk_read(rtc->map, rtc->hw->compare, &readback, sizeof(readback)); if (error) return error; @@ -277,7 +308,7 @@ static int apple_pmu_rtc_alarm_enable(struct device *dev, unsigned int enable) return apple_pmu_rtc_stop_alarm(rtc); if (rtc->io_failed) return -EIO; - error = regmap_bulk_read(rtc->map, rtc->hw->base + APPLE_PMU_RTC_COMPARE, + error = regmap_bulk_read(rtc->map, rtc->hw->compare, &comparator, sizeof(comparator)); if (error) return error; @@ -326,11 +357,11 @@ static int apple_pmu_rtc_init_alarm(struct apple_pmu_rtc *rtc) __le32 comparator; int error; - error = regmap_read(rtc->map, rtc->hw->base + APPLE_PMU_RTC_CONTROL, &control); + error = regmap_read(rtc->map, rtc->hw->control, &control); if (!error) - error = regmap_read(rtc->map, rtc->hw->base + APPLE_PMU_RTC_MASK, &mask); + error = regmap_read(rtc->map, rtc->hw->mask, &mask); if (!error) - error = regmap_bulk_read(rtc->map, rtc->hw->base + APPLE_PMU_RTC_COMPARE, + error = regmap_bulk_read(rtc->map, rtc->hw->compare, &comparator, sizeof(comparator)); if (error) return error; @@ -438,6 +469,8 @@ static int apple_pmu_rtc_probe(struct platform_device *pdev) static const struct of_device_id apple_pmu_rtc_match[] = { { .compatible = "apple,j700-pmu-rtc", .data = &apple_pmu_rtc_baku }, { .compatible = "apple,t6041-pmu-rtc", .data = &apple_pmu_rtc_abbey }, + { .compatible = "apple,t8112-pmu-rtc", .data = &apple_pmu_rtc_stowe }, + { .compatible = "apple,t6000-pmu-rtc", .data = &apple_pmu_rtc_maverick }, { } }; MODULE_DEVICE_TABLE(of, apple_pmu_rtc_match); diff --git a/drivers/soc/apple/aop.rs b/drivers/soc/apple/aop.rs index ec863dfde8feb..eb2d4eda530b2 100644 --- a/drivers/soc/apple/aop.rs +++ b/drivers/soc/apple/aop.rs @@ -172,6 +172,8 @@ const SETUP_ENDPOINTS: [u8; 5] = [0x20, 0x21, 0x23, 0x30, 0x32]; /// Service endpoints a setup port may announce in its EPMAP. const SETUP_MAX_ENDPOINTS: usize = 16; const SETUP_BOOT_TIMEOUT_MS: u32 = 15000; +/// How long the AP power request waits for the last endpoint map fragment. +const SETUP_MAP_TIMEOUT_MS: u32 = 1000; // A request to a service endpoint: the payload goes into the endpoint's // message page, (3 << 60) | length announces it, the firmware answers with a // result word after writing a status byte at the start of the reply window, @@ -2504,7 +2506,15 @@ impl AopData { /// buffers. fn setup_finish_boot(&self) -> Result<()> { let mut st = self.setup.lock(); - if !st.map_done { + // The firmware sends the endpoint map right after HELLO, normally + // before RTKit reaches AP power on, but on some boots its last + // fragment arrives a few milliseconds later. Request AP power only + // once the map is complete, and warn only if it never completes. + if !st.map_done + && self + .setup_wait(&mut st, SETUP_MAP_TIMEOUT_MS, |s| s.map_done) + .is_err() + { dev_warn!( self.dev, "setup port: endpoint map incomplete before the AP power request" diff --git a/drivers/soc/apple/rtkit-helper.c b/drivers/soc/apple/rtkit-helper.c index 2442635f7500d..defca6cf9c4f5 100644 --- a/drivers/soc/apple/rtkit-helper.c +++ b/drivers/soc/apple/rtkit-helper.c @@ -276,7 +276,7 @@ static int apple_rtkit_helper_probe(struct platform_device *pdev) count = apple_rtkit_helper_inherit_buffers(helper, buffers); if (count < 0) return dev_err_probe(dev, count, "Invalid inherited RTKit buffers\n"); - if ((apple_t8132_air() && + if ((apple_t8132_live_mtp() && of_device_is_compatible(dev->of_node, "apple,t8132-mtp")) || (of_machine_is_compatible("apple,j614s") && of_device_is_compatible(dev->of_node, "apple,t6041-mtp"))) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index dbaf0d6949249..5a896aa701208 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -149,10 +149,11 @@ config SPI_APPLE_QSPI memory descriptors and is used for the boot NOR on M3 and later systems. - The boot NOR defaults to read-only access. On the J613, J713, J616s - and J700 a runtime opt-in admits bounded, verified page programs and - 4 KiB erases inside the nvram partition only; the rest of the boot - NOR stays read-only. + The boot NOR defaults to read-only access. On the J613, the M4 Macs + (J604, J623, J624, J713, J715, J773g), the J616s and the J700 a + runtime opt-in admits bounded, verified page programs and 4 KiB + erases inside the nvram partition only; the rest of the boot NOR + stays read-only. config SPI_APPLE_QSPI_KUNIT_TEST tristate "KUnit tests for the Apple QSPIMC NVRAM write policy" if !KUNIT_ALL_TESTS diff --git a/drivers/spi/spi-apple-qspi.c b/drivers/spi/spi-apple-qspi.c index e51cb94f12979..06e2d356dcbec 100644 --- a/drivers/spi/spi-apple-qspi.c +++ b/drivers/spi/spi-apple-qspi.c @@ -127,6 +127,18 @@ static const struct apple_qspi_board apple_qspi_boards[] = { /* The J715 ADT has the J713's nvram; its NOR part is assumed the same. */ { "apple,t8132-qspi", "apple,j715", 0x3ad118000ULL, 0x700000, 0x100000, APPLE_QSPI_JEDEC_W25Q64, 0 }, + /* + * The J773g ADT has the same nvram; the J604's dump omits it and the + * iMacs have no ADT yet. All are assumed to carry the J713's part. + */ + { "apple,t8132-qspi", "apple,j604", 0x3ad118000ULL, + 0x700000, 0x100000, APPLE_QSPI_JEDEC_W25Q64, 0 }, + { "apple,t8132-qspi", "apple,j623", 0x3ad118000ULL, + 0x700000, 0x100000, APPLE_QSPI_JEDEC_W25Q64, 0 }, + { "apple,t8132-qspi", "apple,j624", 0x3ad118000ULL, + 0x700000, 0x100000, APPLE_QSPI_JEDEC_W25Q64, 0 }, + { "apple,t8132-qspi", "apple,j773g", 0x3ad118000ULL, + 0x700000, 0x100000, APPLE_QSPI_JEDEC_W25Q64, 0 }, /* Macronix is the ID macOS reports; a J616s also reads W25Q64 on the bus. */ { "apple,t6041-qspi", "apple,j616s", 0x429118000ULL, 0x700000, 0x100000, APPLE_QSPI_JEDEC_MX_2B27, 0, diff --git a/drivers/usb/dwc3/dwc3-apple.c b/drivers/usb/dwc3/dwc3-apple.c index 4652697b2f4d0..f16aa6f21014b 100644 --- a/drivers/usb/dwc3/dwc3-apple.c +++ b/drivers/usb/dwc3/dwc3-apple.c @@ -327,7 +327,7 @@ static void dwc3_apple_set_ptrcap(struct dwc3_apple *appledwc, u32 mode) static bool dwc3_apple_host_before_core_init(struct dwc3_apple *appledwc, enum dwc3_apple_state state) { - return state == DWC3_APPLE_HOST && apple_t8132_air() && + return state == DWC3_APPLE_HOST && apple_t8132_usb_host_first() && of_device_is_compatible(appledwc->dev->of_node, "apple,t8132-dwc3"); } diff --git a/include/linux/soc/apple/t8132.h b/include/linux/soc/apple/t8132.h index bd383c51b13d7..72b1851550ea9 100644 --- a/include/linux/soc/apple/t8132.h +++ b/include/linux/soc/apple/t8132.h @@ -17,4 +17,46 @@ static inline bool apple_t8132_air(void) of_machine_is_compatible("apple,j715"); } +/* + * The other M4 Macs: the MacBook Pro 14-inch (J604), the Mac mini (J773g) + * and the iMacs (J623, J624). The J604 and J773g ADTs are read; the iMacs + * have none yet. + */ +static inline bool apple_t8132_pro_mini_imac(void) +{ + return of_machine_is_compatible("apple,j604") || + of_machine_is_compatible("apple,j623") || + of_machine_is_compatible("apple,j624") || + of_machine_is_compatible("apple,j773g"); +} + +/* + * The radio port the Airs have: reg-on on the SMC's gP13 with the same + * template, and the radio's two ordinary streams managed on port 0 of the + * built-in PCIe controller. The J604 and J773g ADTs match; the iMacs are + * assumed to. + */ +static inline bool apple_t8132_managed_radio(void) +{ + return apple_t8132_air() || apple_t8132_pro_mini_imac(); +} + +/* + * The Airs' USB-C host sequence: a DWC3 enters host mode before core init + * and gets the CIO setup before xHCI starts. Every M4 Mac has these ATCs. + */ +static inline bool apple_t8132_usb_host_first(void) +{ + return apple_t8132_air() || apple_t8132_pro_mini_imac(); +} + +/* + * The Airs' MTP keyboard and trackpad, which iBoot leaves running: the + * J604 has the same. + */ +static inline bool apple_t8132_live_mtp(void) +{ + return apple_t8132_air() || of_machine_is_compatible("apple,j604"); +} + #endif diff --git a/scripts/dtc/apple-adt-coverage-test.py b/scripts/dtc/apple-adt-coverage-test.py new file mode 100644 index 0000000000000..f1728f7b9cef4 --- /dev/null +++ b/scripts/dtc/apple-adt-coverage-test.py @@ -0,0 +1,174 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: GPL-2.0-only +"""Exercise coverage failures with synthetic DTS fixtures; needs dtc + pylibfdt.""" + +from pathlib import Path +import subprocess +import sys +import tempfile +import unittest + + +CHECKER = Path(__file__).with_name("apple-adt-coverage.py") + + +class CoverageTest(unittest.TestCase): + def setUp(self): + self.work = tempfile.TemporaryDirectory(prefix="adt-coverage-test-", dir=Path.cwd()) + self.addCleanup(self.work.cleanup) + self.root = Path(self.work.name) + self.manifest = self.root / "t9999-j1.txt" + source = self.root / "test.dts" + source.write_text('''/dts-v1/; + / { compatible = "apple,j1", "apple,t9999"; + soc { device@1000 { status = "disabled"; }; }; + }; + ''') + subprocess.run(["dtc", "-q", "-I", "dts", "-O", "dtb", "-o", + str(self.root / "t9999-j1.dtb"), str(source)], check=True) + + def run_check(self, text, *args): + self.manifest.write_text(text) + return subprocess.run([sys.executable, str(CHECKER), "--manifest-dir", str(self.root), + "--dtb-dir", str(self.root), *args], text=True, capture_output=True) + + def test_disabled_nodes_count_as_represented(self): + result = self.run_check("/arm-io/device 0x1000 -> /soc/device@1000\n") + self.assertEqual(result.returncode, 0, result.stderr) + self.assertIn("MISSING=0 mapped=1", result.stdout) + + def test_missing_is_fatal_and_report_preserves_count(self): + text = "/arm-io/device 0x1000 -> MISSING\n" + self.assertEqual(self.run_check(text).returncode, 1) + result = self.run_check(text, "--report") + self.assertEqual(result.returncode, 0, result.stderr) + self.assertIn("MISSING=1", result.stdout) + + def test_dangling_path_is_fatal_even_in_report(self): + for mode in ((), ("--report",)): + result = self.run_check("/arm-io/device 0x1000 -> /soc/device@2000\n", *mode) + self.assertEqual(result.returncode, 1) + self.assertIn("absent DT path", result.stderr) + + def test_reasoned_waiver(self): + result = self.run_check("/arm-io/bookkeeping - -> WAIVED: firmware bookkeeping container\n") + self.assertEqual(result.returncode, 0, result.stderr) + self.assertIn("waived=1", result.stdout) + + def test_invalid_and_empty_manifests_fail_closed(self): + for text in ("", "# comment only\n", "/x - -> WAIVED: \n", "/x - -> UNKNOWN\n", + "/x - /soc\n", "/x - -> /soc/../soc\n", "/x - -> /soc/\n", + "/x arbitrary-property-data -> /soc\n", + "/x - -> /soc //comment\n", "/x - -> /soc\n/x - -> /soc\n"): + with self.subTest(text=text): + self.assertEqual(self.run_check(text, "--report").returncode, 1) + + def test_missing_dtb_and_explicit_missing_manifest_fail(self): + (self.root / "t9999-j1.dtb").unlink() + self.assertEqual(self.run_check("/x - -> MISSING\n", "--report").returncode, 1) + self.assertEqual(self.run_check("/x - -> MISSING\n", "--board", "t9999-j2").returncode, 1) + + def test_empty_selection_and_bad_board_fail(self): + result = subprocess.run([sys.executable, str(CHECKER), "--manifest-dir", str(self.root), + "--dtb-dir", str(self.root)], capture_output=True) + self.assertEqual(result.returncode, 2) + self.assertEqual(self.run_check("/x - -> /soc\n", "--board", "../t9999-j1").returncode, 1) + + def test_corrupt_dtb_fails(self): + (self.root / "t9999-j1.dtb").write_bytes(b"not a DTB") + self.assertEqual(self.run_check("/x - -> /soc\n").returncode, 1) + + def test_wrong_board_dtb_fails(self): + wrong = self.root / "t9999-j2.dtb" + wrong.write_bytes((self.root / "t9999-j1.dtb").read_bytes()) + (self.root / "t9999-j2.txt").write_text("/x - -> /soc\n") + result = self.run_check("/x - -> /soc\n", "--board", "t9999-j2", "--report") + self.assertEqual(result.returncode, 1) + self.assertIn("root compatible does not match", result.stderr) + + def test_board_names_are_not_limited_to_j(self): + dtb = (self.root / "t9999-j1.dtb").read_bytes() + (self.root / "t9999-k1.dtb").write_bytes(dtb.replace(b"apple,j1\0", b"apple,k1\0")) + (self.root / "t9999-k1.txt").write_text("/x - -> /soc\n") + result = self.run_check("/x - -> /soc\n") + self.assertEqual(result.returncode, 0, result.stderr) + self.assertIn("t9999-k1: MISSING=0 mapped=1", result.stdout) + + def baseline(self, text): + directory = self.root / "baseline" + directory.mkdir(exist_ok=True) + (directory / self.manifest.name).write_text(text) + return ("--baseline-manifest-dir", str(directory), "--baseline-dtb-dir", str(self.root)) + + def test_ratchet_accepts_backlog_and_reductions(self): + args = self.baseline("/x - -> MISSING\n/y - -> MISSING\n") + for text in ("/x - -> MISSING\n/y - -> MISSING\n", + "/x - -> /soc\n/y - -> MISSING\n"): + result = self.run_check(text, *args) + self.assertEqual(result.returncode, 0, result.stderr) + + def test_ratchet_rejects_more_missing_and_removed_entries(self): + args = self.baseline("/x - -> /soc\n/y - -> MISSING\n") + result = self.run_check("/x - -> MISSING\n/y - -> MISSING\n", *args) + self.assertEqual(result.returncode, 1) + self.assertIn("MISSING increased", result.stderr) + result = self.run_check("/x - -> /soc\n", *args) + self.assertEqual(result.returncode, 1) + self.assertIn("removed inventory devices", result.stderr) + + def test_ratchet_rejects_removed_manifest_and_new_broken_paths(self): + args = self.baseline("/x - -> /soc\n") + self.assertEqual(self.run_check("/x - -> /gone\n", *args).returncode, 1) + self.manifest.unlink() + result = subprocess.run([sys.executable, str(CHECKER), "--manifest-dir", str(self.root), + "--dtb-dir", str(self.root), *args], capture_output=True) + self.assertEqual(result.returncode, 1) + + def test_ratchet_compares_base_dtb_and_detects_node_removal(self): + args = self.baseline("/x - -> /soc/device@1000\n") + base_dtb = self.root / "old-dtb" + base_dtb.mkdir() + (base_dtb / "t9999-j1.dtb").write_bytes((self.root / "t9999-j1.dtb").read_bytes()) + # The path remains in both inventories, but vanishes from the head DTB. + dts = self.root / "head.dts" + dts.write_text('/dts-v1/; / { compatible="apple,j1", "apple,t9999"; soc {}; };') + subprocess.run(["dtc", "-q", "-o", str(self.root / "t9999-j1.dtb"), str(dts)], check=True) + result = self.run_check("/x - -> /soc/device@1000\n", *args[:-1], str(base_dtb)) + self.assertEqual(result.returncode, 1) + self.assertIn("new absent DT path", result.stderr) + + def test_ratchet_existing_broken_path_is_backlog(self): + args = self.baseline("/x - -> /old-gap\n") + result = self.run_check("/x - -> /old-gap\n", *args) + self.assertEqual(result.returncode, 0, result.stderr) + + def test_ratchet_bootstrap_uses_head_inventory_and_base_dtb(self): + directory = self.root / "baseline" + directory.mkdir() + result = self.run_check("/x - -> MISSING\n/y - -> /soc\n", + "--baseline-manifest-dir", str(directory), + "--baseline-dtb-dir", str(self.root)) + self.assertEqual(result.returncode, 0, result.stderr) + self.assertIn("bootstrapping", result.stdout) + + def test_bootstrap_rejects_paths_absent_from_both_dtbs(self): + directory = self.root / "baseline" + directory.mkdir() + result = self.run_check("/x - -> /never-existed\n", + "--baseline-manifest-dir", str(directory), + "--baseline-dtb-dir", str(self.root)) + self.assertEqual(result.returncode, 1) + self.assertIn("new absent DT path", result.stderr) + + def test_ratchet_validates_baseline_and_options(self): + args = self.baseline("invalid\n") + self.assertEqual(self.run_check("/x - -> /soc\n", *args).returncode, 1) + self.assertEqual(self.run_check("/x - -> /soc\n", *args, "--report").returncode, 2) + self.assertEqual(self.run_check("/x - -> /soc\n", *args[:2]).returncode, 2) + self.assertEqual(self.run_check("/x - -> /soc\n", "--baseline-manifest-dir", + str(self.root / "absent"), "--baseline-dtb-dir", + str(self.root)).returncode, 2) + + +if __name__ == "__main__": + unittest.main() diff --git a/scripts/dtc/apple-adt-coverage.py b/scripts/dtc/apple-adt-coverage.py new file mode 100644 index 0000000000000..81e9f7b67bd42 --- /dev/null +++ b/scripts/dtc/apple-adt-coverage.py @@ -0,0 +1,155 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: GPL-2.0-only +"""Check public Apple device coverage manifests against compiled device trees. + +No ADT input is accepted. Install python3-libfdt (or pylibfdt) to read DTBs. +--report permits MISSING entries for inventory, but still rejects broken paths, +malformed manifests, missing DTBs and empty selections. +With --baseline-manifest-dir and --baseline-dtb-dir, only coverage regressions fail. +""" + +import argparse +from collections import Counter +from pathlib import Path +import re +import sys + + +def node_paths(filename, board): + """Read every node, including disabled nodes, using the DT compiler library.""" + import libfdt + + fdt = libfdt.Fdt(filename.read_bytes()) + compatible = bytes(fdt.getprop(0, "compatible")).rstrip(b"\0").decode("ascii").split("\0") + if not {"apple," + part for part in board.split("-", 1)} <= set(compatible): + raise ValueError(f"{filename}: root compatible does not match {board}") + paths = set() + + def walk(offset, path): + if path in paths: + raise ValueError(f"duplicate DT node: {path}") + paths.add(path) + child = fdt.first_subnode(offset, [libfdt.NOTFOUND]) + while child >= 0: + walk(child, path.rstrip("/") + "/" + fdt.get_name(child)) + child = fdt.next_subnode(child, [libfdt.NOTFOUND]) + + walk(0, "/") + return paths + + +def manifest_entries(filename): + seen = set() + for number, text in enumerate(filename.read_text(encoding="ascii").splitlines(), 1): + line = text.strip() + if not line or line.startswith("#"): + continue + match = re.fullmatch(r"(/[^\s]+) ([^\s]+) -> (.+)", line) + if not match: + raise ValueError(f"{filename}:{number}: invalid entry") + name, address, target = match.groups() + if not re.fullmatch(r"-|0x[0-9a-f]+|/[A-Za-z0-9_,.:+@/~\-]+@0x[0-9a-f]+", address): + raise ValueError(f"{filename}:{number}: expected physical or bus address, or -") + if (name, address) in seen: + raise ValueError(f"{filename}:{number}: duplicate device {name} {address}") + seen.add((name, address)) + if target.startswith("/"): + if (re.search(r"\s", target) or "//" in target or + any(p in (".", "..") for p in target.split("/")) or + (target != "/" and target.endswith("/"))): + raise ValueError(f"{filename}:{number}: invalid DT path") + kind = "mapped" + elif target == "MISSING": + kind = "missing" + elif target.startswith("WAIVED: ") and target[8:].strip(): + kind = "waived" + else: + raise ValueError(f"{filename}:{number}: expected DT path, MISSING or reasoned WAIVED") + yield number, name, address, kind, target + if not seen: + raise ValueError(f"{filename}: empty manifest") + + +def inventory(manifest, dtb, board): + paths = node_paths(dtb, board) + entries = list(manifest_entries(manifest)) + counts = Counter(entry[3] for entry in entries) + broken = {entry[4] for entry in entries if entry[3] == "mapped" and entry[4] not in paths} + return entries, counts, broken + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--manifest-dir", type=Path, default=Path(__file__).resolve().parents[2] / + "arch/arm64/boot/dts/apple/adt-coverage") + parser.add_argument("--dtb-dir", type=Path, required=True) + parser.add_argument("--board", action="append", default=[]) + parser.add_argument("--report", action="store_true", help="permit MISSING, but reject broken paths") + parser.add_argument("--baseline-manifest-dir", type=Path, + help="compare with these base manifests; an empty directory bootstraps from head") + parser.add_argument("--baseline-dtb-dir", type=Path, help="DTBs built at the base revision") + args = parser.parse_args(argv) + if bool(args.baseline_manifest_dir) != bool(args.baseline_dtb_dir): + parser.error("both baseline directories are required") + if args.report and args.baseline_manifest_dir: + parser.error("--report and baseline comparison are separate modes") + try: + import libfdt + except ImportError: + parser.exit(2, "apple-adt-coverage: install python3-libfdt (pylibfdt)\n") + + for directory in (args.manifest_dir, args.baseline_manifest_dir): + if directory is not None and not directory.is_dir(): + parser.error(f"manifest directory does not exist: {directory}") + + head_boards = {p.stem for p in args.manifest_dir.glob("t*-*.txt")} + base_boards = ({p.stem for p in args.baseline_manifest_dir.glob("t*-*.txt")} + if args.baseline_manifest_dir else set()) + boards = args.board or sorted(head_boards | base_boards) + if not boards: + parser.error("no board manifests selected") + errors = [] + for board in sorted(set(boards)): + if not re.fullmatch(r"t[0-9]+-[a-z][a-zA-Z0-9]*", board): + errors.append(f"invalid board name: {board}") + continue + manifest = args.manifest_dir / (board + ".txt") + try: + entries, counts, broken = inventory(manifest, args.dtb_dir / (board + ".dtb"), board) + print(f"{board}: MISSING={counts['missing']} mapped={counts['mapped']} " + f"waived={counts['waived']} broken={len(broken)} total={len(entries)}") + if args.baseline_manifest_dir: + baseline = args.baseline_manifest_dir / (board + ".txt") + bootstrap = not baseline.is_file() + if bootstrap: + # First introduction: measure the same inventory against base + # DTBs. Later runs always use the base's committed inventory. + baseline = manifest + print(f"{board}: bootstrapping baseline from head inventory") + old, before, old_broken = inventory( + baseline, args.baseline_dtb_dir / (board + ".dtb"), board) + removed = {e[1] for e in old} - {e[1] for e in entries} + if removed: + errors.append(f"{board}: removed inventory devices: " + ", ".join(sorted(removed))) + print(f"{board}: base MISSING={before['missing']} broken={len(old_broken)}; " + f"head MISSING={counts['missing']} broken={len(broken)}") + if counts['missing'] > before['missing']: + errors.append(f"{board}: MISSING increased {before['missing']} -> {counts['missing']}") + for target in sorted(broken if bootstrap else broken - old_broken): + errors.append(f"{board}: new absent DT path: {target}") + else: + for target in sorted(broken): + errors.append(f"{board}: absent DT path: {target}") + if not args.report: + for _, name, address, kind, _ in entries: + if kind == "missing": + errors.append(f"{board}: MISSING: {name} {address}") + except (OSError, UnicodeError, ValueError, libfdt.FdtException) as error: + errors.append(f"{board}: {error}") + for error in errors: + print(error, file=sys.stderr) + return int(bool(errors)) + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/sound/soc/apple/aop_audio.rs b/sound/soc/apple/aop_audio.rs index 4326ea6e0d3c5..4d3442bbfeafe 100644 --- a/sound/soc/apple/aop_audio.rs +++ b/sound/soc/apple/aop_audio.rs @@ -1153,6 +1153,27 @@ impl SndSocAopDriver { return Err(ENODEV); } let data = SndSocAopData::new(dev, adata, svc, fwnode, info)?; + let listed = |name: &CStr| { + data.fwnode + .property_match_string(c_str!("dma-names"), name) + .is_ok() + }; + let streams = listed(c_str!("spkr")) || (listed(c_str!("cout")) && listed(c_str!("cin"))); + // A Mac without microphones (Mac mini, Mac Studio) lists no "dma" + // channel: its firmware has no PDM devices, so attach only the + // speaker and jack streams. + if info.t6040_flow && !listed(c_str!("dma")) { + if !streams { + return Err(ENODEV); + } + let mut this = SndSocAopDriver { + card: ptr::null_mut(), + mic: aop_lid::MicLid::new()?, + spkr: None, + }; + this.spkr = Some(aop_spkr::SpeakerComponent::register(data)?); + return Ok(this); + } for dev in [AUDIO_DEV_PDM0, AUDIO_DEV_HPAI, AUDIO_DEV_LPAI] { data.audio_attach_device(dev)?; } @@ -1175,12 +1196,7 @@ impl SndSocAopDriver { let mut this = Self::new(data.clone())?; // The speaker and jack streams, where the node has their DMA // channels: a machine may have the jack before its speakers. - let listed = |name: &CStr| { - data.fwnode - .property_match_string(c_str!("dma-names"), name) - .is_ok() - }; - if listed(c_str!("spkr")) || (listed(c_str!("cout")) && listed(c_str!("cin"))) { + if streams { this.spkr = Some(aop_spkr::SpeakerComponent::register(data)?); } return Ok(this); diff --git a/sound/soc/apple/macaudio-amp-level-test.h b/sound/soc/apple/macaudio-amp-level-test.h index bf062d733d648..8d8181f96f6cc 100644 --- a/sound/soc/apple/macaudio-amp-level-test.h +++ b/sound/soc/apple/macaudio-amp-level-test.h @@ -56,8 +56,8 @@ static void macaudio_level_no_table(struct kunit *test) const struct macaudio_platform_cfg *cfgs[] = { &macaudio_j180_cfg, &macaudio_j314_cfg, &macaudio_j316_cfg, &macaudio_j37x_j47x_cfg, &macaudio_j413_cfg, &macaudio_j415_cfg, - &macaudio_j493_cfg, &macaudio_j614_cfg, &macaudio_j616_cfg, - &macaudio_j713_cfg, &macaudio_j715_cfg, + &macaudio_j493_cfg, &macaudio_j575c_j773_cfg, &macaudio_j614_cfg, + &macaudio_j616_cfg, &macaudio_j713_cfg, &macaudio_j715_cfg, }; unsigned int i; diff --git a/sound/soc/apple/macaudio.c b/sound/soc/apple/macaudio.c index 5506a2021911b..6c3d6e9f2147f 100644 --- a/sound/soc/apple/macaudio.c +++ b/sound/soc/apple/macaudio.c @@ -2950,7 +2950,8 @@ struct macaudio_platform_cfg macaudio_j616_cfg = { * J614s: the same amps and frame as the J616s, but its speakers have not * been brought up and have no protection profile. Keep them off entirely * until they get their own bring-up: the speaker link is not bound, so no - * stream ever reaches the amps. + * stream ever reaches the amps. The J604 (T8132, MacBook Pro 14" M4) has + * the same amps, frame and chassis, and is in the same state. */ struct macaudio_platform_cfg macaudio_j614_cfg = { .enable_speakers = false, @@ -2966,6 +2967,23 @@ struct macaudio_platform_cfg macaudio_j614_cfg = { .route_only_fes = BIT(0), }; +/* + * J773 (Mac mini, M4 Pro) and J575c (Mac Studio, M4 Max): one SN012776 on + * the AOP's speaker stream. Neither speaker has been brought up or has a + * protection profile, and the J773s stream returns no V/I sense, so keep + * them off as on the J614s: the speaker link is not bound. + */ +struct macaudio_platform_cfg macaudio_j575c_j773_cfg = { + .enable_speakers = false, + .amp = AMP_SN012776, + .speakers = SPKR_1W, + .stereo = false, + .safe_vol = -20, + .fe_dai_names = { "j616-pcm-0", "j616-pcm-1", "j616-pcm-2" }, + .fe_cpu_is_platform = true, + .route_only_fes = BIT(0), +}; + /* * J713 (T8132, MacBook Air 13" M4): the J616s stream, six 32-bit playback * and twelve 16-bit sense slots in the same 250-bit frame, with four @@ -3084,8 +3102,16 @@ static const struct of_device_id macaudio_snd_device_id[] = { /* j514 AID28 sn012776 15 2x 2W+1T Compat: apple,j314-macaudio */ /* j516 AID29 sn012776 15 2x 2W+1T Compat: apple,j316-macaudio */ /* j575 AID33 sn012776 15 1x 1W Compat: apple,j375-macaudio */ + /* j575c - sn012776 - 1x 1W (AOP-fed; speaker off until bring-up) */ + { .compatible = "apple,j575c-macaudio", .data = &macaudio_j575c_j773_cfg }, + /* j575c - cs42l84 - the jack, a card of its own (AOP-fed) */ + { .compatible = "apple,j575c-macaudio-jack", .data = &macaudio_j616_jack_cfg }, /* j613 AID20 sn012776 15 2x 1W+1T Compat: apple,j413-macaudio */ /* j615 AID21 sn012776 15 2x 2W+1T Compat: apple,j415-macaudio */ + /* j604 - sn012776 15 2x 2W+1T (AOP-fed; speakers off until bring-up) */ + { .compatible = "apple,j604-macaudio", .data = &macaudio_j614_cfg }, + /* j604 - cs42l84 - the jack, a card of its own (AOP-fed) */ + { .compatible = "apple,j604-macaudio-jack", .data = &macaudio_j616_jack_cfg }, /* j614 AID34 sn012776 15 2x 2W+1T (AOP-fed; speakers off until bring-up) */ { .compatible = "apple,j614-macaudio", .data = &macaudio_j614_cfg }, /* j614 AID34 cs42l84 - the jack, a card of its own (AOP-fed) */ @@ -3094,6 +3120,10 @@ static const struct of_device_id macaudio_snd_device_id[] = { { .compatible = "apple,j616-macaudio", .data = &macaudio_j616_cfg }, /* j616 AID35 cs42l84 - the jack, a card of its own (AOP-fed) */ { .compatible = "apple,j616-macaudio-jack", .data = &macaudio_j616_jack_cfg }, + /* j623 - cs42l84 - the jack only (AOP-fed) */ + { .compatible = "apple,j623-macaudio-jack", .data = &macaudio_j616_jack_cfg }, + /* j624 - cs42l84 - the jack only (AOP-fed) */ + { .compatible = "apple,j624-macaudio-jack", .data = &macaudio_j616_jack_cfg }, /* j700 AID44 max98360a - 2x 1W (AOP-fed, software gain) */ { .compatible = "apple,j700-macaudio", .data = &macaudio_j700_cfg }, /* j713 - sn012776 15 2x 1W+1T (AOP-fed, one serializer) */ @@ -3107,6 +3137,10 @@ static const struct of_device_id macaudio_snd_device_id[] = { /* j715 - sn012776 15 2x 2W+1T (AOP-fed, one serializer) */ { .compatible = "apple,j715-macaudio", .data = &macaudio_j715_cfg }, { .compatible = "apple,j715-macaudio-jack", .data = &macaudio_j616_jack_cfg }, + /* j773 - sn012776 15 1x 1W (AOP-fed; speaker off until bring-up) */ + { .compatible = "apple,j773-macaudio", .data = &macaudio_j575c_j773_cfg }, + /* j773 - cs42l84 - the jack, a card of its own (AOP-fed) */ + { .compatible = "apple,j773-macaudio-jack", .data = &macaudio_j616_jack_cfg }, /* Fallback, jack only */ { .compatible = "apple,macaudio"}, { } diff --git a/tools/asahi/pmu-rtc-tests.py b/tools/asahi/pmu-rtc-tests.py index 9c2f95bdf3841..3c85238cc6343 100644 --- a/tools/asahi/pmu-rtc-tests.py +++ b/tools/asahi/pmu-rtc-tests.py @@ -3,7 +3,7 @@ """Execute the PMU RTC callbacks against a byte-addressed W1C regmap model. C bodies and match data are extracted from the driver. The hardware model has -independent Baku/Abbey addresses. This checks arithmetic, alarm transactions, +independent Baku, Abbey, Stowe and Maverick addresses. This checks arithmetic, alarm transactions, shared control preservation, stale events and I/O failures, not physical wake. """ import argparse @@ -19,7 +19,10 @@ 'offset-seconds': ('sign_extend64(offset, 47) * 2', '(s64)offset'), 'offset-sign': ('sign_extend64(offset, 47) * 2', '(s64)offset * 2'), 'event-bit': ('.event_bit = BIT(1)', '.event_bit = BIT(0)'), - 'wrong-base': ('.base = 0x2000', '.base = 0xf800'), + 'wrong-control': ('.control = 0x2000', '.control = 0xf800'), + 'maverick-event': ('.event = 0x14c0', '.event = 0x140c'), + 'stowe-offset': ('static const struct apple_pmu_rtc_hw apple_pmu_rtc_stowe = {', + 'static const struct apple_pmu_rtc_hw apple_pmu_rtc_stowe = {\n\t.offset_in_seconds = true,'), } PRELUDE = r''' @@ -59,7 +62,7 @@ struct rtc_device { int events; }; struct device { void *data; bool wake; int wake_events; }; struct nvmem_cell { u8 data[8]; size_t bytes; int error; }; -struct regmap { u8 bytes[65536]; unsigned base, event, bit; int ops, fail; }; +struct regmap { u8 bytes[65536]; unsigned ctrl, counter, compare, mask, event, bit; int ops, fail; }; static int disabled, pm_suspend_target_state = PM_SUSPEND_TO_IDLE; static inline __attribute__((unused)) s64 sign_extend64(u64 v, int bit) { return (s64)(v << (63 - bit)) >> (63 - bit); } static u64 get_unaligned_le64(const void *p) { u64 v; memcpy(&v, p, 8); return v; } @@ -106,8 +109,8 @@ static int regmap_bulk_write(struct regmap *m, unsigned reg, const void *v, size_t n) { if (io_error(m)) return -EIO; /* Comparator programming must happen with the alarm masked and disarmed. */ - assert(reg == m->base + 8 && n == 4); - assert(!(m->bytes[m->base] & 0x40) && (m->bytes[m->base + 14] & 1)); + assert(reg == m->compare && n == 4); + assert(!(m->bytes[m->ctrl] & 0x40) && (m->bytes[m->mask] & 1)); memcpy(m->bytes + reg, v, n); return 0; } ''' @@ -118,42 +121,59 @@ static struct rtc_device clock_model; static struct apple_pmu_rtc rtc; static struct device dev; -static bool abbey; -static void set_counter(u64 ticks) { memcpy(map.bytes + map.base + 2, &ticks, 6); } +enum { BAKU, ABBEY, STOWE, MAVERICK }; +static bool abbey; /* offset in 1/32768 s and monitor bit */ +static void set_counter(u64 ticks) { memcpy(map.bytes + map.counter, &ticks, 6); } static void set_offset(s64 ticks) { offset.bytes = abbey ? 6 : 8; memcpy(offset.data, &ticks, offset.bytes); } -static void reset(bool a) { - abbey = a; map = (struct regmap){.base = a ? 0x2000 : 0xf800, - .event = a ? 0x2000 : 0xf80c, .bit = a ? 2 : 1}; +static int variant; +static void reset(int v) { + static const struct regmap layout[] = { + [BAKU] = {.ctrl = 0xf800, .counter = 0xf802, .compare = 0xf808, .mask = 0xf80e, + .event = 0xf80c, .bit = 1}, + [ABBEY] = {.ctrl = 0x2000, .counter = 0x2002, .compare = 0x2008, .mask = 0x200e, + .event = 0x2000, .bit = 2}, + [STOWE] = {.ctrl = 0xf800, .counter = 0xf802, .compare = 0xf808, .mask = 0xf80e, + .event = 0xf80c, .bit = 1}, + [MAVERICK] = {.ctrl = 0x1401, .counter = 0x1406, .compare = 0x140c, .mask = 0x14c2, + .event = 0x14c0, .bit = 1}, + }; + static const struct apple_pmu_rtc_hw *hw[] = { + [BAKU] = &apple_pmu_rtc_baku, [ABBEY] = &apple_pmu_rtc_abbey, + [STOWE] = &apple_pmu_rtc_stowe, [MAVERICK] = &apple_pmu_rtc_maverick, + }; + bool a = v != BAKU; + variant = v; abbey = a; map = layout[v]; offset = (struct nvmem_cell){0}; clock_model = (struct rtc_device){0}; - rtc = (struct apple_pmu_rtc){.hw = a ? &apple_pmu_rtc_abbey : &apple_pmu_rtc_baku, + rtc = (struct apple_pmu_rtc){.hw = hw[v], .map = &map, .offset = &offset, .clock = &clock_model}; dev = (struct device){.data = &rtc, .wake = true}; disabled = 0; /* Keep an unrelated writable bit, and Abbey's monitor bit. */ - map.bytes[map.base] = a ? 0x81 : 0x80; + map.bytes[map.ctrl] = a ? 0x81 : 0x80; set_counter(100ULL << 16); set_offset(a ? 1000LL * 32768 + 16384 : 1000); } -static u32 comparator(void) { u32 v; memcpy(&v, map.bytes + map.base + 8, 4); return v; } -static void run_variant(bool a) { +static u32 comparator(void) { u32 v; memcpy(&v, map.bytes + map.compare, 4); return v; } +static void run_variant(int v) { + bool a = v != BAKU; struct rtc_time time; struct rtc_wkalrm alarm = {.time.seconds = 1130, .enabled = true}, readback; s64 ticks; - reset(a); + reset(v); assert(!apple_pmu_rtc_read_time(&dev, &time) && time.seconds == 1100); set_counter((100ULL << 16) + 49152); assert(!apple_pmu_rtc_read_time(&dev, &time) && time.seconds == (a ? 1101 : 1100)); assert(!apple_pmu_rtc_set_alarm(&dev, &alarm)); - assert(comparator() == 130 && (map.bytes[map.base] & 0x40)); - assert(map.bytes[map.base] == (a ? 0xc1 : 0xc0)); - assert(!(map.bytes[map.base + 14] & 1)); + assert(comparator() == 130 && (map.bytes[map.ctrl] & 0x40)); + assert(map.bytes[map.ctrl] == (a ? 0xc1 : 0xc0)); + assert(!(map.bytes[map.mask] & 1)); assert(!apple_pmu_rtc_read_alarm(&dev, &readback)); assert(readback.time.seconds == 1130 && readback.enabled && !readback.pending); /* Acknowledge without changing ARM, monitor or the unrelated bit. */ map.bytes[map.event] |= map.bit; assert(!apple_pmu_rtc_ack_alarm(&rtc)); - assert(map.bytes[map.base] == (a ? 0xc1 : 0xc0)); + assert(map.bytes[map.ctrl] == (a ? 0xc1 : 0xc0)); assert(!(map.bytes[map.event] & map.bit)); /* An ordinary control write must not consume a latched event. */ map.bytes[map.event] |= map.bit; @@ -162,8 +182,8 @@ assert(!apple_pmu_rtc_read_alarm(&dev, &readback) && readback.pending); assert(apple_pmu_rtc_interrupt(7, &dev) == IRQ_HANDLED); assert(clock_model.events == 1 && dev.wake_events == 1); - assert(map.bytes[map.base] == (a ? 0x81 : 0x80)); - assert(!(map.bytes[map.event] & map.bit) && (map.bytes[map.base + 14] & 1)); + assert(map.bytes[map.ctrl] == (a ? 0x81 : 0x80)); + assert(!(map.bytes[map.event] & map.bit) && (map.bytes[map.mask] & 1)); assert(apple_pmu_rtc_interrupt(7, &dev) == IRQ_NONE && clock_model.events == 1); /* Repeat arm/fire; no stuck status or stale IRQ after the first alarm. */ assert(!apple_pmu_rtc_alarm_enable(&dev, 1)); @@ -185,7 +205,7 @@ assert(apple_pmu_rtc_offset(&rtc, &ticks) == -EINVAL); offset.error = -EIO; assert(apple_pmu_rtc_read_time(&dev, &time) == -EIO); - reset(a); + reset(v); set_offset(-32768); if (a) { assert(!apple_pmu_rtc_offset(&rtc, &ticks) && ticks == -65536); @@ -194,26 +214,26 @@ assert(!apple_pmu_rtc_set_alarm(&dev, &alarm) && comparator() == 130); } else assert(apple_pmu_rtc_offset(&rtc, &ticks) == -ERANGE); /* Keep a valid firmware alarm and discard a stale one at probe. */ - reset(a); alarm.time.seconds = 1130; + reset(v); alarm.time.seconds = 1130; assert(!apple_pmu_rtc_set_alarm(&dev, &alarm)); map.ops = 0; - assert(!apple_pmu_rtc_init_alarm(&rtc) && (map.bytes[map.base] & 0x40)); + assert(!apple_pmu_rtc_init_alarm(&rtc) && (map.bytes[map.ctrl] & 0x40)); set_counter(131ULL << 16); map.bytes[map.event] |= map.bit; assert(!apple_pmu_rtc_init_alarm(&rtc)); - assert(!(map.bytes[map.base] & 0x40) && !(map.bytes[map.event] & map.bit)); - assert(map.bytes[map.base + 14] & 1); + assert(!(map.bytes[map.ctrl] & 0x40) && !(map.bytes[map.event] & map.bit)); + assert(map.bytes[map.mask] & 1); /* Every failed transaction is reported; later enables fail after IRQ I/O failure. */ - reset(a); assert(!apple_pmu_rtc_set_alarm(&dev, &alarm)); + reset(v); assert(!apple_pmu_rtc_set_alarm(&dev, &alarm)); int count = map.ops; for (int fail = 1; fail <= count; ++fail) { - reset(a); map.fail = fail; + reset(v); map.fail = fail; assert(apple_pmu_rtc_set_alarm(&dev, &alarm) == -EIO); } - reset(a); map.bytes[map.event] |= map.bit; + reset(v); map.bytes[map.event] |= map.bit; assert(apple_pmu_rtc_interrupt(7, &dev) == IRQ_HANDLED); count = map.ops; for (int fail = 1; fail <= count; ++fail) { - reset(a); map.bytes[map.event] |= map.bit; map.fail = fail; + reset(v); map.bytes[map.event] |= map.bit; map.fail = fail; assert(apple_pmu_rtc_interrupt(7, &dev) == IRQ_HANDLED); assert(rtc.io_failed && disabled == 1 && dev.wake_events == 1); assert(clock_model.events == 0); @@ -221,14 +241,14 @@ assert(apple_pmu_rtc_set_alarm(&dev, &alarm) == -EIO); assert(apple_pmu_rtc_prepare(&dev) == -EBUSY); } - reset(a); assert(!apple_pmu_rtc_prepare(&dev)); + reset(v); assert(!apple_pmu_rtc_prepare(&dev)); pm_suspend_target_state = 2; assert(apple_pmu_rtc_prepare(&dev) == -EBUSY); pm_suspend_target_state = PM_SUSPEND_TO_IDLE; } int main(void) { - run_variant(false); run_variant(true); - puts("PMU RTC: Baku and Abbey arithmetic, W1C transactions and fault injection passed"); + run_variant(BAKU); run_variant(ABBEY); run_variant(STOWE); run_variant(MAVERICK); + puts("PMU RTC: Baku, Abbey, Stowe and Maverick arithmetic, W1C transactions and fault injection passed"); return 0; } ''' @@ -240,7 +260,7 @@ def main(): parser.add_argument('--mutation', choices=MUTATIONS) args = parser.parse_args() source = (ROOT / 'drivers/rtc/rtc-apple-pmu.c').read_text() - code = source[source.index('#define APPLE_PMU_RTC_CONTROL'): + code = source[source.index('#define APPLE_PMU_RTC_ARM'): source.index('static const struct rtc_class_ops')] code += source[source.index('static int apple_pmu_rtc_prepare('): source.index('static const struct dev_pm_ops')] diff --git a/tools/asahi/run-host-tests.py b/tools/asahi/run-host-tests.py index 95444268423a3..613d0643b46f2 100755 --- a/tools/asahi/run-host-tests.py +++ b/tools/asahi/run-host-tests.py @@ -151,7 +151,8 @@ def mutations(flag, names, base, expect=KILL): 'pmp-j613-hwmon-tests.py': [([], PASS)], 'pmu-rtc-tests.py': [(out(), PASS)] + mutations('--mutation', ('ack-clobber', 'arm-ack', 'offset-seconds', - 'offset-sign', 'event-bit', 'wrong-base'), out()), + 'offset-sign', 'event-bit', 'wrong-control', + 'maverick-event', 'stowe-offset'), out()), 'qspi-nvram-tests.py': [(out('--output'), PASS)], 'rtkit-oslog-tests.py': [(out(), PASS)] + mutations('--mutate', ('admission', 'channel', 'counter', 'reset', 'buffer'), out()), diff --git a/tools/aurora-sep/XART-SAFETY.md b/tools/aurora-sep/XART-SAFETY.md index 6ac781367d75f..d500fe86d0027 100644 --- a/tools/aurora-sep/XART-SAFETY.md +++ b/tools/aurora-sep/XART-SAFETY.md @@ -267,18 +267,17 @@ it: - A btrfs/snapper rollback, or restoring a backup, brings back an older list. Records the enclave created after that snapshot are no longer listed, so the guard treats them as another OS's and refuses to rewrite them. Nothing - is overwritten, but Touch ID may fail until the newer list is put back. - Keep the newest copy, or leave `/var/lib/aurora-sep-xart-owned.bin` out of - rollback snapshots. + is overwritten and those records stay protected. If Touch ID fails + afterwards, set it up again with `aurora-xart reset-touchid` (or + `install-aurora-sep.sh --reset-touchid`). - A reinstall, or deleting the file, empties the list. Every Linux record - then looks like another OS's. Copy the file back from the old install if - you have it. Without it, those records stay protected; resetting Touch ID - (`install-aurora-sep.sh --reset-touchid`) creates a new keybag. + then looks like another OS's, and those records stay protected. Set Touch + ID up again with `aurora-xart reset-touchid` (or + `install-aurora-sep.sh --reset-touchid`), which creates a new keybag. - A torn last entry, from a crash while appending, is ignored at the next probe and overwritten by the next new record. -The file holds only record kinds and session ids, no key material, and it -can be backed up and copied like any other file. +The file holds only record kinds and session ids, no key material. ## Cold-boot SEP Macs rewrite a pre-Linux record (2026-10-16) diff --git a/tools/testing/selftests/drivers/apple/bcm4377-radio-sids.py b/tools/testing/selftests/drivers/apple/bcm4377-radio-sids.py index 988a65cdb2a37..1578fa5a14dcd 100755 --- a/tools/testing/selftests/drivers/apple/bcm4377-radio-sids.py +++ b/tools/testing/selftests/drivers/apple/bcm4377-radio-sids.py @@ -300,7 +300,7 @@ def main(): code += definition(pci, 'static int apple_pcie_radio_check_cold(struct apple_pcie_port *port)\n{') + '\n' code += definition(dart, 'static int apple_dart_retain_radio(') + '\n' probe = definition(dart, 'static int apple_dart_probe(struct platform_device *pdev)\n{') - start = probe.index('\tif (dart->managed_sids) {', probe.index('Retaining the live J713 MTP bypass')) + start = probe.index('\tif (dart->managed_sids) {', probe.index('Retaining the live T8132 MTP bypass')) end = probe.index('\n\t} else if (!dart->locked', start) cleanup = probe[probe.index('err_clk_disable:'):probe.index('\n\tclk_bulk_disable_unprepare', probe.index('err_clk_disable:'))] code += 'static int test_probe_start(struct apple_dart *dart) { int ret; void *dev=dart->dev;\n' + probe[start:end] + '\n\t}\nreturn 0;\n' + cleanup + '\nreturn ret; }\n' diff --git a/tools/testing/selftests/drivers/apple/dwc3-initial-role.py b/tools/testing/selftests/drivers/apple/dwc3-initial-role.py index ae663af98d982..7d3a4cd5ec7aa 100755 --- a/tools/testing/selftests/drivers/apple/dwc3-initial-role.py +++ b/tools/testing/selftests/drivers/apple/dwc3-initial-role.py @@ -168,6 +168,11 @@ def main(): return ret; } ''' + # The board selection comes from . + t8132 = (root / "include/linux/soc/apple/t8132.h").read_text() + for name in ["apple_t8132_air", "apple_t8132_pro_mini_imac", + "apple_t8132_usb_host_first"]: + program += function(t8132,name) for name in ["dwc3_apple_set_ptrcap", "dwc3_apple_host_before_core_init", "dwc3_apple_core_probe", "dwc3_apple_core_init"]: program += function(apple,name) diff --git a/tools/testing/selftests/drivers/apple/macsmc-j713.py b/tools/testing/selftests/drivers/apple/macsmc-j713.py index cc3402376f157..bad09726a8857 100755 --- a/tools/testing/selftests/drivers/apple/macsmc-j713.py +++ b/tools/testing/selftests/drivers/apple/macsmc-j713.py @@ -91,21 +91,32 @@ def main(): return write_result; } '''] - for name in ("macsmc_gpio_is_j700_pcio", "macsmc_gpio_is_j713_reg_on", "macsmc_gpio_key", + for name in ("macsmc_gpio_is_j700_pcio", "macsmc_gpio_has_output_template", + "macsmc_gpio_is_j713_reg_on", "macsmc_gpio_key", "macsmc_gpio_get_direction", "macsmc_gpio_get", "macsmc_gpio_set"): marker = re.search(r"^static [^\n]+\b" + name + r"\(", source, re.M).group() parts.append(block(source, marker)) # Compile the actual probe assignments, so the test also checks board selection. assignments = re.search(r"\tsmcgp->j713 = [^;]+;\n\tmutex_init\([^;]+;", source).group() parts += [r''' -static const char *const boards[] = { NULL, "apple,j713", "apple,j715" }; +/* No board, then every M4 Mac with the Airs' radio port. */ +static const char *const boards[] = { + NULL, "apple,j713", "apple,j715", "apple,j604", "apple,j623", "apple,j624", + "apple,j773g", +}; +#define NUM_BOARDS (sizeof(boards) / sizeof(*boards)) static unsigned int board; static bool of_machine_is_compatible(const char *name) { - assert(!strcmp(name, "apple,j713") || !strcmp(name, "apple,j715")); + bool known = false; + for (unsigned int i = 1; i < NUM_BOARDS; i++) + known |= !strcmp(name, boards[i]); + assert(known); return board && !strcmp(name, boards[board]); } -''', block(t8132, "static inline bool apple_t8132_air("), r''' +''', block(t8132, "static inline bool apple_t8132_air("), + block(t8132, "static inline bool apple_t8132_pro_mini_imac("), + block(t8132, "static inline bool apple_t8132_managed_radio("), r''' static void profile_init(struct macsmc_gpio *smcgp) { ''', assignments, r''' @@ -153,7 +164,7 @@ def main(): CHECK(!g.j713_reg_on_lock.held && rw_count == 0 && writes64 == 0); /* Every other board/namespace/line retains the generic GPIO operations. */ - for (unsigned int b = 0; b < 3; b++) + for (unsigned int b = 0; b < NUM_BOARDS; b++) for (unsigned int lower = 0; lower < 2; lower++) for (unsigned int line = 0; line < MAX_GPIO; line++) { reset(&g, b, lower ? _SMC_KEY("gp\0\0") : _SMC_KEY("gP\0\0")); diff --git a/tools/testing/selftests/drivers/gpu/apple-dcp/colorimetry.py b/tools/testing/selftests/drivers/gpu/apple-dcp/colorimetry.py index 554f0ede31366..39d0442271ffc 100644 --- a/tools/testing/selftests/drivers/gpu/apple-dcp/colorimetry.py +++ b/tools/testing/selftests/drivers/gpu/apple-dcp/colorimetry.py @@ -8,8 +8,40 @@ def panel(root, output): + def adt_node(props, children=()): + data = bytearray(struct.pack('white,p3.white,sizeof(p3.white)) && p3_target->gamma==p3.gamma); assert(!memcmp(srgb_target->chromaticity,srgb.chromaticity,sizeof(srgb.chromaticity))); assert(!memcmp(srgb_target->white,srgb.white,sizeof(srgb.white)) && srgb_target->gamma==srgb.gamma); + for (unsigned n=0;n #include #include -typedef uint8_t u8;typedef uint32_t u32; +typedef uint8_t u8;typedef uint32_t u32;typedef int32_t s32;typedef int64_t s64; #define U16_MAX UINT16_MAX +#define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) #define SZ_16M (16U<<20) #define ALIGN(x,n) (((x)+(n)-1)&~((n)-1)) #define ERR_PTR(x) ((void *)(intptr_t)(x)) @@ -802,7 +803,9 @@ def node(props, children=()): #define IS_ERR(x) ((uintptr_t)(x)>(uintptr_t)-4096) static u32 get_unaligned_le32(const void *p) {u32 n;memcpy(&n,p,4);return n;} ''' - code+=block((base/'dcp-display-metadata.h').read_text(),'struct dcp_display_metadata {')+';\n' + metadata=(base/'dcp-display-metadata.h').read_text() + code+=block(metadata,'struct dcp_display_metadata {')+';\n' + code+=block(metadata,'enum dcp_panel_gamut {')+';\n' code+=block(header,'struct dcp_panel_adt {')+';\n'+source code+='static const u8 fixture[]={'+','.join(map(str,data))+'};\n' return code+r''' diff --git a/tools/testing/selftests/drivers/gpu/apple-dcp/dwc3/mocks.c b/tools/testing/selftests/drivers/gpu/apple-dcp/dwc3/mocks.c index ae59233cf8b9f..806ec38dd7fd4 100644 --- a/tools/testing/selftests/drivers/gpu/apple-dcp/dwc3/mocks.c +++ b/tools/testing/selftests/drivers/gpu/apple-dcp/dwc3/mocks.c @@ -198,6 +198,17 @@ static inline bool apple_t8132_air(void) return of_machine_is_compatible("apple,j713") || of_machine_is_compatible("apple,j715"); } +static inline bool apple_t8132_pro_mini_imac(void) +{ + return of_machine_is_compatible("apple,j604") || + of_machine_is_compatible("apple,j623") || + of_machine_is_compatible("apple,j624") || + of_machine_is_compatible("apple,j773g"); +} +static inline bool apple_t8132_usb_host_first(void) +{ + return apple_t8132_air() || apple_t8132_pro_mini_imac(); +} #define READ_ONCE(x) (x) #define WRITE_ONCE(p, v) ((p) = (v)) diff --git a/tools/testing/selftests/drivers/gpu/apple-dcp/j616s.py b/tools/testing/selftests/drivers/gpu/apple-dcp/j616s.py index 61cb50712280b..77273dfacd1a2 100644 --- a/tools/testing/selftests/drivers/gpu/apple-dcp/j616s.py +++ b/tools/testing/selftests/drivers/gpu/apple-dcp/j616s.py @@ -11,6 +11,7 @@ def identity(root, output): unit = unit.replace('int fw_compat;bool has_panel;', 'int fw_compat;unsigned notch_height;bool has_panel;') unit += r''' +typedef int32_t s32; #define ALIGN(x,n) (((x)+(n)-1)&~((n)-1)) #define SZ_16M (16U<<20) static u32 get_unaligned_le32(const void *p) {u32 n;memcpy(&n,p,4);return n;} diff --git a/tools/testing/selftests/drivers/gpu/apple-dcp/m4-dart-boot-contract-test.py b/tools/testing/selftests/drivers/gpu/apple-dcp/m4-dart-boot-contract-test.py index 79ba745f03e04..a5d7ebc5d9015 100755 --- a/tools/testing/selftests/drivers/gpu/apple-dcp/m4-dart-boot-contract-test.py +++ b/tools/testing/selftests/drivers/gpu/apple-dcp/m4-dart-boot-contract-test.py @@ -9,6 +9,7 @@ from pathlib import Path import argparse import json +import re import subprocess import tempfile @@ -21,8 +22,10 @@ DTB, ROOT = args.dtb, args.kernel_root.resolve() source = (ROOT / 'drivers/iommu/apple-dart.c').read_text() t8132 = (ROOT / 'include/linux/soc/apple/t8132.h').read_text() -air = t8132[t8132.index('static inline bool apple_t8132_air('):] -air = air[:air.index('\n}\n') + 3] +# Every board helper, in header order: the gates call them by trait. +air = '' +for start in [m.start() for m in re.finditer(r'^static inline bool apple_t8132_\w+\(', t8132, re.M)]: + air += t8132[start:t8132.index('\n}\n', start) + 3] def property(node, name, kind='s'): @@ -80,7 +83,8 @@ def address(node): static unsigned int checks; static bool of_machine_is_compatible(const char *s) { if (!strcmp(s,"apple,j713")) return board; - if (!strcmp(s,"apple,j715")) return false; + if (!strcmp(s,"apple,j715") || !strcmp(s,"apple,j604") || !strcmp(s,"apple,j623") || + !strcmp(s,"apple,j624") || !strcmp(s,"apple,j773g")) return false; assert(!strcmp(s,"apple,t8132")); return soc; } AIR_HELPER diff --git a/tools/testing/selftests/drivers/gpu/apple-dcp/rate.py b/tools/testing/selftests/drivers/gpu/apple-dcp/rate.py index 159d421e75ad7..c4c92d244f377 100644 --- a/tools/testing/selftests/drivers/gpu/apple-dcp/rate.py +++ b/tools/testing/selftests/drivers/gpu/apple-dcp/rate.py @@ -46,6 +46,7 @@ def wire(value, out): parser = source[source.index('#define DCP_PARSE_HEADER'):source.index('int parse_epic_service_init(')] metadata = (base / 'dcp-display-metadata.h').read_text() metadata = (block(metadata, 'struct dcp_display_metadata {') + ';\n' + + block(metadata, 'enum dcp_panel_gamut {') + ';\n' + block(metadata, 'struct dcp_color_space {') + ';\n') header = (base / 'parser.h').read_text() header = header[header.index('struct apple_dcp;'):header.index('int parse(')]