diff --git a/Documentation/devicetree/bindings/gpu/apple,agx.yaml b/Documentation/devicetree/bindings/gpu/apple,agx.yaml index fb9657fe07f4e..12b8f6904aeba 100644 --- a/Documentation/devicetree/bindings/gpu/apple,agx.yaml +++ b/Documentation/devicetree/bindings/gpu/apple,agx.yaml @@ -24,6 +24,7 @@ properties: - apple,agx-t8132 - apple,agx-t8140 - apple,agx-t8142 + - apple,agx-t8152 - items: - enum: - apple,agx-g17c @@ -55,11 +56,11 @@ properties: reg: minItems: 1 - maxItems: 2 + maxItems: 4 reg-names: minItems: 1 - maxItems: 2 + maxItems: 4 power-domains: maxItems: 1 @@ -594,6 +595,7 @@ allOf: - apple,agx-t8132 - apple,agx-t8140 - apple,agx-t8142 + - apple,agx-t8152 then: properties: reg: @@ -678,7 +680,65 @@ allOf: - memory-region-names - power-domains - operating-points-v2 - else: + + - if: + properties: + compatible: + contains: + const: apple,agx-t8152 + then: + properties: + reg: + items: + - description: GPU block MMIO registers + - description: SGX PSD service block + - description: GFX ASC PSD service block + - description: GFX1 ASC PSD service block + reg-names: + items: + - const: sgx + - const: psd-sgx + - const: psd-gfx-asc + - const: psd-gfx1-asc + mboxes: + items: + - description: GFX coprocessor mailbox + - description: GFX1 coprocessor mailbox + memory-region: + items: + - description: GPU MMU TTBs + - description: GPU MMU page tables + - description: Shared GPU MMU handoff structure + - description: Shared L2 page tables + - description: GFX firmware data + - description: GFX1 firmware data + - description: GFX firmware shared read-only data + - description: GFX1 firmware shared read-only data + memory-region-names: + items: + - const: ttbs + - const: pagetables + - const: handoff + - const: shared-l2 + - const: gfx-data + - const: gfx1-data + - const: gfx-data-shared-ro + - const: gfx1-data-shared-ro + required: + - reg-names + - mboxes + - memory-region + - memory-region-names + + - if: + not: + properties: + compatible: + contains: + enum: + - apple,agx-t8142 + - apple,agx-t8152 + then: properties: memory-region: maxItems: 6 diff --git a/Documentation/devicetree/bindings/mailbox/apple,ascwrap-v6.yaml b/Documentation/devicetree/bindings/mailbox/apple,ascwrap-v6.yaml index 0bf483a096e1e..89bdbefdb39f7 100644 --- a/Documentation/devicetree/bindings/mailbox/apple,ascwrap-v6.yaml +++ b/Documentation/devicetree/bindings/mailbox/apple,ascwrap-v6.yaml @@ -25,16 +25,15 @@ properties: - apple,t8140-ascwrap-v6 - apple,t8142-ascwrap-v6 - apple,t6050-j775d-ascwrap-v6 + - apple,t8152-gfx-ascwrap-v8 reg: - items: - - description: ASC wrapper registers - - description: Coprocessor vector-base register + minItems: 2 + maxItems: 4 reg-names: - items: - - const: wrapper - - const: iop-vbar + minItems: 2 + maxItems: 4 interrupts: items: @@ -75,6 +74,36 @@ allOf: apple,firmware-role: const: GFX + - if: + properties: + compatible: + contains: + const: apple,t8152-gfx-ascwrap-v8 + then: + properties: + reg: + items: + - description: ASC wrapper registers + - description: Coprocessor vector-base register + - description: Post-office mailbox window + - description: PSD service block + reg-names: + items: + - const: wrapper + - const: iop-vbar + - const: mailbox + - const: psd + else: + properties: + reg: + items: + - description: ASC wrapper registers + - description: Coprocessor vector-base register + reg-names: + items: + - const: wrapper + - const: iop-vbar + additionalProperties: false examples: diff --git a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml index bfa8894eac727..3a7348572d380 100644 --- a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml @@ -36,6 +36,13 @@ properties: - items: - const: apple,t6050-pinctrl - const: apple,t8132-pinctrl + - description: + The T8152 application-processor GPIO bank uses uncached T8140 + register access. Board-specific reservations describe inaccessible pins. + The separate AOP GPIO bank retains its T8103-compatible access. + items: + - const: apple,t8152-pinctrl + - const: apple,t8140-pinctrl - items: # Do not add additional SoC to this list. - enum: diff --git a/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml b/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml index f7dcfa5bb4d29..ed36aca8f7c29 100644 --- a/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml +++ b/Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml @@ -22,6 +22,7 @@ properties: - apple,t8142-fpwm - apple,t8132-fpwm - apple,t8140-fpwm + - apple,t8152-fpwm - apple,t6000-fpwm - apple,t6020-fpwm - apple,t6030-fpwm diff --git a/arch/arm64/boot/dts/apple/t8152-j804.dts b/arch/arm64/boot/dts/apple/t8152-j804.dts index 82529cf4d9a33..9b07cb8673baa 100644 --- a/arch/arm64/boot/dts/apple/t8152-j804.dts +++ b/arch/arm64/boot/dts/apple/t8152-j804.dts @@ -1,12 +1,427 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple MacBook Pro (14-inch, M6), J804. + * + * Booted from RAM by the loader, which fills usable memory, the release + * addresses of the CPUs it started (and removes the others) and the boot + * framebuffer. The console is the framebuffer: the DockChannel UART has no + * reader on this board, so it stays disabled. Resources follow the J804 ADT. + */ /dts-v1/; #include "t8152.dtsi" +#include +#include / { - model = "Apple MacBook Pro (J804)"; compatible = "apple,j804", "apple,t8152", "apple,arm-platform"; + model = "Apple MacBook Pro (14-inch, M6)"; chassis-type = "laptop"; + + /* Retain the RAM handoff and secondary CPU park contract. */ + aurora,minimal-boot; + + aliases { + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; /* Filled by the loader. */ + status = "disabled"; + }; + }; + + /* Keyboard backlight: ADT fpwm0 kbd-backlight, 25 kHz. */ + led-controller { + compatible = "pwm-leds"; + + led-0 { + pwms = <&fpwm0 0 40000>; + label = "kbd_backlight"; + function = LED_FUNCTION_KBD_BACKLIGHT; + color = ; + max-brightness = <255>; + default-state = "keep"; + }; + }; +}; + +&smc_firmware { + status = "okay"; +}; + +&cpu0 { + status = "okay"; +}; + +&cpu1 { + status = "okay"; +}; + +&cpu2 { + status = "okay"; +}; + +&cpu3 { + status = "okay"; +}; + +&cpu4 { + status = "okay"; +}; + +&cpu5 { + status = "okay"; +}; + +&cpu6 { + status = "okay"; +}; + +&cpu7 { + status = "okay"; +}; + +&cpu8 { + status = "okay"; +}; + +&cpu9 { + status = "okay"; +}; + +&cpu10 { + status = "okay"; +}; + +&cpu11 { + status = "okay"; +}; + +&aic { + status = "okay"; +}; + +&{/timer} { + status = "okay"; +}; + +&m6_e_cpufreq { + status = "okay"; +}; + +&m6_pm_cpufreq { + status = "okay"; +}; + +&smc_mbox { + status = "okay"; +}; + +&smc { + status = "okay"; + + /* + * pcIO outputs. The trackpad's AFE reset is the ADT multi-touch + * function-afe-reset pKW8('pcIO', 0x10000, 0x1c0000): line 0. + */ + smc_pcio: gpio { + compatible = "apple,smc-pcio-gpio"; + gpio-controller; + #gpio-cells = <2>; + apple,output-commands = /bits/ 64 <0x001c000000010000>; + }; + + smc_hwmon: hwmon { + compatible = "apple,smc-hwmon"; + apple,discover-temperatures; + + /* One fan; mode key in lower case on T8152. */ + fan-F0Ac { + apple,key-id = "F0Ac"; + apple,fan-minimum = "F0Mn"; + apple,fan-maximum = "F0Mx"; + apple,fan-target = "F0Tg"; + apple,fan-mode = "F0md"; + label = "Fan"; + }; + + power-PSTR { + apple,key-id = "PSTR"; + label = "Total System Power"; + }; + + power-PDTR { + apple,key-id = "PDTR"; + label = "AC Input Power"; + }; + + power-PMVR { + apple,key-id = "PMVR"; + label = "3.8 V Rail Power"; + }; + + power-PHPC { + apple,key-id = "PHPC"; + label = "Heatpipe 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"; + }; + }; +}; + +&wdt { + status = "okay"; +}; + +&pinctrl_ap { + /* ADT no-restore-gpio-pins */ + gpio-reserved-ranges = <78 1>, <140 2>, <198 1>, <208 1>; + status = "okay"; +}; + +/* The headphone jack codec. */ +&i2c1 { + power-domains = <&ps_i2c1>; + resets = <&ps_i2c1>; + status = "okay"; + + /* Disabled until the sound card that uses it is described. */ + jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + reset-gpios = <&pinctrl_ap 204 GPIO_ACTIVE_HIGH>; + interrupts-extended = <&pinctrl_ap 203 IRQ_TYPE_LEVEL_LOW>; + #sound-dai-cells = <0>; + status = "disabled"; + }; +}; + +/* The speaker amplifiers, described with the audio support. */ +&i2c3 { + power-domains = <&ps_i2c3>; + resets = <&ps_i2c3>; + status = "okay"; +}; + +&fpwm0 { + status = "okay"; +}; + +/* The boot NOR (NVRAM), PMGR block, and ANS2 NVMe, as on J873. */ +#include "t8152-j873-qspi.dtsi" +#include "t8152-j873-nvme.dtsi" +#include "t8152-j873-pmc.dtsi" +#include "t8152-j873-gpu.dtsi" + +&dwc3_0_dart { + reg = <0x4 0x03020000 0x0 0x20000>; + power-domains = <&ps_atc0_usb>; + status = "okay"; +}; + +&dwc3_1_dart { + reg = <0x4 0x0b020000 0x0 0x20000>; + power-domains = <&ps_atc1_usb>; + status = "okay"; +}; + +&dwc3_3_dart { + reg = <0x4 0x13020000 0x0 0x20000>; + power-domains = <&ps_atc3_usb>; + status = "okay"; +}; + +&{/soc} { + /* + * ATC USB power domains for the three exposed Type-C ports (usb-drd0, + * usb-drd1, usb-drd3). Kept on to preserve the loader's USB2 host PHY + * setup until T8152 Type-C/USB3 PHY bring-up is described for J804. + */ + pmgr_atc: power-management@308290000 { + compatible = "apple,t8152-pmgr", "apple,t8103-pmgr", + "syscon", "simple-mfd"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x3 0x08290000 0x0 0x1000>; + + ps_atc0_usb_aon: power-controller@100 { + compatible = "apple,t8152-pmgr-pwrstate", + "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0_usb_aon"; + apple,no-auto-pm; + apple,always-on; + }; + + ps_atc0_usb: power-controller@120 { + compatible = "apple,t8152-pmgr-pwrstate", + "apple,t8103-pmgr-pwrstate"; + reg = <0x120 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0_usb"; + power-domains = <&ps_atc0_usb_aon>; + apple,no-auto-pm; + apple,always-on; + }; + + ps_atc1_usb_aon: power-controller@140 { + compatible = "apple,t8152-pmgr-pwrstate", + "apple,t8103-pmgr-pwrstate"; + reg = <0x140 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1_usb_aon"; + apple,no-auto-pm; + apple,always-on; + }; + + ps_atc1_usb: power-controller@160 { + compatible = "apple,t8152-pmgr-pwrstate", + "apple,t8103-pmgr-pwrstate"; + reg = <0x160 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1_usb"; + power-domains = <&ps_atc1_usb_aon>; + apple,no-auto-pm; + apple,always-on; + }; + + ps_atc3_usb_aon: power-controller@1c0 { + compatible = "apple,t8152-pmgr-pwrstate", + "apple,t8103-pmgr-pwrstate"; + reg = <0x1c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc3_usb_aon"; + apple,no-auto-pm; + apple,always-on; + }; + + ps_atc3_usb: power-controller@1e0 { + compatible = "apple,t8152-pmgr-pwrstate", + "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc3_usb"; + power-domains = <&ps_atc3_usb_aon>; + apple,no-auto-pm; + apple,always-on; + }; + }; + + dwc3_0_dart_1: iommu@403040000 { + compatible = "apple,t8152-dart", "apple,t8110-dart"; + reg = <0x4 0x03040000 0x0 0x20000>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc0_usb>; + }; + + usb0: usb@402430000 { + compatible = "apple,t8152-dwc3"; + reg = <0x4 0x02430000 0x0 0xcd00>; + interrupts = ; + dr_mode = "host"; + iommus = <&dwc3_0_dart 0>, <&dwc3_0_dart_1 1>; + power-domains = <&ps_atc0_usb>; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; + }; + + dwc3_1_dart_1: iommu@40b040000 { + compatible = "apple,t8152-dart", "apple,t8110-dart"; + reg = <0x4 0x0b040000 0x0 0x20000>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc1_usb>; + }; + + usb1: usb@40a430000 { + compatible = "apple,t8152-dwc3"; + reg = <0x4 0x0a430000 0x0 0xcd00>; + interrupts = ; + dr_mode = "host"; + iommus = <&dwc3_1_dart 0>, <&dwc3_1_dart_1 1>; + power-domains = <&ps_atc1_usb>; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; + }; + + dwc3_3_dart_1: iommu@413040000 { + compatible = "apple,t8152-dart", "apple,t8110-dart"; + reg = <0x4 0x13040000 0x0 0x20000>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_atc3_usb>; + }; + + usb3: usb@412430000 { + compatible = "apple,t8152-dwc3"; + reg = <0x4 0x12430000 0x0 0xcd00>; + interrupts = ; + dr_mode = "host"; + iommus = <&dwc3_3_dart 0>, <&dwc3_3_dart_1 1>; + power-domains = <&ps_atc3_usb>; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; + }; +}; + +&pmgr { + /* On at handoff; the I2C controllers below hang off it. */ + ps_sio: power-controller@840 { + compatible = "apple,t8152-pmgr-pwrstate", + "apple,t8103-pmgr-pwrstate"; + reg = <0x840 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sio"; + apple,always-on; + }; + + ps_i2c1: power-controller@cc0 { + compatible = "apple,t8152-pmgr-pwrstate", + "apple,t8103-pmgr-pwrstate"; + reg = <0xcc0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c1"; + power-domains = <&ps_sio>; + }; + + ps_i2c3: power-controller@d00 { + compatible = "apple,t8152-pmgr-pwrstate", + "apple,t8103-pmgr-pwrstate"; + reg = <0xd00 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c3"; + power-domains = <&ps_sio>; + }; }; /* Unexposed chassis port instances remain described and disabled. */ diff --git a/arch/arm64/boot/dts/apple/t8152.dtsi b/arch/arm64/boot/dts/apple/t8152.dtsi index b1e996fd5302e..ddaf01f6e01a8 100644 --- a/arch/arm64/boot/dts/apple/t8152.dtsi +++ b/arch/arm64/boot/dts/apple/t8152.dtsi @@ -16,6 +16,12 @@ #address-cells = <2>; #size-cells = <2>; ranges; + + smc_firmware: smc-firmware@30de00000 { + reg = <3 0x0de00000 0 0x120000>; + no-map; + status = "disabled"; + }; }; memory@10000000000 { @@ -34,6 +40,8 @@ reg = <0 0x0>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_e_opp>; + performance-domains = <&m6_e_cpufreq>; }; cpu1: cpu@1 { @@ -43,6 +51,8 @@ reg = <0 0x1>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_e_opp>; + performance-domains = <&m6_e_cpufreq>; }; cpu2: cpu@2 { @@ -52,6 +62,8 @@ reg = <0 0x2>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_e_opp>; + performance-domains = <&m6_e_cpufreq>; }; cpu3: cpu@3 { @@ -61,6 +73,8 @@ reg = <0 0x3>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_e_opp>; + performance-domains = <&m6_e_cpufreq>; }; cpu4: cpu@4 { @@ -70,6 +84,8 @@ reg = <0 0x4>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_e_opp>; + performance-domains = <&m6_e_cpufreq>; }; cpu5: cpu@5 { @@ -79,6 +95,8 @@ reg = <0 0x5>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_e_opp>; + performance-domains = <&m6_e_cpufreq>; }; cpu6: cpu@10100 { @@ -88,6 +106,8 @@ reg = <0 0x10100>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_pm_opp>; + performance-domains = <&m6_pm_cpufreq>; }; cpu7: cpu@10101 { @@ -97,6 +117,8 @@ reg = <0 0x10101>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_pm_opp>; + performance-domains = <&m6_pm_cpufreq>; }; cpu8: cpu@40102 { @@ -106,6 +128,8 @@ reg = <0 0x40102>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_pm_opp>; + performance-domains = <&m6_pm_cpufreq>; }; cpu9: cpu@40103 { @@ -115,6 +139,8 @@ reg = <0 0x40103>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_pm_opp>; + performance-domains = <&m6_pm_cpufreq>; }; cpu10: cpu@40104 { @@ -124,6 +150,8 @@ reg = <0 0x40104>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_pm_opp>; + performance-domains = <&m6_pm_cpufreq>; }; cpu11: cpu@40105 { @@ -133,6 +161,40 @@ reg = <0 0x40105>; enable-method = "spin-table"; cpu-release-addr = <0 0>; /* Filled by the loader. */ + operating-points-v2 = <&m6_pm_opp>; + performance-domains = <&m6_pm_cpufreq>; + }; + }; + + /* + * The first two CPU performance states of each cluster, which the + * driver may use without a thermal policy. + */ + m6_e_opp: opp-table-e { + compatible = "operating-points-v2"; + opp-shared; + + opp-972000000 { + opp-hz = /bits/ 64 <972000000>; + opp-level = <2>; + }; + opp-1152000000 { + opp-hz = /bits/ 64 <1152000000>; + opp-level = <3>; + }; + }; + + m6_pm_opp: opp-table-pm { + compatible = "operating-points-v2"; + opp-shared; + + opp-1440000000 { + opp-hz = /bits/ 64 <1440000000>; + opp-level = <2>; + }; + opp-1728000000 { + opp-hz = /bits/ 64 <1728000000>; + opp-level = <3>; }; }; @@ -188,6 +250,99 @@ reg-names = "data", "config", "irq"; interrupts = ; }; + + m6_e_cpufreq: performance-controller@210e20000 { + compatible = "apple,t8152-cluster-cpufreq"; + reg = <2 0x10e20000 0 0x1000>; + #performance-domain-cells = <0>; + status = "disabled"; + }; + + m6_pm_cpufreq: performance-controller@211e20000 { + compatible = "apple,t8152-cluster-cpufreq"; + reg = <2 0x11e20000 0 0x1000>; + #performance-domain-cells = <0>; + status = "disabled"; + }; + + wdt: watchdog@3082b0000 { + compatible = "apple,t8152-wdt", "apple,t8103-wdt"; + reg = <3 0x082b0000 0 0x4000>; + clocks = <&clkref>; + interrupts = ; + status = "disabled"; + }; + + smc_mbox: mailbox@30c710080 { + compatible = "apple,t8152-smc-mailbox"; + reg = <3 0x0c710080 0 0x80>; + interrupts = , + ; + interrupt-names = "send-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + smc: smc@30c600000 { + compatible = "apple,t8152-smc"; + reg = <3 0x0c600000 0 0x74000>, + <3 0x0de00000 0 0x120000>; + reg-names = "smc", "sram"; + mboxes = <&smc_mbox>; + status = "disabled"; + }; + + pinctrl_ap: pinctrl@31a000000 { + /* + * Uncached (T8140 profile): a cache filled at probe would read + * reserved pins, which fault on an AP read. Boards list their + * inaccessible pins via gpio-reserved-ranges. + */ + compatible = "apple,t8152-pinctrl", "apple,t8140-pinctrl"; + reg = <0x3 0x1a000000 0x0 0x100000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_ap 0 0 224>; + apple,npins = <224>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = , + , + , + , + , + , + ; + status = "disabled"; + }; + + i2c1: i2c@331014000 { + compatible = "apple,t8152-i2c", "apple,t8103-i2c"; + reg = <3 0x31014000 0 0x4000>; + clocks = <&clkref>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c3: i2c@33101c000 { + compatible = "apple,t8152-i2c", "apple,t8103-i2c"; + reg = <3 0x3101c000 0 0x4000>; + clocks = <&clkref>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + fpwm0: pwm@331040000 { + compatible = "apple,t8152-fpwm", "apple,s5l-fpwm"; + reg = <3 0x31040000 0 0x4000>; + clocks = <&clkref>; + #pwm-cells = <2>; + status = "disabled"; + }; }; };