1// SPDX-License-Identifier: GPL-2.0+ OR MIT 2/* 3 * Nodes present on both dies of T6032 (M3 Ultra) and present on T6031 / T6034 4 * (M3 Max). 5 * 6 * Copyright The Asahi Linux Contributors 7 */ 8 9 DIE_NODE(pmgr): power-management@292280000 { 10 compatible = "apple,t6031-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; 11 #address-cells = <1>; 12 #size-cells = <1>; 13 14 reg = <0x2 0x92280000 0 0xc000>; 15 }; 16 17 DIE_NODE(pmgr1): power-management@292800000 { 18 compatible = "apple,t6031-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; 19 #address-cells = <1>; 20 #size-cells = <1>; 21 22 reg = <0x2 0x92800000 0 0x4000>; 23 }; 24 25 DIE_NODE(pinctrl_nub): pinctrl@2a01f0000 { 26 compatible = "apple,t6031-pinctrl", "apple,t8103-pinctrl"; 27 reg = <0x2 0xa01f0000 0x0 0x4000>; 28 power-domains = <&DIE_NODE(ps_nub_gpio)>; 29 30 gpio-controller; 31 #gpio-cells = <2>; 32 gpio-ranges = <&DIE_NODE(pinctrl_nub) 0 0 59>; 33 apple,npins = <59>; 34 35 interrupt-controller; 36 #interrupt-cells = <2>; 37 interrupt-parent = <&aic>; 38 interrupts = <AIC_IRQ DIE_NO 710 IRQ_TYPE_LEVEL_HIGH>, 39 <AIC_IRQ DIE_NO 711 IRQ_TYPE_LEVEL_HIGH>, 40 <AIC_IRQ DIE_NO 712 IRQ_TYPE_LEVEL_HIGH>, 41 <AIC_IRQ DIE_NO 713 IRQ_TYPE_LEVEL_HIGH>, 42 <AIC_IRQ DIE_NO 714 IRQ_TYPE_LEVEL_HIGH>, 43 <AIC_IRQ DIE_NO 715 IRQ_TYPE_LEVEL_HIGH>, 44 <AIC_IRQ DIE_NO 716 IRQ_TYPE_LEVEL_HIGH>; 45 }; 46 47 DIE_NODE(pmgr_mini): power-management@2a0280000 { 48 compatible = "apple,t6031-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; 49 #address-cells = <1>; 50 #size-cells = <1>; 51 52 reg = <0x2 0xa0280000 0 0x4000>; 53 }; 54 55 DIE_NODE(pinctrl_aop): pinctrl@2a8824000 { 56 compatible = "apple,t6031-pinctrl", "apple,t8103-pinctrl"; 57 reg = <0x2 0xa8824000 0x0 0x4000>; 58 59 gpio-controller; 60 #gpio-cells = <2>; 61 gpio-ranges = <&DIE_NODE(pinctrl_aop) 0 0 102>; 62 apple,npins = <102>; 63 64 interrupt-controller; 65 #interrupt-cells = <2>; 66 interrupt-parent = <&aic>; 67 interrupts = <AIC_IRQ DIE_NO 595 IRQ_TYPE_LEVEL_HIGH>, 68 <AIC_IRQ DIE_NO 596 IRQ_TYPE_LEVEL_HIGH>, 69 <AIC_IRQ DIE_NO 597 IRQ_TYPE_LEVEL_HIGH>, 70 <AIC_IRQ DIE_NO 598 IRQ_TYPE_LEVEL_HIGH>, 71 <AIC_IRQ DIE_NO 599 IRQ_TYPE_LEVEL_HIGH>, 72 <AIC_IRQ DIE_NO 600 IRQ_TYPE_LEVEL_HIGH>, 73 <AIC_IRQ DIE_NO 601 IRQ_TYPE_LEVEL_HIGH>; 74 }; 75 76 DIE_NODE(pinctrl_ap): pinctrl@2b3000000 { 77 compatible = "apple,t6031-pinctrl", "apple,t8103-pinctrl"; 78 reg = <0x2 0xb3000000 0x0 0x4000>; 79 80 interrupt-parent = <&aic>; 81 interrupts = <AIC_IRQ DIE_NO 458 IRQ_TYPE_LEVEL_HIGH>, 82 <AIC_IRQ DIE_NO 459 IRQ_TYPE_LEVEL_HIGH>, 83 <AIC_IRQ DIE_NO 460 IRQ_TYPE_LEVEL_HIGH>, 84 <AIC_IRQ DIE_NO 461 IRQ_TYPE_LEVEL_HIGH>, 85 <AIC_IRQ DIE_NO 462 IRQ_TYPE_LEVEL_HIGH>, 86 <AIC_IRQ DIE_NO 463 IRQ_TYPE_LEVEL_HIGH>, 87 <AIC_IRQ DIE_NO 464 IRQ_TYPE_LEVEL_HIGH>; 88 89 clocks = <&clkref>; 90 power-domains = <&DIE_NODE(ps_gpio)>; 91 92 gpio-controller; 93 #gpio-cells = <2>; 94 gpio-ranges = <&DIE_NODE(pinctrl_ap) 0 0 200>; 95 apple,npins = <200>; 96 97 interrupt-controller; 98 #interrupt-cells = <2>; 99 }; 100 101 DIE_NODE(pmgr_gfx): power-management@408e80000 { 102 compatible = "apple,t6031-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; 103 #address-cells = <1>; 104 #size-cells = <1>; 105 106 reg = <0x4 0x8e80000 0 0x4000>; 107 }; 108