1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright 2014 Linaro Ltd. 4f126890aSEmmanuel Vadot */ 5f126890aSEmmanuel Vadot 6f126890aSEmmanuel Vadot#include "ste-ab8500.dtsi" 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot/ { 9f126890aSEmmanuel Vadot soc { 10f126890aSEmmanuel Vadot prcmu@80157000 { 11f126890aSEmmanuel Vadot ab8500 { 12*8d13bc63SEmmanuel Vadot phy { 13*8d13bc63SEmmanuel Vadot pinctrl-names = "default", "sleep"; 14*8d13bc63SEmmanuel Vadot pinctrl-0 = <&usb_a_1_default>; 15*8d13bc63SEmmanuel Vadot pinctrl-1 = <&usb_a_1_sleep>; 16*8d13bc63SEmmanuel Vadot }; 17*8d13bc63SEmmanuel Vadot 18*8d13bc63SEmmanuel Vadot regulator { 19*8d13bc63SEmmanuel Vadot ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { 20*8d13bc63SEmmanuel Vadot regulator-name = "V-DISPLAY"; 21*8d13bc63SEmmanuel Vadot }; 22*8d13bc63SEmmanuel Vadot 23*8d13bc63SEmmanuel Vadot ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { 24*8d13bc63SEmmanuel Vadot regulator-name = "V-eMMC1"; 25*8d13bc63SEmmanuel Vadot }; 26*8d13bc63SEmmanuel Vadot 27*8d13bc63SEmmanuel Vadot ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { 28*8d13bc63SEmmanuel Vadot regulator-name = "V-MMC-SD"; 29*8d13bc63SEmmanuel Vadot }; 30*8d13bc63SEmmanuel Vadot 31*8d13bc63SEmmanuel Vadot ab8500_ldo_intcore_reg: ab8500_ldo_intcore { 32*8d13bc63SEmmanuel Vadot regulator-name = "V-INTCORE"; 33*8d13bc63SEmmanuel Vadot }; 34*8d13bc63SEmmanuel Vadot 35*8d13bc63SEmmanuel Vadot ab8500_ldo_tvout_reg: ab8500_ldo_tvout { 36*8d13bc63SEmmanuel Vadot regulator-name = "V-TVOUT"; 37*8d13bc63SEmmanuel Vadot }; 38*8d13bc63SEmmanuel Vadot 39*8d13bc63SEmmanuel Vadot ab8500_ldo_audio_reg: ab8500_ldo_audio { 40*8d13bc63SEmmanuel Vadot regulator-name = "V-AUD"; 41*8d13bc63SEmmanuel Vadot }; 42*8d13bc63SEmmanuel Vadot 43*8d13bc63SEmmanuel Vadot ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { 44*8d13bc63SEmmanuel Vadot regulator-name = "V-AMIC1"; 45*8d13bc63SEmmanuel Vadot }; 46*8d13bc63SEmmanuel Vadot 47*8d13bc63SEmmanuel Vadot ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 { 48*8d13bc63SEmmanuel Vadot regulator-name = "V-AMIC2"; 49*8d13bc63SEmmanuel Vadot }; 50*8d13bc63SEmmanuel Vadot 51*8d13bc63SEmmanuel Vadot ab8500_ldo_dmic_reg: ab8500_ldo_dmic { 52*8d13bc63SEmmanuel Vadot regulator-name = "V-DMIC"; 53*8d13bc63SEmmanuel Vadot }; 54*8d13bc63SEmmanuel Vadot 55*8d13bc63SEmmanuel Vadot ab8500_ldo_ana_reg: ab8500_ldo_ana { 56*8d13bc63SEmmanuel Vadot regulator-name = "V-CSI/DSI"; 57*8d13bc63SEmmanuel Vadot }; 58*8d13bc63SEmmanuel Vadot }; 59*8d13bc63SEmmanuel Vadot 60f126890aSEmmanuel Vadot gpio { 61f126890aSEmmanuel Vadot /* Hog a few default settings */ 62f126890aSEmmanuel Vadot pinctrl-names = "default"; 63f126890aSEmmanuel Vadot pinctrl-0 = <&gpio2_default_mode>, 64f126890aSEmmanuel Vadot <&gpio4_default_mode>, 65f126890aSEmmanuel Vadot <&gpio10_default_mode>, 66f126890aSEmmanuel Vadot <&gpio11_default_mode>, 67f126890aSEmmanuel Vadot <&gpio12_default_mode>, 68f126890aSEmmanuel Vadot <&gpio13_default_mode>, 69f126890aSEmmanuel Vadot <&gpio16_default_mode>, 70f126890aSEmmanuel Vadot <&gpio24_default_mode>, 71f126890aSEmmanuel Vadot <&gpio25_default_mode>, 72f126890aSEmmanuel Vadot <&gpio36_default_mode>, 73f126890aSEmmanuel Vadot <&gpio37_default_mode>, 74f126890aSEmmanuel Vadot <&gpio38_default_mode>, 75f126890aSEmmanuel Vadot <&gpio39_default_mode>, 76f126890aSEmmanuel Vadot <&gpio42_default_mode>, 77f126890aSEmmanuel Vadot <&gpio26_default_mode>, 78f126890aSEmmanuel Vadot <&gpio35_default_mode>, 79f126890aSEmmanuel Vadot <&ycbcr_default_mode>, 80f126890aSEmmanuel Vadot <&pwm_default_mode>, 81f126890aSEmmanuel Vadot <&adi1_default_mode>, 82f126890aSEmmanuel Vadot <&usbuicc_default_mode>, 83f126890aSEmmanuel Vadot <&dmic_default_mode>, 84f126890aSEmmanuel Vadot <&extcpena_default_mode>, 85f126890aSEmmanuel Vadot <&modsclsda_default_mode>; 86f126890aSEmmanuel Vadot 87f126890aSEmmanuel Vadot /* 88f126890aSEmmanuel Vadot * Pins 2, 4, 10, 11, 12, 13, 16, 24, 25, 36, 37, 38, 39 and 42 89f126890aSEmmanuel Vadot * are muxed in as GPIO, and configured as INPUT PULL DOWN 90f126890aSEmmanuel Vadot */ 91f126890aSEmmanuel Vadot gpio2 { 92f126890aSEmmanuel Vadot gpio2_default_mode: gpio2_default { 93f126890aSEmmanuel Vadot default_mux { 94f126890aSEmmanuel Vadot function = "gpio"; 95f126890aSEmmanuel Vadot groups = "gpio2_a_1"; 96f126890aSEmmanuel Vadot }; 97f126890aSEmmanuel Vadot default_cfg { 98f126890aSEmmanuel Vadot pins = "GPIO2_T9"; 99f126890aSEmmanuel Vadot input-enable; 100f126890aSEmmanuel Vadot bias-pull-down; 101f126890aSEmmanuel Vadot }; 102f126890aSEmmanuel Vadot }; 103f126890aSEmmanuel Vadot }; 104f126890aSEmmanuel Vadot gpio4 { 105f126890aSEmmanuel Vadot gpio4_default_mode: gpio4_default { 106f126890aSEmmanuel Vadot default_mux { 107f126890aSEmmanuel Vadot function = "gpio"; 108f126890aSEmmanuel Vadot groups = "gpio4_a_1"; 109f126890aSEmmanuel Vadot }; 110f126890aSEmmanuel Vadot default_cfg { 111f126890aSEmmanuel Vadot pins = "GPIO4_W2"; 112f126890aSEmmanuel Vadot input-enable; 113f126890aSEmmanuel Vadot bias-pull-down; 114f126890aSEmmanuel Vadot }; 115f126890aSEmmanuel Vadot }; 116f126890aSEmmanuel Vadot }; 117f126890aSEmmanuel Vadot gpio10 { 118f126890aSEmmanuel Vadot gpio10_default_mode: gpio10_default { 119f126890aSEmmanuel Vadot default_mux { 120f126890aSEmmanuel Vadot function = "gpio"; 121f126890aSEmmanuel Vadot groups = "gpio10_d_1"; 122f126890aSEmmanuel Vadot }; 123f126890aSEmmanuel Vadot default_cfg { 124f126890aSEmmanuel Vadot pins = "GPIO10_U17"; 125f126890aSEmmanuel Vadot input-enable; 126f126890aSEmmanuel Vadot bias-pull-down; 127f126890aSEmmanuel Vadot }; 128f126890aSEmmanuel Vadot }; 129f126890aSEmmanuel Vadot }; 130f126890aSEmmanuel Vadot gpio11 { 131f126890aSEmmanuel Vadot gpio11_default_mode: gpio11_default { 132f126890aSEmmanuel Vadot default_mux { 133f126890aSEmmanuel Vadot function = "gpio"; 134f126890aSEmmanuel Vadot groups = "gpio11_d_1"; 135f126890aSEmmanuel Vadot }; 136f126890aSEmmanuel Vadot default_cfg { 137f126890aSEmmanuel Vadot pins = "GPIO11_AA18"; 138f126890aSEmmanuel Vadot input-enable; 139f126890aSEmmanuel Vadot bias-pull-down; 140f126890aSEmmanuel Vadot }; 141f126890aSEmmanuel Vadot }; 142f126890aSEmmanuel Vadot }; 143f126890aSEmmanuel Vadot gpio12 { 144f126890aSEmmanuel Vadot gpio12_default_mode: gpio12_default { 145f126890aSEmmanuel Vadot default_mux { 146f126890aSEmmanuel Vadot function = "gpio"; 147f126890aSEmmanuel Vadot groups = "gpio12_d_1"; 148f126890aSEmmanuel Vadot }; 149f126890aSEmmanuel Vadot default_cfg { 150f126890aSEmmanuel Vadot pins = "GPIO12_U16"; 151f126890aSEmmanuel Vadot input-enable; 152f126890aSEmmanuel Vadot bias-pull-down; 153f126890aSEmmanuel Vadot }; 154f126890aSEmmanuel Vadot }; 155f126890aSEmmanuel Vadot }; 156f126890aSEmmanuel Vadot gpio13 { 157f126890aSEmmanuel Vadot gpio13_default_mode: gpio13_default { 158f126890aSEmmanuel Vadot default_mux { 159f126890aSEmmanuel Vadot function = "gpio"; 160f126890aSEmmanuel Vadot groups = "gpio13_d_1"; 161f126890aSEmmanuel Vadot }; 162f126890aSEmmanuel Vadot default_cfg { 163f126890aSEmmanuel Vadot pins = "GPIO13_W17"; 164f126890aSEmmanuel Vadot input-enable; 165f126890aSEmmanuel Vadot bias-pull-down; 166f126890aSEmmanuel Vadot }; 167f126890aSEmmanuel Vadot }; 168f126890aSEmmanuel Vadot }; 169f126890aSEmmanuel Vadot gpio16 { 170f126890aSEmmanuel Vadot gpio16_default_mode: gpio16_default { 171f126890aSEmmanuel Vadot default_mux { 172f126890aSEmmanuel Vadot function = "gpio"; 173f126890aSEmmanuel Vadot groups = "gpio16_a_1"; 174f126890aSEmmanuel Vadot }; 175f126890aSEmmanuel Vadot default_cfg { 176f126890aSEmmanuel Vadot pins = "GPIO16_F15"; 177f126890aSEmmanuel Vadot input-enable; 178f126890aSEmmanuel Vadot bias-pull-down; 179f126890aSEmmanuel Vadot }; 180f126890aSEmmanuel Vadot }; 181f126890aSEmmanuel Vadot }; 182f126890aSEmmanuel Vadot gpio24 { 183f126890aSEmmanuel Vadot gpio24_default_mode: gpio24_default { 184f126890aSEmmanuel Vadot default_mux { 185f126890aSEmmanuel Vadot function = "gpio"; 186f126890aSEmmanuel Vadot groups = "gpio24_a_1"; 187f126890aSEmmanuel Vadot }; 188f126890aSEmmanuel Vadot default_cfg { 189f126890aSEmmanuel Vadot pins = "GPIO24_T14"; 190f126890aSEmmanuel Vadot input-enable; 191f126890aSEmmanuel Vadot bias-pull-down; 192f126890aSEmmanuel Vadot }; 193f126890aSEmmanuel Vadot }; 194f126890aSEmmanuel Vadot }; 195f126890aSEmmanuel Vadot gpio25 { 196f126890aSEmmanuel Vadot gpio25_default_mode: gpio25_default { 197f126890aSEmmanuel Vadot default_mux { 198f126890aSEmmanuel Vadot function = "gpio"; 199f126890aSEmmanuel Vadot groups = "gpio25_a_1"; 200f126890aSEmmanuel Vadot }; 201f126890aSEmmanuel Vadot default_cfg { 202f126890aSEmmanuel Vadot pins = "GPIO25_R16"; 203f126890aSEmmanuel Vadot input-enable; 204f126890aSEmmanuel Vadot bias-pull-down; 205f126890aSEmmanuel Vadot }; 206f126890aSEmmanuel Vadot }; 207f126890aSEmmanuel Vadot }; 208f126890aSEmmanuel Vadot gpio36 { 209f126890aSEmmanuel Vadot gpio36_default_mode: gpio36_default { 210f126890aSEmmanuel Vadot default_mux { 211f126890aSEmmanuel Vadot function = "gpio"; 212f126890aSEmmanuel Vadot groups = "gpio36_a_1"; 213f126890aSEmmanuel Vadot }; 214f126890aSEmmanuel Vadot default_cfg { 215f126890aSEmmanuel Vadot pins = "GPIO36_A17"; 216f126890aSEmmanuel Vadot input-enable; 217f126890aSEmmanuel Vadot bias-pull-down; 218f126890aSEmmanuel Vadot }; 219f126890aSEmmanuel Vadot }; 220f126890aSEmmanuel Vadot }; 221f126890aSEmmanuel Vadot gpio37 { 222f126890aSEmmanuel Vadot gpio37_default_mode: gpio37_default { 223f126890aSEmmanuel Vadot default_mux { 224f126890aSEmmanuel Vadot function = "gpio"; 225f126890aSEmmanuel Vadot groups = "gpio37_a_1"; 226f126890aSEmmanuel Vadot }; 227f126890aSEmmanuel Vadot default_cfg { 228f126890aSEmmanuel Vadot pins = "GPIO37_E15"; 229f126890aSEmmanuel Vadot input-enable; 230f126890aSEmmanuel Vadot bias-pull-down; 231f126890aSEmmanuel Vadot }; 232f126890aSEmmanuel Vadot }; 233f126890aSEmmanuel Vadot }; 234f126890aSEmmanuel Vadot gpio38 { 235f126890aSEmmanuel Vadot gpio38_default_mode: gpio38_default { 236f126890aSEmmanuel Vadot default_mux { 237f126890aSEmmanuel Vadot function = "gpio"; 238f126890aSEmmanuel Vadot groups = "gpio38_a_1"; 239f126890aSEmmanuel Vadot }; 240f126890aSEmmanuel Vadot default_cfg { 241f126890aSEmmanuel Vadot pins = "GPIO38_C17"; 242f126890aSEmmanuel Vadot input-enable; 243f126890aSEmmanuel Vadot bias-pull-down; 244f126890aSEmmanuel Vadot }; 245f126890aSEmmanuel Vadot }; 246f126890aSEmmanuel Vadot }; 247f126890aSEmmanuel Vadot gpio39 { 248f126890aSEmmanuel Vadot gpio39_default_mode: gpio39_default { 249f126890aSEmmanuel Vadot default_mux { 250f126890aSEmmanuel Vadot function = "gpio"; 251f126890aSEmmanuel Vadot groups = "gpio39_a_1"; 252f126890aSEmmanuel Vadot }; 253f126890aSEmmanuel Vadot default_cfg { 254f126890aSEmmanuel Vadot pins = "GPIO39_E16"; 255f126890aSEmmanuel Vadot input-enable; 256f126890aSEmmanuel Vadot bias-pull-down; 257f126890aSEmmanuel Vadot }; 258f126890aSEmmanuel Vadot }; 259f126890aSEmmanuel Vadot }; 260f126890aSEmmanuel Vadot gpio42 { 261f126890aSEmmanuel Vadot gpio42_default_mode: gpio42_default { 262f126890aSEmmanuel Vadot default_mux { 263f126890aSEmmanuel Vadot function = "gpio"; 264f126890aSEmmanuel Vadot groups = "gpio42_a_1"; 265f126890aSEmmanuel Vadot }; 266f126890aSEmmanuel Vadot default_cfg { 267f126890aSEmmanuel Vadot pins = "GPIO42_U2"; 268f126890aSEmmanuel Vadot input-enable; 269f126890aSEmmanuel Vadot bias-pull-down; 270f126890aSEmmanuel Vadot }; 271f126890aSEmmanuel Vadot }; 272f126890aSEmmanuel Vadot }; 273f126890aSEmmanuel Vadot /* 274f126890aSEmmanuel Vadot * Pins 26 and 35 muxed in as GPIO, and configured as OUTPUT LOW 275f126890aSEmmanuel Vadot */ 276f126890aSEmmanuel Vadot gpio26 { 277f126890aSEmmanuel Vadot gpio26_default_mode: gpio26_default { 278f126890aSEmmanuel Vadot default_mux { 279f126890aSEmmanuel Vadot function = "gpio"; 280f126890aSEmmanuel Vadot groups = "gpio26_d_1"; 281f126890aSEmmanuel Vadot }; 282f126890aSEmmanuel Vadot default_cfg { 283f126890aSEmmanuel Vadot pins = "GPIO26_M16"; 284f126890aSEmmanuel Vadot output-low; 285f126890aSEmmanuel Vadot }; 286f126890aSEmmanuel Vadot }; 287f126890aSEmmanuel Vadot }; 288f126890aSEmmanuel Vadot gpio35 { 289f126890aSEmmanuel Vadot gpio35_default_mode: gpio35_default { 290f126890aSEmmanuel Vadot default_mux { 291f126890aSEmmanuel Vadot function = "gpio"; 292f126890aSEmmanuel Vadot groups = "gpio35_d_1"; 293f126890aSEmmanuel Vadot }; 294f126890aSEmmanuel Vadot default_cfg { 295f126890aSEmmanuel Vadot pins = "GPIO35_W15"; 296f126890aSEmmanuel Vadot output-low; 297f126890aSEmmanuel Vadot }; 298f126890aSEmmanuel Vadot }; 299f126890aSEmmanuel Vadot }; 300f126890aSEmmanuel Vadot /* 301f126890aSEmmanuel Vadot * This sets up the YCBCR connector pins, i.e. analog video out. 302f126890aSEmmanuel Vadot * Set as input with no bias. 303f126890aSEmmanuel Vadot */ 304f126890aSEmmanuel Vadot ycbcr { 305f126890aSEmmanuel Vadot ycbcr_default_mode: ycbcr_default { 306f126890aSEmmanuel Vadot default_mux { 307f126890aSEmmanuel Vadot function = "ycbcr"; 308f126890aSEmmanuel Vadot groups = "ycbcr0123_d_1"; 309f126890aSEmmanuel Vadot }; 310f126890aSEmmanuel Vadot default_cfg { 311f126890aSEmmanuel Vadot pins = "GPIO6_Y18", 312f126890aSEmmanuel Vadot "GPIO7_AA20", 313f126890aSEmmanuel Vadot "GPIO8_W18", 314f126890aSEmmanuel Vadot "GPIO9_AA19"; 315f126890aSEmmanuel Vadot input-enable; 316f126890aSEmmanuel Vadot bias-disable; 317f126890aSEmmanuel Vadot }; 318f126890aSEmmanuel Vadot }; 319f126890aSEmmanuel Vadot }; 320f126890aSEmmanuel Vadot /* This sets up the PWM pins 14 and 15 */ 321f126890aSEmmanuel Vadot pwm { 322f126890aSEmmanuel Vadot pwm_default_mode: pwm_default { 323f126890aSEmmanuel Vadot default_mux { 324f126890aSEmmanuel Vadot function = "pwmout"; 325f126890aSEmmanuel Vadot groups = "pwmout1_d_1", "pwmout2_d_1"; 326f126890aSEmmanuel Vadot }; 327f126890aSEmmanuel Vadot default_cfg { 328f126890aSEmmanuel Vadot pins = "GPIO14_F14", 329f126890aSEmmanuel Vadot "GPIO15_B17"; 330f126890aSEmmanuel Vadot input-enable; 331f126890aSEmmanuel Vadot bias-pull-down; 332f126890aSEmmanuel Vadot }; 333f126890aSEmmanuel Vadot }; 334f126890aSEmmanuel Vadot }; 335f126890aSEmmanuel Vadot /* This sets up audio interface 1 */ 336f126890aSEmmanuel Vadot adi1 { 337f126890aSEmmanuel Vadot adi1_default_mode: adi1_default { 338f126890aSEmmanuel Vadot default_mux { 339f126890aSEmmanuel Vadot function = "adi1"; 340f126890aSEmmanuel Vadot groups = "adi1_d_1"; 341f126890aSEmmanuel Vadot }; 342f126890aSEmmanuel Vadot default_cfg { 343f126890aSEmmanuel Vadot pins = "GPIO17_P5", 344f126890aSEmmanuel Vadot "GPIO18_R5", 345f126890aSEmmanuel Vadot "GPIO19_U5", 346f126890aSEmmanuel Vadot "GPIO20_T5"; 347f126890aSEmmanuel Vadot input-enable; 348f126890aSEmmanuel Vadot bias-pull-down; 349f126890aSEmmanuel Vadot }; 350f126890aSEmmanuel Vadot }; 351f126890aSEmmanuel Vadot }; 352f126890aSEmmanuel Vadot /* This sets up the USB UICC pins */ 353f126890aSEmmanuel Vadot usbuicc { 354f126890aSEmmanuel Vadot usbuicc_default_mode: usbuicc_default { 355f126890aSEmmanuel Vadot default_mux { 356f126890aSEmmanuel Vadot function = "usbuicc"; 357f126890aSEmmanuel Vadot groups = "usbuicc_d_1"; 358f126890aSEmmanuel Vadot }; 359f126890aSEmmanuel Vadot default_cfg { 360f126890aSEmmanuel Vadot pins = "GPIO21_H19", 361f126890aSEmmanuel Vadot "GPIO22_G20", 362f126890aSEmmanuel Vadot "GPIO23_G19"; 363f126890aSEmmanuel Vadot input-enable; 364f126890aSEmmanuel Vadot bias-pull-down; 365f126890aSEmmanuel Vadot }; 366f126890aSEmmanuel Vadot }; 367f126890aSEmmanuel Vadot }; 368f126890aSEmmanuel Vadot /* This sets up the microphone pins */ 369f126890aSEmmanuel Vadot dmic { 370f126890aSEmmanuel Vadot dmic_default_mode: dmic_default { 371f126890aSEmmanuel Vadot default_mux { 372f126890aSEmmanuel Vadot function = "dmic"; 373f126890aSEmmanuel Vadot groups = "dmic12_d_1", 374f126890aSEmmanuel Vadot "dmic34_d_1", 375f126890aSEmmanuel Vadot "dmic56_d_1"; 376f126890aSEmmanuel Vadot }; 377f126890aSEmmanuel Vadot default_cfg { 378f126890aSEmmanuel Vadot pins = "GPIO27_J6", 379f126890aSEmmanuel Vadot "GPIO28_K6", 380f126890aSEmmanuel Vadot "GPIO29_G6", 381f126890aSEmmanuel Vadot "GPIO30_H6", 382f126890aSEmmanuel Vadot "GPIO31_F5", 383f126890aSEmmanuel Vadot "GPIO32_G5"; 384f126890aSEmmanuel Vadot input-enable; 385f126890aSEmmanuel Vadot bias-pull-down; 386f126890aSEmmanuel Vadot }; 387f126890aSEmmanuel Vadot }; 388f126890aSEmmanuel Vadot }; 389f126890aSEmmanuel Vadot extcpena { 390f126890aSEmmanuel Vadot extcpena_default_mode: extcpena_default { 391f126890aSEmmanuel Vadot default_mux { 392f126890aSEmmanuel Vadot function = "extcpena"; 393f126890aSEmmanuel Vadot groups = "extcpena_d_1"; 394f126890aSEmmanuel Vadot }; 395f126890aSEmmanuel Vadot default_cfg { 396f126890aSEmmanuel Vadot pins = "GPIO34_R17"; 397f126890aSEmmanuel Vadot input-enable; 398f126890aSEmmanuel Vadot bias-pull-down; 399f126890aSEmmanuel Vadot }; 400f126890aSEmmanuel Vadot }; 401f126890aSEmmanuel Vadot }; 402f126890aSEmmanuel Vadot /* Modem I2C setup (SCL and SDA pins) */ 403f126890aSEmmanuel Vadot modsclsda { 404f126890aSEmmanuel Vadot modsclsda_default_mode: modsclsda_default { 405f126890aSEmmanuel Vadot default_mux { 406f126890aSEmmanuel Vadot function = "modsclsda"; 407f126890aSEmmanuel Vadot groups = "modsclsda_d_1"; 408f126890aSEmmanuel Vadot }; 409f126890aSEmmanuel Vadot default_cfg { 410f126890aSEmmanuel Vadot pins = "GPIO40_T19", 411f126890aSEmmanuel Vadot "GPIO41_U19"; 412f126890aSEmmanuel Vadot input-enable; 413f126890aSEmmanuel Vadot bias-pull-down; 414f126890aSEmmanuel Vadot }; 415f126890aSEmmanuel Vadot }; 416f126890aSEmmanuel Vadot }; 417f126890aSEmmanuel Vadot /* 418f126890aSEmmanuel Vadot * Clock output pins associated with regulators. 419f126890aSEmmanuel Vadot */ 420f126890aSEmmanuel Vadot sysclkreq2 { 421f126890aSEmmanuel Vadot sysclkreq2_default_mode: sysclkreq2_default { 422f126890aSEmmanuel Vadot default_mux { 423f126890aSEmmanuel Vadot function = "sysclkreq"; 424f126890aSEmmanuel Vadot groups = "sysclkreq2_d_1"; 425f126890aSEmmanuel Vadot }; 426f126890aSEmmanuel Vadot default_cfg { 427f126890aSEmmanuel Vadot pins = "GPIO1_T10"; 428f126890aSEmmanuel Vadot input-enable; 429f126890aSEmmanuel Vadot bias-disable; 430f126890aSEmmanuel Vadot }; 431f126890aSEmmanuel Vadot }; 432f126890aSEmmanuel Vadot sysclkreq2_sleep_mode: sysclkreq2_sleep { 433f126890aSEmmanuel Vadot default_mux { 434f126890aSEmmanuel Vadot function = "gpio"; 435f126890aSEmmanuel Vadot groups = "gpio1_a_1"; 436f126890aSEmmanuel Vadot }; 437f126890aSEmmanuel Vadot default_cfg { 438f126890aSEmmanuel Vadot pins = "GPIO1_T10"; 439f126890aSEmmanuel Vadot input-enable; 440f126890aSEmmanuel Vadot bias-pull-down; 441f126890aSEmmanuel Vadot }; 442f126890aSEmmanuel Vadot }; 443f126890aSEmmanuel Vadot }; 444f126890aSEmmanuel Vadot sysclkreq4 { 445f126890aSEmmanuel Vadot sysclkreq4_default_mode: sysclkreq4_default { 446f126890aSEmmanuel Vadot default_mux { 447f126890aSEmmanuel Vadot function = "sysclkreq"; 448f126890aSEmmanuel Vadot groups = "sysclkreq4_d_1"; 449f126890aSEmmanuel Vadot }; 450f126890aSEmmanuel Vadot default_cfg { 451f126890aSEmmanuel Vadot pins = "GPIO3_U9"; 452f126890aSEmmanuel Vadot input-enable; 453f126890aSEmmanuel Vadot bias-disable; 454f126890aSEmmanuel Vadot }; 455f126890aSEmmanuel Vadot }; 456f126890aSEmmanuel Vadot sysclkreq4_sleep_mode: sysclkreq4_sleep { 457f126890aSEmmanuel Vadot default_mux { 458f126890aSEmmanuel Vadot function = "gpio"; 459f126890aSEmmanuel Vadot groups = "gpio3_a_1"; 460f126890aSEmmanuel Vadot }; 461f126890aSEmmanuel Vadot default_cfg { 462f126890aSEmmanuel Vadot pins = "GPIO3_U9"; 463f126890aSEmmanuel Vadot input-enable; 464f126890aSEmmanuel Vadot bias-pull-down; 465f126890aSEmmanuel Vadot }; 466f126890aSEmmanuel Vadot }; 467f126890aSEmmanuel Vadot }; 468f126890aSEmmanuel Vadot }; 469f126890aSEmmanuel Vadot /* 470f126890aSEmmanuel Vadot * Charging is not working on the HREF unless an actual battery is 471f126890aSEmmanuel Vadot * mounted, most HREFs have a DC cable in to the "battery power" 472f126890aSEmmanuel Vadot * which means this will only be cofusing. So do not enable charging 473f126890aSEmmanuel Vadot * of the HREFs. 474f126890aSEmmanuel Vadot */ 475f126890aSEmmanuel Vadot ab8500_fg { 476f126890aSEmmanuel Vadot status = "disabled"; 477f126890aSEmmanuel Vadot }; 478f126890aSEmmanuel Vadot ab8500_btemp { 479f126890aSEmmanuel Vadot status = "disabled"; 480f126890aSEmmanuel Vadot }; 481f126890aSEmmanuel Vadot ab8500_charger { 482f126890aSEmmanuel Vadot status = "disabled"; 483f126890aSEmmanuel Vadot }; 484f126890aSEmmanuel Vadot ab8500_chargalg { 485f126890aSEmmanuel Vadot status = "disabled"; 486f126890aSEmmanuel Vadot }; 487f126890aSEmmanuel Vadot }; 488f126890aSEmmanuel Vadot }; 489f126890aSEmmanuel Vadot }; 490f126890aSEmmanuel Vadot}; 491