1 /* SPDX-License-Identifier: (GPL-2.0-or-later 2 /* 3 * Copyright (C) 2020 STMicroelectronics - All 4 * Copyright (C) 2020 Ahmad Fatoum, Pengutroni 5 */ 6 7 #include "stm32mp15-pinctrl.dtsi" 8 9 #include <dt-bindings/mfd/st,stpmic1.h> 10 11 / { 12 reserved-memory { 13 #address-cells = <1>; 14 #size-cells = <1>; 15 ranges; 16 17 mcuram2: mcuram2@10000000 { 18 compatible = "shared-d 19 reg = <0x10000000 0x40 20 no-map; 21 }; 22 23 vdev0vring0: vdev0vring0@10040 24 compatible = "shared-d 25 reg = <0x10040000 0x10 26 no-map; 27 }; 28 29 vdev0vring1: vdev0vring1@10041 30 compatible = "shared-d 31 reg = <0x10041000 0x10 32 no-map; 33 }; 34 35 vdev0buffer: vdev0buffer@10042 36 compatible = "shared-d 37 reg = <0x10042000 0x40 38 no-map; 39 }; 40 41 mcuram: mcuram@30000000 { 42 compatible = "shared-d 43 reg = <0x30000000 0x40 44 no-map; 45 }; 46 47 retram: retram@38000000 { 48 compatible = "shared-d 49 reg = <0x38000000 0x10 50 no-map; 51 }; 52 }; 53 }; 54 55 &i2c4 { 56 pinctrl-names = "default", "sleep"; 57 pinctrl-0 = <&i2c4_pins_a>; 58 pinctrl-1 = <&i2c4_sleep_pins_a>; 59 clock-frequency = <400000>; 60 i2c-scl-rising-time-ns = <185>; 61 i2c-scl-falling-time-ns = <20>; 62 status = "okay"; 63 64 pmic: stpmic@33 { 65 compatible = "st,stpmic1"; 66 reg = <0x33>; 67 interrupts-extended = <&gpioa 68 interrupt-controller; 69 #interrupt-cells = <2>; 70 71 regulators { 72 compatible = "st,stpmi 73 74 ldo1-supply = <&v3v3>; 75 ldo3-supply = <&vdd_dd 76 ldo6-supply = <&v3v3>; 77 pwr_sw1-supply = <&bst 78 79 vddcore: buck1 { 80 regulator-name 81 regulator-min- 82 regulator-max- 83 regulator-alwa 84 regulator-init 85 regulator-over 86 }; 87 88 vdd_ddr: buck2 { 89 regulator-name 90 regulator-min- 91 regulator-max- 92 regulator-alwa 93 regulator-init 94 regulator-over 95 }; 96 97 vdd: buck3 { 98 regulator-name 99 regulator-min- 100 regulator-max- 101 regulator-alwa 102 st,mask-reset; 103 regulator-init 104 regulator-over 105 }; 106 107 v3v3: buck4 { 108 regulator-name 109 regulator-min- 110 regulator-max- 111 regulator-alwa 112 regulator-over 113 regulator-init 114 }; 115 116 v1v8_audio: ldo1 { 117 regulator-name 118 regulator-min- 119 regulator-max- 120 interrupts = < 121 }; 122 123 v3v3_hdmi: ldo2 { 124 regulator-name 125 regulator-min- 126 regulator-max- 127 interrupts = < 128 }; 129 130 vtt_ddr: ldo3 { 131 regulator-name 132 regulator-min- 133 regulator-max- 134 regulator-alwa 135 regulator-over 136 }; 137 138 vdd_usb: ldo4 { 139 regulator-name 140 interrupts = < 141 }; 142 143 vdda: ldo5 { 144 regulator-name 145 regulator-min- 146 regulator-max- 147 interrupts = < 148 regulator-boot 149 }; 150 151 v1v2_hdmi: ldo6 { 152 regulator-name 153 regulator-min- 154 regulator-max- 155 interrupts = < 156 }; 157 158 vref_ddr: vref_ddr { 159 regulator-name 160 regulator-alwa 161 }; 162 163 bst_out: boost { 164 regulator-name 165 interrupts = < 166 }; 167 168 vbus_otg: pwr_sw1 { 169 regulator-name 170 interrupts = < 171 regulator-acti 172 }; 173 174 vbus_sw: pwr_sw2 { 175 regulator-name 176 interrupts = < 177 regulator-acti 178 }; 179 }; 180 181 onkey { 182 compatible = "st,stpmi 183 interrupts = <IT_PONKE 184 interrupt-names = "onk 185 }; 186 187 pmic_watchdog: watchdog { 188 compatible = "st,stpmi 189 status = "disabled"; 190 }; 191 }; 192 193 sip_eeprom: eeprom@50 { 194 compatible = "atmel,24c32"; 195 vcc-supply = <&vdd>; 196 reg = <0x50>; 197 }; 198 }; 199 200 &ipcc { 201 status = "okay"; 202 }; 203 204 &m4_rproc { 205 memory-region = <&retram>, <&mcuram>, 206 <&vdev0vring1>, <&vdev 207 mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 208 mbox-names = "vq0", "vq1", "shutdown", 209 interrupt-parent = <&exti>; 210 interrupts = <68 1>; 211 status = "okay"; 212 }; 213 214 &rng1 { 215 status = "okay"; 216 }; 217 218 &pwr_regulators { 219 vdd-supply = <&vdd>; 220 vdd_3v3_usbfs-supply = <&vdd_usb>; 221 }; 222 223 &usbphyc_port0 { 224 phy-supply = <&vdd_usb>; 225 }; 226 227 &usbphyc_port1 { 228 phy-supply = <&vdd_usb>; 229 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.