1*724ba675SRob Herring/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */ 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 4*724ba675SRob Herring * Copyright (C) 2020 Ahmad Fatoum, Pengutronix 5*724ba675SRob Herring */ 6*724ba675SRob Herring 7*724ba675SRob Herring#include "stm32mp15-pinctrl.dtsi" 8*724ba675SRob Herring 9*724ba675SRob Herring#include <dt-bindings/mfd/st,stpmic1.h> 10*724ba675SRob Herring 11*724ba675SRob Herring/ { 12*724ba675SRob Herring reserved-memory { 13*724ba675SRob Herring #address-cells = <1>; 14*724ba675SRob Herring #size-cells = <1>; 15*724ba675SRob Herring ranges; 16*724ba675SRob Herring 17*724ba675SRob Herring mcuram2: mcuram2@10000000 { 18*724ba675SRob Herring compatible = "shared-dma-pool"; 19*724ba675SRob Herring reg = <0x10000000 0x40000>; 20*724ba675SRob Herring no-map; 21*724ba675SRob Herring }; 22*724ba675SRob Herring 23*724ba675SRob Herring vdev0vring0: vdev0vring0@10040000 { 24*724ba675SRob Herring compatible = "shared-dma-pool"; 25*724ba675SRob Herring reg = <0x10040000 0x1000>; 26*724ba675SRob Herring no-map; 27*724ba675SRob Herring }; 28*724ba675SRob Herring 29*724ba675SRob Herring vdev0vring1: vdev0vring1@10041000 { 30*724ba675SRob Herring compatible = "shared-dma-pool"; 31*724ba675SRob Herring reg = <0x10041000 0x1000>; 32*724ba675SRob Herring no-map; 33*724ba675SRob Herring }; 34*724ba675SRob Herring 35*724ba675SRob Herring vdev0buffer: vdev0buffer@10042000 { 36*724ba675SRob Herring compatible = "shared-dma-pool"; 37*724ba675SRob Herring reg = <0x10042000 0x4000>; 38*724ba675SRob Herring no-map; 39*724ba675SRob Herring }; 40*724ba675SRob Herring 41*724ba675SRob Herring mcuram: mcuram@30000000 { 42*724ba675SRob Herring compatible = "shared-dma-pool"; 43*724ba675SRob Herring reg = <0x30000000 0x40000>; 44*724ba675SRob Herring no-map; 45*724ba675SRob Herring }; 46*724ba675SRob Herring 47*724ba675SRob Herring retram: retram@38000000 { 48*724ba675SRob Herring compatible = "shared-dma-pool"; 49*724ba675SRob Herring reg = <0x38000000 0x10000>; 50*724ba675SRob Herring no-map; 51*724ba675SRob Herring }; 52*724ba675SRob Herring }; 53*724ba675SRob Herring}; 54*724ba675SRob Herring 55*724ba675SRob Herring&i2c4 { 56*724ba675SRob Herring pinctrl-names = "default", "sleep"; 57*724ba675SRob Herring pinctrl-0 = <&i2c4_pins_a>; 58*724ba675SRob Herring pinctrl-1 = <&i2c4_sleep_pins_a>; 59*724ba675SRob Herring clock-frequency = <400000>; 60*724ba675SRob Herring i2c-scl-rising-time-ns = <185>; 61*724ba675SRob Herring i2c-scl-falling-time-ns = <20>; 62*724ba675SRob Herring status = "okay"; 63*724ba675SRob Herring 64*724ba675SRob Herring pmic: stpmic@33 { 65*724ba675SRob Herring compatible = "st,stpmic1"; 66*724ba675SRob Herring reg = <0x33>; 67*724ba675SRob Herring interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>; 68*724ba675SRob Herring interrupt-controller; 69*724ba675SRob Herring #interrupt-cells = <2>; 70*724ba675SRob Herring 71*724ba675SRob Herring regulators { 72*724ba675SRob Herring compatible = "st,stpmic1-regulators"; 73*724ba675SRob Herring 74*724ba675SRob Herring ldo1-supply = <&v3v3>; 75*724ba675SRob Herring ldo3-supply = <&vdd_ddr>; 76*724ba675SRob Herring ldo6-supply = <&v3v3>; 77*724ba675SRob Herring pwr_sw1-supply = <&bst_out>; 78*724ba675SRob Herring 79*724ba675SRob Herring vddcore: buck1 { 80*724ba675SRob Herring regulator-name = "vddcore"; 81*724ba675SRob Herring regulator-min-microvolt = <1200000>; 82*724ba675SRob Herring regulator-max-microvolt = <1350000>; 83*724ba675SRob Herring regulator-always-on; 84*724ba675SRob Herring regulator-initial-mode = <0>; 85*724ba675SRob Herring regulator-over-current-protection; 86*724ba675SRob Herring }; 87*724ba675SRob Herring 88*724ba675SRob Herring vdd_ddr: buck2 { 89*724ba675SRob Herring regulator-name = "vdd_ddr"; 90*724ba675SRob Herring regulator-min-microvolt = <1350000>; 91*724ba675SRob Herring regulator-max-microvolt = <1350000>; 92*724ba675SRob Herring regulator-always-on; 93*724ba675SRob Herring regulator-initial-mode = <0>; 94*724ba675SRob Herring regulator-over-current-protection; 95*724ba675SRob Herring }; 96*724ba675SRob Herring 97*724ba675SRob Herring vdd: buck3 { 98*724ba675SRob Herring regulator-name = "vdd"; 99*724ba675SRob Herring regulator-min-microvolt = <3300000>; 100*724ba675SRob Herring regulator-max-microvolt = <3300000>; 101*724ba675SRob Herring regulator-always-on; 102*724ba675SRob Herring st,mask-reset; 103*724ba675SRob Herring regulator-initial-mode = <0>; 104*724ba675SRob Herring regulator-over-current-protection; 105*724ba675SRob Herring }; 106*724ba675SRob Herring 107*724ba675SRob Herring v3v3: buck4 { 108*724ba675SRob Herring regulator-name = "v3v3"; 109*724ba675SRob Herring regulator-min-microvolt = <3300000>; 110*724ba675SRob Herring regulator-max-microvolt = <3300000>; 111*724ba675SRob Herring regulator-always-on; 112*724ba675SRob Herring regulator-over-current-protection; 113*724ba675SRob Herring regulator-initial-mode = <0>; 114*724ba675SRob Herring }; 115*724ba675SRob Herring 116*724ba675SRob Herring v1v8_audio: ldo1 { 117*724ba675SRob Herring regulator-name = "v1v8_audio"; 118*724ba675SRob Herring regulator-min-microvolt = <1800000>; 119*724ba675SRob Herring regulator-max-microvolt = <1800000>; 120*724ba675SRob Herring regulator-always-on; 121*724ba675SRob Herring interrupts = <IT_CURLIM_LDO1 0>; 122*724ba675SRob Herring 123*724ba675SRob Herring }; 124*724ba675SRob Herring 125*724ba675SRob Herring v3v3_hdmi: ldo2 { 126*724ba675SRob Herring regulator-name = "v3v3_hdmi"; 127*724ba675SRob Herring regulator-min-microvolt = <3300000>; 128*724ba675SRob Herring regulator-max-microvolt = <3300000>; 129*724ba675SRob Herring regulator-always-on; 130*724ba675SRob Herring interrupts = <IT_CURLIM_LDO2 0>; 131*724ba675SRob Herring 132*724ba675SRob Herring }; 133*724ba675SRob Herring 134*724ba675SRob Herring vtt_ddr: ldo3 { 135*724ba675SRob Herring regulator-name = "vtt_ddr"; 136*724ba675SRob Herring regulator-min-microvolt = <500000>; 137*724ba675SRob Herring regulator-max-microvolt = <750000>; 138*724ba675SRob Herring regulator-always-on; 139*724ba675SRob Herring regulator-over-current-protection; 140*724ba675SRob Herring }; 141*724ba675SRob Herring 142*724ba675SRob Herring vdd_usb: ldo4 { 143*724ba675SRob Herring regulator-name = "vdd_usb"; 144*724ba675SRob Herring interrupts = <IT_CURLIM_LDO4 0>; 145*724ba675SRob Herring }; 146*724ba675SRob Herring 147*724ba675SRob Herring vdda: ldo5 { 148*724ba675SRob Herring regulator-name = "vdda"; 149*724ba675SRob Herring regulator-min-microvolt = <2900000>; 150*724ba675SRob Herring regulator-max-microvolt = <2900000>; 151*724ba675SRob Herring interrupts = <IT_CURLIM_LDO5 0>; 152*724ba675SRob Herring regulator-boot-on; 153*724ba675SRob Herring }; 154*724ba675SRob Herring 155*724ba675SRob Herring v1v2_hdmi: ldo6 { 156*724ba675SRob Herring regulator-name = "v1v2_hdmi"; 157*724ba675SRob Herring regulator-min-microvolt = <1200000>; 158*724ba675SRob Herring regulator-max-microvolt = <1200000>; 159*724ba675SRob Herring regulator-always-on; 160*724ba675SRob Herring interrupts = <IT_CURLIM_LDO6 0>; 161*724ba675SRob Herring 162*724ba675SRob Herring }; 163*724ba675SRob Herring 164*724ba675SRob Herring vref_ddr: vref_ddr { 165*724ba675SRob Herring regulator-name = "vref_ddr"; 166*724ba675SRob Herring regulator-always-on; 167*724ba675SRob Herring }; 168*724ba675SRob Herring 169*724ba675SRob Herring bst_out: boost { 170*724ba675SRob Herring regulator-name = "bst_out"; 171*724ba675SRob Herring interrupts = <IT_OCP_BOOST 0>; 172*724ba675SRob Herring }; 173*724ba675SRob Herring 174*724ba675SRob Herring vbus_otg: pwr_sw1 { 175*724ba675SRob Herring regulator-name = "vbus_otg"; 176*724ba675SRob Herring interrupts = <IT_OCP_OTG 0>; 177*724ba675SRob Herring regulator-active-discharge = <1>; 178*724ba675SRob Herring }; 179*724ba675SRob Herring 180*724ba675SRob Herring vbus_sw: pwr_sw2 { 181*724ba675SRob Herring regulator-name = "vbus_sw"; 182*724ba675SRob Herring interrupts = <IT_OCP_SWOUT 0>; 183*724ba675SRob Herring regulator-active-discharge = <1>; 184*724ba675SRob Herring }; 185*724ba675SRob Herring }; 186*724ba675SRob Herring 187*724ba675SRob Herring onkey { 188*724ba675SRob Herring compatible = "st,stpmic1-onkey"; 189*724ba675SRob Herring interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>; 190*724ba675SRob Herring interrupt-names = "onkey-falling", "onkey-rising"; 191*724ba675SRob Herring }; 192*724ba675SRob Herring 193*724ba675SRob Herring pmic_watchdog: watchdog { 194*724ba675SRob Herring compatible = "st,stpmic1-wdt"; 195*724ba675SRob Herring status = "disabled"; 196*724ba675SRob Herring }; 197*724ba675SRob Herring }; 198*724ba675SRob Herring 199*724ba675SRob Herring sip_eeprom: eeprom@50 { 200*724ba675SRob Herring compatible = "atmel,24c32"; 201*724ba675SRob Herring vcc-supply = <&vdd>; 202*724ba675SRob Herring reg = <0x50>; 203*724ba675SRob Herring }; 204*724ba675SRob Herring}; 205*724ba675SRob Herring 206*724ba675SRob Herring&ipcc { 207*724ba675SRob Herring status = "okay"; 208*724ba675SRob Herring}; 209*724ba675SRob Herring 210*724ba675SRob Herring&m4_rproc { 211*724ba675SRob Herring memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, 212*724ba675SRob Herring <&vdev0vring1>, <&vdev0buffer>; 213*724ba675SRob Herring mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>, <&ipcc 3>; 214*724ba675SRob Herring mbox-names = "vq0", "vq1", "shutdown", "detach"; 215*724ba675SRob Herring interrupt-parent = <&exti>; 216*724ba675SRob Herring interrupts = <68 1>; 217*724ba675SRob Herring status = "okay"; 218*724ba675SRob Herring}; 219*724ba675SRob Herring 220*724ba675SRob Herring&rng1 { 221*724ba675SRob Herring status = "okay"; 222*724ba675SRob Herring}; 223