1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * SC7180 IDP board device tree source 4c66ec88fSEmmanuel Vadot * 5c66ec88fSEmmanuel Vadot * Copyright (c) 2019, The Linux Foundation. All rights reserved. 6c66ec88fSEmmanuel Vadot */ 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadot/dts-v1/; 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 11c66ec88fSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 125956d97fSEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 13c66ec88fSEmmanuel Vadot#include "sc7180.dtsi" 14*aa1a8ff2SEmmanuel Vadot#include "sc7180-firmware-tfa.dtsi" 15c66ec88fSEmmanuel Vadot#include "pm6150.dtsi" 16c66ec88fSEmmanuel Vadot#include "pm6150l.dtsi" 17c66ec88fSEmmanuel Vadot 18c66ec88fSEmmanuel Vadot/ { 19c66ec88fSEmmanuel Vadot model = "Qualcomm Technologies, Inc. SC7180 IDP"; 20c66ec88fSEmmanuel Vadot compatible = "qcom,sc7180-idp", "qcom,sc7180"; 21c66ec88fSEmmanuel Vadot 22c66ec88fSEmmanuel Vadot aliases { 23c66ec88fSEmmanuel Vadot bluetooth0 = &bluetooth; 24c66ec88fSEmmanuel Vadot hsuart0 = &uart3; 25c66ec88fSEmmanuel Vadot serial0 = &uart8; 26c66ec88fSEmmanuel Vadot wifi0 = &wifi; 27c66ec88fSEmmanuel Vadot }; 28c66ec88fSEmmanuel Vadot 29c66ec88fSEmmanuel Vadot chosen { 30c66ec88fSEmmanuel Vadot stdout-path = "serial0:115200n8"; 31c66ec88fSEmmanuel Vadot }; 32c66ec88fSEmmanuel Vadot}; 33c66ec88fSEmmanuel Vadot 34c66ec88fSEmmanuel Vadot/* 35c66ec88fSEmmanuel Vadot * Reserved memory changes 36c66ec88fSEmmanuel Vadot * 37c66ec88fSEmmanuel Vadot * Delete all unused memory nodes and define the peripheral memory regions 38c66ec88fSEmmanuel Vadot * required by the board dts. 39c66ec88fSEmmanuel Vadot * 40c66ec88fSEmmanuel Vadot */ 41c66ec88fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadot/delete-node/ &hyp_mem; 43c66ec88fSEmmanuel Vadot/delete-node/ &xbl_mem; 44c66ec88fSEmmanuel Vadot/delete-node/ &aop_mem; 45c66ec88fSEmmanuel Vadot/delete-node/ &sec_apps_mem; 46c66ec88fSEmmanuel Vadot/delete-node/ &tz_mem; 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadot/* Increase the size from 2MB to 8MB */ 49c66ec88fSEmmanuel Vadot&rmtfs_mem { 505956d97fSEmmanuel Vadot reg = <0x0 0x94600000 0x0 0x800000>; 51c66ec88fSEmmanuel Vadot}; 52c66ec88fSEmmanuel Vadot 53c66ec88fSEmmanuel Vadot/ { 54c66ec88fSEmmanuel Vadot reserved-memory { 55c66ec88fSEmmanuel Vadot atf_mem: memory@80b00000 { 56c66ec88fSEmmanuel Vadot reg = <0x0 0x80b00000 0x0 0x100000>; 57c66ec88fSEmmanuel Vadot no-map; 58c66ec88fSEmmanuel Vadot }; 59c66ec88fSEmmanuel Vadot 60c66ec88fSEmmanuel Vadot mpss_mem: memory@86000000 { 61c66ec88fSEmmanuel Vadot reg = <0x0 0x86000000 0x0 0x8c00000>; 62c66ec88fSEmmanuel Vadot no-map; 63c66ec88fSEmmanuel Vadot }; 64c66ec88fSEmmanuel Vadot 65c66ec88fSEmmanuel Vadot camera_mem: memory@8ec00000 { 66c66ec88fSEmmanuel Vadot reg = <0x0 0x8ec00000 0x0 0x500000>; 67c66ec88fSEmmanuel Vadot no-map; 68c66ec88fSEmmanuel Vadot }; 69c66ec88fSEmmanuel Vadot 70c66ec88fSEmmanuel Vadot venus_mem: memory@8f600000 { 71c66ec88fSEmmanuel Vadot reg = <0 0x8f600000 0 0x500000>; 72c66ec88fSEmmanuel Vadot no-map; 73c66ec88fSEmmanuel Vadot }; 74c66ec88fSEmmanuel Vadot 75c66ec88fSEmmanuel Vadot wlan_mem: memory@94100000 { 76c66ec88fSEmmanuel Vadot reg = <0x0 0x94100000 0x0 0x200000>; 77c66ec88fSEmmanuel Vadot no-map; 78c66ec88fSEmmanuel Vadot }; 79c66ec88fSEmmanuel Vadot 80c66ec88fSEmmanuel Vadot mba_mem: memory@94400000 { 81c66ec88fSEmmanuel Vadot reg = <0x0 0x94400000 0x0 0x200000>; 82c66ec88fSEmmanuel Vadot no-map; 83c66ec88fSEmmanuel Vadot }; 84cb7aa33aSEmmanuel Vadot 85cb7aa33aSEmmanuel Vadot mdata_mem: mpss-metadata { 86cb7aa33aSEmmanuel Vadot alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>; 87cb7aa33aSEmmanuel Vadot size = <0x0 0x4000>; 88cb7aa33aSEmmanuel Vadot no-map; 89cb7aa33aSEmmanuel Vadot }; 90c66ec88fSEmmanuel Vadot }; 91c66ec88fSEmmanuel Vadot}; 92c66ec88fSEmmanuel Vadot 93c66ec88fSEmmanuel Vadot&apps_rsc { 94cb7aa33aSEmmanuel Vadot regulators-0 { 95c66ec88fSEmmanuel Vadot compatible = "qcom,pm6150-rpmh-regulators"; 96c66ec88fSEmmanuel Vadot qcom,pmic-id = "a"; 97c66ec88fSEmmanuel Vadot 98c66ec88fSEmmanuel Vadot vreg_s1a_1p1: smps1 { 99c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1128000>; 100c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1128000>; 101c66ec88fSEmmanuel Vadot }; 102c66ec88fSEmmanuel Vadot 103c66ec88fSEmmanuel Vadot vreg_s4a_1p0: smps4 { 104c66ec88fSEmmanuel Vadot regulator-min-microvolt = <824000>; 105c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1120000>; 106c66ec88fSEmmanuel Vadot }; 107c66ec88fSEmmanuel Vadot 108c66ec88fSEmmanuel Vadot vreg_s5a_2p0: smps5 { 109c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1744000>; 110c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2040000>; 111c66ec88fSEmmanuel Vadot }; 112c66ec88fSEmmanuel Vadot 113c66ec88fSEmmanuel Vadot vreg_l1a_1p2: ldo1 { 114c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1178000>; 115c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1256000>; 116c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 117c66ec88fSEmmanuel Vadot }; 118c66ec88fSEmmanuel Vadot 119c66ec88fSEmmanuel Vadot vreg_l2a_1p0: ldo2 { 120c66ec88fSEmmanuel Vadot regulator-min-microvolt = <944000>; 121c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1056000>; 122c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 123c66ec88fSEmmanuel Vadot }; 124c66ec88fSEmmanuel Vadot 125c66ec88fSEmmanuel Vadot vreg_l3a_1p0: ldo3 { 126c66ec88fSEmmanuel Vadot regulator-min-microvolt = <968000>; 127c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1064000>; 128c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 129c66ec88fSEmmanuel Vadot }; 130c66ec88fSEmmanuel Vadot 131c66ec88fSEmmanuel Vadot vreg_l4a_0p8: ldo4 { 132c66ec88fSEmmanuel Vadot regulator-min-microvolt = <824000>; 133c66ec88fSEmmanuel Vadot regulator-max-microvolt = <928000>; 134c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 135c66ec88fSEmmanuel Vadot }; 136c66ec88fSEmmanuel Vadot 137c66ec88fSEmmanuel Vadot vreg_l5a_2p7: ldo5 { 138c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2496000>; 139c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3000000>; 140c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 141c66ec88fSEmmanuel Vadot }; 142c66ec88fSEmmanuel Vadot 143c66ec88fSEmmanuel Vadot vreg_l6a_0p6: ldo6 { 144c66ec88fSEmmanuel Vadot regulator-min-microvolt = <568000>; 145c66ec88fSEmmanuel Vadot regulator-max-microvolt = <648000>; 146c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 147c66ec88fSEmmanuel Vadot }; 148c66ec88fSEmmanuel Vadot 149c66ec88fSEmmanuel Vadot vreg_l9a_0p6: ldo9 { 150c66ec88fSEmmanuel Vadot regulator-min-microvolt = <488000>; 151c66ec88fSEmmanuel Vadot regulator-max-microvolt = <800000>; 152c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 153c66ec88fSEmmanuel Vadot }; 154c66ec88fSEmmanuel Vadot 155c66ec88fSEmmanuel Vadot vreg_l10a_1p8: ldo10 { 156c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 157c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1832000>; 158c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 159c66ec88fSEmmanuel Vadot }; 160c66ec88fSEmmanuel Vadot 161c66ec88fSEmmanuel Vadot vreg_l11a_1p8: ldo11 { 162c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1696000>; 163c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1904000>; 164c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 165c66ec88fSEmmanuel Vadot }; 166c66ec88fSEmmanuel Vadot 167c66ec88fSEmmanuel Vadot vreg_l12a_1p8: ldo12 { 168c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 169c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 170c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 171c66ec88fSEmmanuel Vadot }; 172c66ec88fSEmmanuel Vadot 173c66ec88fSEmmanuel Vadot vreg_l13a_1p8: ldo13 { 174c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1696000>; 175c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1904000>; 176c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 177c66ec88fSEmmanuel Vadot }; 178c66ec88fSEmmanuel Vadot 179c66ec88fSEmmanuel Vadot vreg_l14a_1p8: ldo14 { 180c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1728000>; 181c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1832000>; 182c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 183c66ec88fSEmmanuel Vadot }; 184c66ec88fSEmmanuel Vadot 185c66ec88fSEmmanuel Vadot vreg_l15a_1p8: ldo15 { 186c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1696000>; 187c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1904000>; 188c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 189c66ec88fSEmmanuel Vadot }; 190c66ec88fSEmmanuel Vadot 191c66ec88fSEmmanuel Vadot vreg_l16a_2p7: ldo16 { 192c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2496000>; 193c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3304000>; 194c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 195c66ec88fSEmmanuel Vadot }; 196c66ec88fSEmmanuel Vadot 197c66ec88fSEmmanuel Vadot vreg_l17a_3p0: ldo17 { 198c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2920000>; 199c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3232000>; 200c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 201c66ec88fSEmmanuel Vadot }; 202c66ec88fSEmmanuel Vadot 203c66ec88fSEmmanuel Vadot vreg_l18a_2p8: ldo18 { 204c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2496000>; 205c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3304000>; 206c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 207c66ec88fSEmmanuel Vadot }; 208c66ec88fSEmmanuel Vadot 209c66ec88fSEmmanuel Vadot vreg_l19a_2p9: ldo19 { 210c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2960000>; 211c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2960000>; 212c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 213c66ec88fSEmmanuel Vadot }; 214c66ec88fSEmmanuel Vadot }; 215c66ec88fSEmmanuel Vadot 216cb7aa33aSEmmanuel Vadot regulators-1 { 217c66ec88fSEmmanuel Vadot compatible = "qcom,pm6150l-rpmh-regulators"; 218c66ec88fSEmmanuel Vadot qcom,pmic-id = "c"; 219c66ec88fSEmmanuel Vadot 220c66ec88fSEmmanuel Vadot vreg_s8c_1p3: smps8 { 221c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1120000>; 222c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1408000>; 223c66ec88fSEmmanuel Vadot }; 224c66ec88fSEmmanuel Vadot 225c66ec88fSEmmanuel Vadot vreg_l1c_1p8: ldo1 { 226c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1616000>; 227c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1984000>; 228c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 229c66ec88fSEmmanuel Vadot }; 230c66ec88fSEmmanuel Vadot 231c66ec88fSEmmanuel Vadot vreg_l2c_1p3: ldo2 { 232c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1168000>; 233c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1304000>; 234c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 235c66ec88fSEmmanuel Vadot }; 236c66ec88fSEmmanuel Vadot 237c66ec88fSEmmanuel Vadot vreg_l3c_1p2: ldo3 { 238c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1144000>; 239c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1304000>; 240c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 241c66ec88fSEmmanuel Vadot }; 242c66ec88fSEmmanuel Vadot 243c66ec88fSEmmanuel Vadot vreg_l4c_1p8: ldo4 { 244c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1648000>; 245c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3304000>; 246c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 247c66ec88fSEmmanuel Vadot }; 248c66ec88fSEmmanuel Vadot 249c66ec88fSEmmanuel Vadot vreg_l5c_1p8: ldo5 { 250c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1648000>; 251c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3304000>; 252c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 253c66ec88fSEmmanuel Vadot }; 254c66ec88fSEmmanuel Vadot 255c66ec88fSEmmanuel Vadot vreg_l6c_2p9: ldo6 { 256c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 257c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2950000>; 258c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 259c66ec88fSEmmanuel Vadot }; 260c66ec88fSEmmanuel Vadot 261c66ec88fSEmmanuel Vadot vreg_l7c_3p0: ldo7 { 262c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3000000>; 263c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3312000>; 264c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 265c66ec88fSEmmanuel Vadot }; 266c66ec88fSEmmanuel Vadot 267c66ec88fSEmmanuel Vadot vreg_l8c_1p8: ldo8 { 268c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 269c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1904000>; 270c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 271c66ec88fSEmmanuel Vadot }; 272c66ec88fSEmmanuel Vadot 273c66ec88fSEmmanuel Vadot vreg_l9c_2p9: ldo9 { 274c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2960000>; 275c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2960000>; 276c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 277c66ec88fSEmmanuel Vadot }; 278c66ec88fSEmmanuel Vadot 279c66ec88fSEmmanuel Vadot vreg_l10c_3p3: ldo10 { 280c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3000000>; 281c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3400000>; 282c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 283c66ec88fSEmmanuel Vadot }; 284c66ec88fSEmmanuel Vadot 285c66ec88fSEmmanuel Vadot vreg_l11c_3p3: ldo11 { 286c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3000000>; 287c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3400000>; 288c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 289c66ec88fSEmmanuel Vadot }; 290c66ec88fSEmmanuel Vadot 291c66ec88fSEmmanuel Vadot vreg_bob: bob { 292c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3008000>; 293c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3960000>; 294c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 295c66ec88fSEmmanuel Vadot }; 296c66ec88fSEmmanuel Vadot }; 297c66ec88fSEmmanuel Vadot}; 298c66ec88fSEmmanuel Vadot 299f126890aSEmmanuel Vadot&mdss { 300f126890aSEmmanuel Vadot status = "okay"; 301f126890aSEmmanuel Vadot}; 302f126890aSEmmanuel Vadot 303f126890aSEmmanuel Vadot&mdss_dsi0 { 3045956d97fSEmmanuel Vadot status = "okay"; 3055956d97fSEmmanuel Vadot 3065956d97fSEmmanuel Vadot vdda-supply = <&vreg_l3c_1p2>; 3075956d97fSEmmanuel Vadot 3085956d97fSEmmanuel Vadot panel@0 { 3095956d97fSEmmanuel Vadot compatible = "visionox,rm69299-1080p-display"; 3105956d97fSEmmanuel Vadot reg = <0>; 3115956d97fSEmmanuel Vadot 3125956d97fSEmmanuel Vadot vdda-supply = <&vreg_l8c_1p8>; 3135956d97fSEmmanuel Vadot vdd3p3-supply = <&vreg_l18a_2p8>; 3145956d97fSEmmanuel Vadot 3155956d97fSEmmanuel Vadot pinctrl-names = "default"; 3165956d97fSEmmanuel Vadot pinctrl-0 = <&disp_pins>; 3175956d97fSEmmanuel Vadot 318cb7aa33aSEmmanuel Vadot reset-gpios = <&pm6150l_gpios 3 GPIO_ACTIVE_HIGH>; 3195956d97fSEmmanuel Vadot 320fac71e4eSEmmanuel Vadot port { 3215956d97fSEmmanuel Vadot panel0_in: endpoint { 322f126890aSEmmanuel Vadot remote-endpoint = <&mdss_dsi0_out>; 3235956d97fSEmmanuel Vadot }; 3245956d97fSEmmanuel Vadot }; 3255956d97fSEmmanuel Vadot }; 3265956d97fSEmmanuel Vadot 3275956d97fSEmmanuel Vadot ports { 3285956d97fSEmmanuel Vadot port@1 { 3295956d97fSEmmanuel Vadot endpoint { 3305956d97fSEmmanuel Vadot remote-endpoint = <&panel0_in>; 3315956d97fSEmmanuel Vadot data-lanes = <0 1 2 3>; 3325956d97fSEmmanuel Vadot }; 3335956d97fSEmmanuel Vadot }; 3345956d97fSEmmanuel Vadot }; 3355956d97fSEmmanuel Vadot}; 3365956d97fSEmmanuel Vadot 337f126890aSEmmanuel Vadot&mdss_dsi0_phy { 3385956d97fSEmmanuel Vadot status = "okay"; 339b97ee269SEmmanuel Vadot vdds-supply = <&vreg_l4a_0p8>; 3405956d97fSEmmanuel Vadot}; 3415956d97fSEmmanuel Vadot 342c66ec88fSEmmanuel Vadot&qfprom { 343c66ec88fSEmmanuel Vadot vcc-supply = <&vreg_l11a_1p8>; 344c66ec88fSEmmanuel Vadot}; 345c66ec88fSEmmanuel Vadot 346c66ec88fSEmmanuel Vadot&qspi { 347c66ec88fSEmmanuel Vadot status = "okay"; 348c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 349fac71e4eSEmmanuel Vadot pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data0>, <&qspi_data1>; 350c66ec88fSEmmanuel Vadot 351c66ec88fSEmmanuel Vadot flash@0 { 352c66ec88fSEmmanuel Vadot compatible = "jedec,spi-nor"; 353c66ec88fSEmmanuel Vadot reg = <0>; 354c66ec88fSEmmanuel Vadot spi-max-frequency = <25000000>; 355c66ec88fSEmmanuel Vadot spi-tx-bus-width = <2>; 356c66ec88fSEmmanuel Vadot spi-rx-bus-width = <2>; 357c66ec88fSEmmanuel Vadot }; 358c66ec88fSEmmanuel Vadot}; 359c66ec88fSEmmanuel Vadot 360c66ec88fSEmmanuel Vadot&qupv3_id_0 { 361c66ec88fSEmmanuel Vadot status = "okay"; 362c66ec88fSEmmanuel Vadot}; 363c66ec88fSEmmanuel Vadot 364c66ec88fSEmmanuel Vadot&qupv3_id_1 { 365c66ec88fSEmmanuel Vadot status = "okay"; 366c66ec88fSEmmanuel Vadot}; 367c66ec88fSEmmanuel Vadot 368c66ec88fSEmmanuel Vadot&remoteproc_mpss { 369c66ec88fSEmmanuel Vadot status = "okay"; 370c66ec88fSEmmanuel Vadot compatible = "qcom,sc7180-mss-pil"; 371cb7aa33aSEmmanuel Vadot reg = <0 0x04080000 0 0x4040>, <0 0x04180000 0 0x48>; 372cb7aa33aSEmmanuel Vadot reg-names = "qdsp6", "rmb"; 373cb7aa33aSEmmanuel Vadot 374cb7aa33aSEmmanuel Vadot clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, 375cb7aa33aSEmmanuel Vadot <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>, 376cb7aa33aSEmmanuel Vadot <&gcc GCC_MSS_NAV_AXI_CLK>, 377cb7aa33aSEmmanuel Vadot <&gcc GCC_MSS_SNOC_AXI_CLK>, 378cb7aa33aSEmmanuel Vadot <&gcc GCC_MSS_MFAB_AXIS_CLK>, 379cb7aa33aSEmmanuel Vadot <&rpmhcc RPMH_CXO_CLK>; 380cb7aa33aSEmmanuel Vadot clock-names = "iface", "bus", "nav", "snoc_axi", "mnoc_axi", "xo"; 381cb7aa33aSEmmanuel Vadot 382c66ec88fSEmmanuel Vadot iommus = <&apps_smmu 0x461 0x0>, <&apps_smmu 0x444 0x3>; 383cb7aa33aSEmmanuel Vadot memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>; 384cb7aa33aSEmmanuel Vadot 385cb7aa33aSEmmanuel Vadot resets = <&aoss_reset AOSS_CC_MSS_RESTART>, 386cb7aa33aSEmmanuel Vadot <&pdc_reset PDC_MODEM_SYNC_RESET>; 387cb7aa33aSEmmanuel Vadot reset-names = "mss_restart", "pdc_reset"; 388cb7aa33aSEmmanuel Vadot 389cb7aa33aSEmmanuel Vadot qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>; 390cb7aa33aSEmmanuel Vadot qcom,spare-regs = <&tcsr_regs_2 0xb3e4>; 391c66ec88fSEmmanuel Vadot}; 392c66ec88fSEmmanuel Vadot 393fac71e4eSEmmanuel Vadot&scm { 394fac71e4eSEmmanuel Vadot /* TF-A firmware maps memory cached so mark dma-coherent to match. */ 395fac71e4eSEmmanuel Vadot dma-coherent; 396fac71e4eSEmmanuel Vadot}; 397fac71e4eSEmmanuel Vadot 398c66ec88fSEmmanuel Vadot&sdhc_1 { 399c66ec88fSEmmanuel Vadot status = "okay"; 400c66ec88fSEmmanuel Vadot 401c66ec88fSEmmanuel Vadot pinctrl-names = "default", "sleep"; 402c66ec88fSEmmanuel Vadot pinctrl-0 = <&sdc1_on>; 403c66ec88fSEmmanuel Vadot pinctrl-1 = <&sdc1_off>; 404c66ec88fSEmmanuel Vadot vmmc-supply = <&vreg_l19a_2p9>; 405c66ec88fSEmmanuel Vadot vqmmc-supply = <&vreg_l12a_1p8>; 406c66ec88fSEmmanuel Vadot}; 407c66ec88fSEmmanuel Vadot 408c66ec88fSEmmanuel Vadot&sdhc_2 { 409c66ec88fSEmmanuel Vadot status = "okay"; 410c66ec88fSEmmanuel Vadot 411c66ec88fSEmmanuel Vadot pinctrl-names = "default","sleep"; 412c66ec88fSEmmanuel Vadot pinctrl-0 = <&sdc2_on>; 413c66ec88fSEmmanuel Vadot pinctrl-1 = <&sdc2_off>; 414c66ec88fSEmmanuel Vadot vmmc-supply = <&vreg_l9c_2p9>; 415c66ec88fSEmmanuel Vadot vqmmc-supply = <&vreg_l6c_2p9>; 416c66ec88fSEmmanuel Vadot 417c66ec88fSEmmanuel Vadot cd-gpios = <&tlmm 69 GPIO_ACTIVE_LOW>; 418c66ec88fSEmmanuel Vadot}; 419c66ec88fSEmmanuel Vadot 420c66ec88fSEmmanuel Vadot&uart3 { 421c66ec88fSEmmanuel Vadot status = "okay"; 422c66ec88fSEmmanuel Vadot 4236be33864SEmmanuel Vadot /delete-property/interrupts; 4246be33864SEmmanuel Vadot interrupts-extended = <&intc GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>, 4256be33864SEmmanuel Vadot <&tlmm 41 IRQ_TYPE_EDGE_FALLING>; 4266be33864SEmmanuel Vadot 4276be33864SEmmanuel Vadot pinctrl-names = "default", "sleep"; 4286be33864SEmmanuel Vadot pinctrl-1 = <&qup_uart3_sleep>; 4296be33864SEmmanuel Vadot 430cb7aa33aSEmmanuel Vadot bluetooth: bluetooth { 431c66ec88fSEmmanuel Vadot compatible = "qcom,wcn3990-bt"; 432c66ec88fSEmmanuel Vadot vddio-supply = <&vreg_l10a_1p8>; 433c66ec88fSEmmanuel Vadot vddxo-supply = <&vreg_l1c_1p8>; 434c66ec88fSEmmanuel Vadot vddrf-supply = <&vreg_l2c_1p3>; 435c66ec88fSEmmanuel Vadot vddch0-supply = <&vreg_l10c_3p3>; 436c66ec88fSEmmanuel Vadot max-speed = <3200000>; 437c66ec88fSEmmanuel Vadot }; 438c66ec88fSEmmanuel Vadot}; 439c66ec88fSEmmanuel Vadot 440c66ec88fSEmmanuel Vadot&uart8 { 441c66ec88fSEmmanuel Vadot status = "okay"; 442c66ec88fSEmmanuel Vadot}; 443c66ec88fSEmmanuel Vadot 444c66ec88fSEmmanuel Vadot&usb_1 { 445c66ec88fSEmmanuel Vadot status = "okay"; 446c66ec88fSEmmanuel Vadot}; 447c66ec88fSEmmanuel Vadot 448c66ec88fSEmmanuel Vadot&usb_1_dwc3 { 449c66ec88fSEmmanuel Vadot dr_mode = "host"; 450c66ec88fSEmmanuel Vadot}; 451c66ec88fSEmmanuel Vadot 452c66ec88fSEmmanuel Vadot&usb_1_hsphy { 453c66ec88fSEmmanuel Vadot status = "okay"; 454c66ec88fSEmmanuel Vadot vdd-supply = <&vreg_l4a_0p8>; 455c66ec88fSEmmanuel Vadot vdda-pll-supply = <&vreg_l11a_1p8>; 456c66ec88fSEmmanuel Vadot vdda-phy-dpdm-supply = <&vreg_l17a_3p0>; 457c66ec88fSEmmanuel Vadot qcom,imp-res-offset-value = <8>; 458c66ec88fSEmmanuel Vadot qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_15_PERCENT>; 459c66ec88fSEmmanuel Vadot qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>; 460c66ec88fSEmmanuel Vadot qcom,bias-ctrl-value = <0x22>; 461c66ec88fSEmmanuel Vadot qcom,charge-ctrl-value = <3>; 462c66ec88fSEmmanuel Vadot qcom,hsdisc-trim-value = <0>; 463c66ec88fSEmmanuel Vadot}; 464c66ec88fSEmmanuel Vadot 465c66ec88fSEmmanuel Vadot&usb_1_qmpphy { 466c66ec88fSEmmanuel Vadot status = "okay"; 467c66ec88fSEmmanuel Vadot vdda-phy-supply = <&vreg_l3c_1p2>; 468c66ec88fSEmmanuel Vadot vdda-pll-supply = <&vreg_l4a_0p8>; 469c66ec88fSEmmanuel Vadot}; 470c66ec88fSEmmanuel Vadot 471c66ec88fSEmmanuel Vadot&venus { 472c66ec88fSEmmanuel Vadot video-firmware { 473c66ec88fSEmmanuel Vadot iommus = <&apps_smmu 0x0c42 0x0>; 474c66ec88fSEmmanuel Vadot }; 475c66ec88fSEmmanuel Vadot}; 476c66ec88fSEmmanuel Vadot 477c66ec88fSEmmanuel Vadot&wifi { 478c66ec88fSEmmanuel Vadot status = "okay"; 479c66ec88fSEmmanuel Vadot vdd-0.8-cx-mx-supply = <&vreg_l9a_0p6>; 480c66ec88fSEmmanuel Vadot vdd-1.8-xo-supply = <&vreg_l1c_1p8>; 481c66ec88fSEmmanuel Vadot vdd-1.3-rfa-supply = <&vreg_l2c_1p3>; 482c66ec88fSEmmanuel Vadot vdd-3.3-ch0-supply = <&vreg_l10c_3p3>; 483c66ec88fSEmmanuel Vadot vdd-3.3-ch1-supply = <&vreg_l11c_3p3>; 484c66ec88fSEmmanuel Vadot wifi-firmware { 485c66ec88fSEmmanuel Vadot iommus = <&apps_smmu 0xc2 0x1>; 486c66ec88fSEmmanuel Vadot }; 487c66ec88fSEmmanuel Vadot}; 488c66ec88fSEmmanuel Vadot 489c66ec88fSEmmanuel Vadot/* PINCTRL - additions to nodes defined in sc7180.dtsi */ 490c66ec88fSEmmanuel Vadot 491cb7aa33aSEmmanuel Vadot&pm6150l_gpios { 492b97ee269SEmmanuel Vadot disp_pins: disp-state { 4935956d97fSEmmanuel Vadot pinconf { 4945956d97fSEmmanuel Vadot pins = "gpio3"; 4955956d97fSEmmanuel Vadot function = PMIC_GPIO_FUNC_FUNC1; 4965956d97fSEmmanuel Vadot qcom,drive-strength = <PMIC_GPIO_STRENGTH_MED>; 4975956d97fSEmmanuel Vadot power-source = <0>; 4985956d97fSEmmanuel Vadot bias-disable; 4995956d97fSEmmanuel Vadot output-low; 5005956d97fSEmmanuel Vadot }; 5015956d97fSEmmanuel Vadot }; 5025956d97fSEmmanuel Vadot}; 5035956d97fSEmmanuel Vadot 504c66ec88fSEmmanuel Vadot&qspi_clk { 505c66ec88fSEmmanuel Vadot bias-disable; 506c66ec88fSEmmanuel Vadot}; 507c66ec88fSEmmanuel Vadot 508c66ec88fSEmmanuel Vadot&qspi_cs0 { 509c66ec88fSEmmanuel Vadot bias-disable; 510c66ec88fSEmmanuel Vadot}; 511c66ec88fSEmmanuel Vadot 512fac71e4eSEmmanuel Vadot&qspi_data0 { 513fac71e4eSEmmanuel Vadot bias-pull-up; 514fac71e4eSEmmanuel Vadot}; 515fac71e4eSEmmanuel Vadot 516fac71e4eSEmmanuel Vadot&qspi_data1 { 517c66ec88fSEmmanuel Vadot bias-pull-up; 518c66ec88fSEmmanuel Vadot}; 519c66ec88fSEmmanuel Vadot 520c66ec88fSEmmanuel Vadot&qup_i2c2_default { 521c66ec88fSEmmanuel Vadot drive-strength = <2>; 522c66ec88fSEmmanuel Vadot 523c66ec88fSEmmanuel Vadot /* Has external pullup */ 524c66ec88fSEmmanuel Vadot bias-disable; 525c66ec88fSEmmanuel Vadot}; 526c66ec88fSEmmanuel Vadot 527c66ec88fSEmmanuel Vadot&qup_i2c4_default { 528c66ec88fSEmmanuel Vadot drive-strength = <2>; 529c66ec88fSEmmanuel Vadot 530c66ec88fSEmmanuel Vadot /* Has external pullup */ 531c66ec88fSEmmanuel Vadot bias-disable; 532c66ec88fSEmmanuel Vadot}; 533c66ec88fSEmmanuel Vadot 534c66ec88fSEmmanuel Vadot&qup_i2c7_default { 535c66ec88fSEmmanuel Vadot drive-strength = <2>; 536c66ec88fSEmmanuel Vadot 537c66ec88fSEmmanuel Vadot /* Has external pullup */ 538c66ec88fSEmmanuel Vadot bias-disable; 539c66ec88fSEmmanuel Vadot}; 540c66ec88fSEmmanuel Vadot 541c66ec88fSEmmanuel Vadot&qup_i2c9_default { 542c66ec88fSEmmanuel Vadot drive-strength = <2>; 543c66ec88fSEmmanuel Vadot 544c66ec88fSEmmanuel Vadot /* Has external pullup */ 545c66ec88fSEmmanuel Vadot bias-disable; 546c66ec88fSEmmanuel Vadot}; 547c66ec88fSEmmanuel Vadot 5488bab661aSEmmanuel Vadot&qup_uart3_cts { 549c66ec88fSEmmanuel Vadot /* 5506be33864SEmmanuel Vadot * Configure a pull-down on CTS to match the pull of 551c66ec88fSEmmanuel Vadot * the Bluetooth module. 552c66ec88fSEmmanuel Vadot */ 553c66ec88fSEmmanuel Vadot bias-pull-down; 554c66ec88fSEmmanuel Vadot}; 555c66ec88fSEmmanuel Vadot 5568bab661aSEmmanuel Vadot&qup_uart3_rts { 5576be33864SEmmanuel Vadot /* We'll drive RTS, so no pull */ 558c66ec88fSEmmanuel Vadot drive-strength = <2>; 559c66ec88fSEmmanuel Vadot bias-disable; 560c66ec88fSEmmanuel Vadot}; 561c66ec88fSEmmanuel Vadot 5628bab661aSEmmanuel Vadot&qup_uart3_tx { 5636be33864SEmmanuel Vadot /* We'll drive TX, so no pull */ 564c66ec88fSEmmanuel Vadot drive-strength = <2>; 565c66ec88fSEmmanuel Vadot bias-disable; 566c66ec88fSEmmanuel Vadot}; 567c66ec88fSEmmanuel Vadot 5688bab661aSEmmanuel Vadot&qup_uart3_rx { 569c66ec88fSEmmanuel Vadot /* 5706be33864SEmmanuel Vadot * Configure a pull-up on RX. This is needed to avoid 571c66ec88fSEmmanuel Vadot * garbage data when the TX pin of the Bluetooth module is 572c66ec88fSEmmanuel Vadot * in tri-state (module powered off or not driving the 573c66ec88fSEmmanuel Vadot * signal yet). 574c66ec88fSEmmanuel Vadot */ 575c66ec88fSEmmanuel Vadot bias-pull-up; 576c66ec88fSEmmanuel Vadot}; 577c66ec88fSEmmanuel Vadot 5788bab661aSEmmanuel Vadot&qup_uart8_tx { 579c66ec88fSEmmanuel Vadot drive-strength = <2>; 580c66ec88fSEmmanuel Vadot bias-disable; 581c66ec88fSEmmanuel Vadot}; 582c66ec88fSEmmanuel Vadot 5838bab661aSEmmanuel Vadot&qup_uart8_rx { 584c66ec88fSEmmanuel Vadot drive-strength = <2>; 585c66ec88fSEmmanuel Vadot bias-pull-up; 586c66ec88fSEmmanuel Vadot}; 587c66ec88fSEmmanuel Vadot 5888bab661aSEmmanuel Vadot&qup_spi0_spi { 589c66ec88fSEmmanuel Vadot drive-strength = <2>; 590c66ec88fSEmmanuel Vadot bias-disable; 591c66ec88fSEmmanuel Vadot}; 592c66ec88fSEmmanuel Vadot 5938bab661aSEmmanuel Vadot&qup_spi0_cs { 594c66ec88fSEmmanuel Vadot drive-strength = <2>; 595c66ec88fSEmmanuel Vadot bias-disable; 596c66ec88fSEmmanuel Vadot}; 597c66ec88fSEmmanuel Vadot 5988bab661aSEmmanuel Vadot&qup_spi6_spi { 599c66ec88fSEmmanuel Vadot drive-strength = <2>; 600c66ec88fSEmmanuel Vadot bias-disable; 601c66ec88fSEmmanuel Vadot}; 6028bab661aSEmmanuel Vadot 6038bab661aSEmmanuel Vadot&qup_spi6_cs { 6048bab661aSEmmanuel Vadot drive-strength = <2>; 6058bab661aSEmmanuel Vadot bias-disable; 6068bab661aSEmmanuel Vadot}; 6078bab661aSEmmanuel Vadot 6088bab661aSEmmanuel Vadot&qup_spi10_spi { 6098bab661aSEmmanuel Vadot drive-strength = <2>; 6108bab661aSEmmanuel Vadot bias-disable; 6118bab661aSEmmanuel Vadot}; 6128bab661aSEmmanuel Vadot 6138bab661aSEmmanuel Vadot&qup_spi10_cs { 6148bab661aSEmmanuel Vadot drive-strength = <2>; 6158bab661aSEmmanuel Vadot bias-disable; 616c66ec88fSEmmanuel Vadot}; 617c66ec88fSEmmanuel Vadot 6186be33864SEmmanuel Vadot&tlmm { 6198bab661aSEmmanuel Vadot qup_uart3_sleep: qup-uart3-sleep-state { 6208bab661aSEmmanuel Vadot cts-pins { 6216be33864SEmmanuel Vadot /* 6226be33864SEmmanuel Vadot * Configure a pull-down on CTS to match the pull of 6236be33864SEmmanuel Vadot * the Bluetooth module. 6246be33864SEmmanuel Vadot */ 6256be33864SEmmanuel Vadot pins = "gpio38"; 6268bab661aSEmmanuel Vadot function = "gpio"; 6276be33864SEmmanuel Vadot bias-pull-down; 6286be33864SEmmanuel Vadot }; 6296be33864SEmmanuel Vadot 6308bab661aSEmmanuel Vadot rts-pins { 6316be33864SEmmanuel Vadot /* 6326be33864SEmmanuel Vadot * Configure pull-down on RTS. As RTS is active low 6336be33864SEmmanuel Vadot * signal, pull it low to indicate the BT SoC that it 6346be33864SEmmanuel Vadot * can wakeup the system anytime from suspend state by 6356be33864SEmmanuel Vadot * pulling RX low (by sending wakeup bytes). 6366be33864SEmmanuel Vadot */ 6376be33864SEmmanuel Vadot pins = "gpio39"; 6388bab661aSEmmanuel Vadot function = "gpio"; 6396be33864SEmmanuel Vadot bias-pull-down; 6406be33864SEmmanuel Vadot }; 6416be33864SEmmanuel Vadot 6428bab661aSEmmanuel Vadot tx-pins { 6436be33864SEmmanuel Vadot /* 6446be33864SEmmanuel Vadot * Configure pull-up on TX when it isn't actively driven 6456be33864SEmmanuel Vadot * to prevent BT SoC from receiving garbage during sleep. 6466be33864SEmmanuel Vadot */ 6476be33864SEmmanuel Vadot pins = "gpio40"; 6488bab661aSEmmanuel Vadot function = "gpio"; 6496be33864SEmmanuel Vadot bias-pull-up; 6506be33864SEmmanuel Vadot }; 6516be33864SEmmanuel Vadot 6528bab661aSEmmanuel Vadot rx-pins { 6536be33864SEmmanuel Vadot /* 6546be33864SEmmanuel Vadot * Configure a pull-up on RX. This is needed to avoid 6556be33864SEmmanuel Vadot * garbage data when the TX pin of the Bluetooth module 6566be33864SEmmanuel Vadot * is floating which may cause spurious wakeups. 6576be33864SEmmanuel Vadot */ 6586be33864SEmmanuel Vadot pins = "gpio41"; 6598bab661aSEmmanuel Vadot function = "gpio"; 6606be33864SEmmanuel Vadot bias-pull-up; 6616be33864SEmmanuel Vadot }; 6626be33864SEmmanuel Vadot }; 6635956d97fSEmmanuel Vadot 6648bab661aSEmmanuel Vadot sdc1_on: sdc1-on-state { 6658bab661aSEmmanuel Vadot clk-pins { 6665956d97fSEmmanuel Vadot pins = "sdc1_clk"; 6675956d97fSEmmanuel Vadot bias-disable; 6685956d97fSEmmanuel Vadot drive-strength = <16>; 6695956d97fSEmmanuel Vadot }; 6705956d97fSEmmanuel Vadot 6718bab661aSEmmanuel Vadot cmd-pins { 6725956d97fSEmmanuel Vadot pins = "sdc1_cmd"; 6735956d97fSEmmanuel Vadot bias-pull-up; 6745956d97fSEmmanuel Vadot drive-strength = <10>; 6755956d97fSEmmanuel Vadot }; 6765956d97fSEmmanuel Vadot 6778bab661aSEmmanuel Vadot data-pins { 6785956d97fSEmmanuel Vadot pins = "sdc1_data"; 6795956d97fSEmmanuel Vadot bias-pull-up; 6805956d97fSEmmanuel Vadot drive-strength = <10>; 6815956d97fSEmmanuel Vadot }; 6825956d97fSEmmanuel Vadot 6838bab661aSEmmanuel Vadot rclk-pins { 6845956d97fSEmmanuel Vadot pins = "sdc1_rclk"; 6855956d97fSEmmanuel Vadot bias-pull-down; 6865956d97fSEmmanuel Vadot }; 6875956d97fSEmmanuel Vadot }; 6885956d97fSEmmanuel Vadot 6898bab661aSEmmanuel Vadot sdc1_off: sdc1-off-state { 6908bab661aSEmmanuel Vadot clk-pins { 6915956d97fSEmmanuel Vadot pins = "sdc1_clk"; 6925956d97fSEmmanuel Vadot bias-disable; 6935956d97fSEmmanuel Vadot drive-strength = <2>; 6945956d97fSEmmanuel Vadot }; 6955956d97fSEmmanuel Vadot 6968bab661aSEmmanuel Vadot cmd-pins { 6975956d97fSEmmanuel Vadot pins = "sdc1_cmd"; 6985956d97fSEmmanuel Vadot bias-pull-up; 6995956d97fSEmmanuel Vadot drive-strength = <2>; 7005956d97fSEmmanuel Vadot }; 7015956d97fSEmmanuel Vadot 7028bab661aSEmmanuel Vadot data-pins { 7035956d97fSEmmanuel Vadot pins = "sdc1_data"; 7045956d97fSEmmanuel Vadot bias-pull-up; 7055956d97fSEmmanuel Vadot drive-strength = <2>; 7065956d97fSEmmanuel Vadot }; 7075956d97fSEmmanuel Vadot 7088bab661aSEmmanuel Vadot rclk-pins { 7095956d97fSEmmanuel Vadot pins = "sdc1_rclk"; 7105956d97fSEmmanuel Vadot bias-pull-down; 7115956d97fSEmmanuel Vadot }; 7125956d97fSEmmanuel Vadot }; 7135956d97fSEmmanuel Vadot 7148bab661aSEmmanuel Vadot sdc2_on: sdc2-on-state { 7158bab661aSEmmanuel Vadot clk-pins { 7165956d97fSEmmanuel Vadot pins = "sdc2_clk"; 7175956d97fSEmmanuel Vadot bias-disable; 7185956d97fSEmmanuel Vadot drive-strength = <16>; 7195956d97fSEmmanuel Vadot }; 7205956d97fSEmmanuel Vadot 7218bab661aSEmmanuel Vadot cmd-pins { 7225956d97fSEmmanuel Vadot pins = "sdc2_cmd"; 7235956d97fSEmmanuel Vadot bias-pull-up; 7245956d97fSEmmanuel Vadot drive-strength = <10>; 7255956d97fSEmmanuel Vadot }; 7265956d97fSEmmanuel Vadot 7278bab661aSEmmanuel Vadot data-pins { 7285956d97fSEmmanuel Vadot pins = "sdc2_data"; 7295956d97fSEmmanuel Vadot bias-pull-up; 7305956d97fSEmmanuel Vadot drive-strength = <10>; 7315956d97fSEmmanuel Vadot }; 7325956d97fSEmmanuel Vadot 7338bab661aSEmmanuel Vadot sd-cd-pins { 7345956d97fSEmmanuel Vadot pins = "gpio69"; 7358bab661aSEmmanuel Vadot function = "gpio"; 7365956d97fSEmmanuel Vadot bias-pull-up; 7375956d97fSEmmanuel Vadot drive-strength = <2>; 7385956d97fSEmmanuel Vadot }; 7395956d97fSEmmanuel Vadot }; 7405956d97fSEmmanuel Vadot 7418bab661aSEmmanuel Vadot sdc2_off: sdc2-off-state { 7428bab661aSEmmanuel Vadot clk-pins { 7435956d97fSEmmanuel Vadot pins = "sdc2_clk"; 7445956d97fSEmmanuel Vadot bias-disable; 7455956d97fSEmmanuel Vadot drive-strength = <2>; 7465956d97fSEmmanuel Vadot }; 7475956d97fSEmmanuel Vadot 7488bab661aSEmmanuel Vadot cmd-pins { 7495956d97fSEmmanuel Vadot pins = "sdc2_cmd"; 7505956d97fSEmmanuel Vadot bias-pull-up; 7515956d97fSEmmanuel Vadot drive-strength = <2>; 7525956d97fSEmmanuel Vadot }; 7535956d97fSEmmanuel Vadot 7548bab661aSEmmanuel Vadot data-pins { 7555956d97fSEmmanuel Vadot pins = "sdc2_data"; 7565956d97fSEmmanuel Vadot bias-pull-up; 7575956d97fSEmmanuel Vadot drive-strength = <2>; 7585956d97fSEmmanuel Vadot }; 7595956d97fSEmmanuel Vadot 7608bab661aSEmmanuel Vadot sd-cd-pins { 7615956d97fSEmmanuel Vadot pins = "gpio69"; 7628bab661aSEmmanuel Vadot function = "gpio"; 7635956d97fSEmmanuel Vadot bias-pull-up; 7645956d97fSEmmanuel Vadot drive-strength = <2>; 7655956d97fSEmmanuel Vadot }; 7665956d97fSEmmanuel Vadot }; 7676be33864SEmmanuel Vadot}; 768