162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci/dts-v1/; 462306a36Sopenharmony_ci#include <dt-bindings/gpio/gpio.h> 562306a36Sopenharmony_ci#include <dt-bindings/input/input.h> 662306a36Sopenharmony_ci#include "s5pv210-aries.dtsi" 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci/ { 962306a36Sopenharmony_ci model = "Samsung Galaxy S1 (GT-I9000) based on S5PV210"; 1062306a36Sopenharmony_ci compatible = "samsung,galaxys", "samsung,aries", "samsung,s5pv210"; 1162306a36Sopenharmony_ci chassis-type = "handset"; 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci chosen { 1462306a36Sopenharmony_ci stdout-path = &uart2; 1562306a36Sopenharmony_ci }; 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci nand_pwrseq: nand-pwrseq { 1862306a36Sopenharmony_ci compatible = "mmc-pwrseq-simple"; 1962306a36Sopenharmony_ci reset-gpios = <&gpj2 7 GPIO_ACTIVE_LOW>; 2062306a36Sopenharmony_ci pinctrl-names = "default"; 2162306a36Sopenharmony_ci pinctrl-0 = <&massmemory_en>; 2262306a36Sopenharmony_ci }; 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci gpio-keys { 2562306a36Sopenharmony_ci compatible = "gpio-keys"; 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci key-power { 2862306a36Sopenharmony_ci label = "power"; 2962306a36Sopenharmony_ci gpios = <&gph2 6 GPIO_ACTIVE_LOW>; 3062306a36Sopenharmony_ci linux,code = <KEY_POWER>; 3162306a36Sopenharmony_ci wakeup-source; 3262306a36Sopenharmony_ci }; 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci key-vol-down { 3562306a36Sopenharmony_ci label = "volume_down"; 3662306a36Sopenharmony_ci gpios = <&gph3 1 GPIO_ACTIVE_LOW>; 3762306a36Sopenharmony_ci linux,code = <KEY_VOLUMEDOWN>; 3862306a36Sopenharmony_ci }; 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci key-vol-up { 4162306a36Sopenharmony_ci label = "volume_up"; 4262306a36Sopenharmony_ci gpios = <&gph3 2 GPIO_ACTIVE_LOW>; 4362306a36Sopenharmony_ci linux,code = <KEY_VOLUMEUP>; 4462306a36Sopenharmony_ci }; 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ci key-home { 4762306a36Sopenharmony_ci label = "home"; 4862306a36Sopenharmony_ci gpios = <&gph3 5 GPIO_ACTIVE_LOW>; 4962306a36Sopenharmony_ci linux,code = <KEY_HOME>; 5062306a36Sopenharmony_ci wakeup-source; 5162306a36Sopenharmony_ci }; 5262306a36Sopenharmony_ci }; 5362306a36Sopenharmony_ci 5462306a36Sopenharmony_ci i2c_fmradio: i2c-gpio-8 { 5562306a36Sopenharmony_ci compatible = "i2c-gpio"; 5662306a36Sopenharmony_ci sda-gpios = <&gpd1 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 5762306a36Sopenharmony_ci scl-gpios = <&gpd1 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 5862306a36Sopenharmony_ci i2c-gpio,delay-us = <2>; 5962306a36Sopenharmony_ci #address-cells = <1>; 6062306a36Sopenharmony_ci #size-cells = <0>; 6162306a36Sopenharmony_ci 6262306a36Sopenharmony_ci pinctrl-names = "default"; 6362306a36Sopenharmony_ci pinctrl-0 = <&fm_i2c_pins>; 6462306a36Sopenharmony_ci 6562306a36Sopenharmony_ci fmradio@10 { 6662306a36Sopenharmony_ci compatible = "silabs,si470x"; 6762306a36Sopenharmony_ci reg = <0x10>; 6862306a36Sopenharmony_ci interrupt-parent = <&gpj2>; 6962306a36Sopenharmony_ci interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 7062306a36Sopenharmony_ci reset-gpios = <&gpj2 5 GPIO_ACTIVE_HIGH>; 7162306a36Sopenharmony_ci 7262306a36Sopenharmony_ci pinctrl-names = "default"; 7362306a36Sopenharmony_ci pinctrl-0 = <&fm_irq &fm_rst>; 7462306a36Sopenharmony_ci }; 7562306a36Sopenharmony_ci }; 7662306a36Sopenharmony_ci 7762306a36Sopenharmony_ci micbias_reg: regulator-fixed-3 { 7862306a36Sopenharmony_ci compatible = "regulator-fixed"; 7962306a36Sopenharmony_ci regulator-name = "MICBIAS"; 8062306a36Sopenharmony_ci gpio = <&gpj4 2 GPIO_ACTIVE_HIGH>; 8162306a36Sopenharmony_ci enable-active-high; 8262306a36Sopenharmony_ci 8362306a36Sopenharmony_ci pinctrl-names = "default"; 8462306a36Sopenharmony_ci pinctrl-0 = <&micbias_reg_ena>; 8562306a36Sopenharmony_ci }; 8662306a36Sopenharmony_ci 8762306a36Sopenharmony_ci sound { 8862306a36Sopenharmony_ci compatible = "samsung,aries-wm8994"; 8962306a36Sopenharmony_ci 9062306a36Sopenharmony_ci model = "Aries"; 9162306a36Sopenharmony_ci 9262306a36Sopenharmony_ci extcon = <&fsa9480>; 9362306a36Sopenharmony_ci 9462306a36Sopenharmony_ci main-micbias-supply = <&micbias_reg>; 9562306a36Sopenharmony_ci headset-micbias-supply = <&micbias_reg>; 9662306a36Sopenharmony_ci 9762306a36Sopenharmony_ci earpath-sel-gpios = <&gpj2 6 GPIO_ACTIVE_HIGH>; 9862306a36Sopenharmony_ci 9962306a36Sopenharmony_ci io-channels = <&adc 3>; 10062306a36Sopenharmony_ci io-channel-names = "headset-detect"; 10162306a36Sopenharmony_ci headset-detect-gpios = <&gph0 6 GPIO_ACTIVE_LOW>; 10262306a36Sopenharmony_ci headset-key-gpios = <&gph3 6 GPIO_ACTIVE_HIGH>; 10362306a36Sopenharmony_ci 10462306a36Sopenharmony_ci samsung,audio-routing = 10562306a36Sopenharmony_ci "HP", "HPOUT1L", 10662306a36Sopenharmony_ci "HP", "HPOUT1R", 10762306a36Sopenharmony_ci 10862306a36Sopenharmony_ci "SPK", "SPKOUTLN", 10962306a36Sopenharmony_ci "SPK", "SPKOUTLP", 11062306a36Sopenharmony_ci 11162306a36Sopenharmony_ci "RCV", "HPOUT2N", 11262306a36Sopenharmony_ci "RCV", "HPOUT2P", 11362306a36Sopenharmony_ci 11462306a36Sopenharmony_ci "LINE", "LINEOUT2N", 11562306a36Sopenharmony_ci "LINE", "LINEOUT2P", 11662306a36Sopenharmony_ci 11762306a36Sopenharmony_ci "IN1LP", "Main Mic", 11862306a36Sopenharmony_ci "IN1LN", "Main Mic", 11962306a36Sopenharmony_ci 12062306a36Sopenharmony_ci "IN1RP", "Headset Mic", 12162306a36Sopenharmony_ci "IN1RN", "Headset Mic", 12262306a36Sopenharmony_ci 12362306a36Sopenharmony_ci "IN2LN", "FM In", 12462306a36Sopenharmony_ci "IN2RN", "FM In", 12562306a36Sopenharmony_ci 12662306a36Sopenharmony_ci "Modem Out", "Modem TX", 12762306a36Sopenharmony_ci "Modem RX", "Modem In", 12862306a36Sopenharmony_ci 12962306a36Sopenharmony_ci "Bluetooth SPK", "TX", 13062306a36Sopenharmony_ci "RX", "Bluetooth Mic"; 13162306a36Sopenharmony_ci 13262306a36Sopenharmony_ci pinctrl-names = "default"; 13362306a36Sopenharmony_ci pinctrl-0 = <&headset_det &earpath_sel>; 13462306a36Sopenharmony_ci 13562306a36Sopenharmony_ci cpu { 13662306a36Sopenharmony_ci sound-dai = <&i2s0>, <&bt_codec>; 13762306a36Sopenharmony_ci }; 13862306a36Sopenharmony_ci 13962306a36Sopenharmony_ci codec { 14062306a36Sopenharmony_ci sound-dai = <&wm8994>; 14162306a36Sopenharmony_ci }; 14262306a36Sopenharmony_ci }; 14362306a36Sopenharmony_ci}; 14462306a36Sopenharmony_ci 14562306a36Sopenharmony_ci&aliases { 14662306a36Sopenharmony_ci i2c8 = &i2c_fmradio; 14762306a36Sopenharmony_ci}; 14862306a36Sopenharmony_ci 14962306a36Sopenharmony_ci&pinctrl0 { 15062306a36Sopenharmony_ci pinctrl-names = "default"; 15162306a36Sopenharmony_ci pinctrl-0 = <&sleep_cfg>; 15262306a36Sopenharmony_ci 15362306a36Sopenharmony_ci fm_i2c_pins: fm-i2c-pins { 15462306a36Sopenharmony_ci samsung,pins = "gpd1-2", "gpd1-3"; 15562306a36Sopenharmony_ci samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 15662306a36Sopenharmony_ci samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 15762306a36Sopenharmony_ci }; 15862306a36Sopenharmony_ci 15962306a36Sopenharmony_ci headset_det: headset-det-pins { 16062306a36Sopenharmony_ci samsung,pins = "gph0-6", "gph3-6"; 16162306a36Sopenharmony_ci samsung,pin-function = <S5PV210_PIN_FUNC_F>; 16262306a36Sopenharmony_ci samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 16362306a36Sopenharmony_ci }; 16462306a36Sopenharmony_ci 16562306a36Sopenharmony_ci fm_irq: fm-irq-pins { 16662306a36Sopenharmony_ci samsung,pins = "gpj2-4"; 16762306a36Sopenharmony_ci samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>; 16862306a36Sopenharmony_ci samsung,pin-pud = <S5PV210_PIN_PULL_UP>; 16962306a36Sopenharmony_ci samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 17062306a36Sopenharmony_ci }; 17162306a36Sopenharmony_ci 17262306a36Sopenharmony_ci fm_rst: fm-rst-pins { 17362306a36Sopenharmony_ci samsung,pins = "gpj2-5"; 17462306a36Sopenharmony_ci samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>; 17562306a36Sopenharmony_ci samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 17662306a36Sopenharmony_ci samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 17762306a36Sopenharmony_ci }; 17862306a36Sopenharmony_ci 17962306a36Sopenharmony_ci earpath_sel: earpath-sel-pins { 18062306a36Sopenharmony_ci samsung,pins = "gpj2-6"; 18162306a36Sopenharmony_ci samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 18262306a36Sopenharmony_ci samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 18362306a36Sopenharmony_ci }; 18462306a36Sopenharmony_ci 18562306a36Sopenharmony_ci massmemory_en: massmemory-en-pins { 18662306a36Sopenharmony_ci samsung,pins = "gpj2-7"; 18762306a36Sopenharmony_ci samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>; 18862306a36Sopenharmony_ci samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 18962306a36Sopenharmony_ci samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 19062306a36Sopenharmony_ci }; 19162306a36Sopenharmony_ci 19262306a36Sopenharmony_ci micbias_reg_ena: micbias-reg-ena-pins { 19362306a36Sopenharmony_ci samsung,pins = "gpj4-2"; 19462306a36Sopenharmony_ci samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 19562306a36Sopenharmony_ci samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 19662306a36Sopenharmony_ci }; 19762306a36Sopenharmony_ci 19862306a36Sopenharmony_ci /* Based on CyanogenMod 3.0.101 kernel */ 19962306a36Sopenharmony_ci sleep_cfg: sleep-state { 20062306a36Sopenharmony_ci PIN_SLP(gpa0-0, PREV, NONE); 20162306a36Sopenharmony_ci PIN_SLP(gpa0-1, PREV, NONE); 20262306a36Sopenharmony_ci PIN_SLP(gpa0-2, PREV, NONE); 20362306a36Sopenharmony_ci PIN_SLP(gpa0-3, OUT1, NONE); 20462306a36Sopenharmony_ci PIN_SLP(gpa0-4, INPUT, DOWN); 20562306a36Sopenharmony_ci PIN_SLP(gpa0-5, OUT0, NONE); 20662306a36Sopenharmony_ci PIN_SLP(gpa0-6, INPUT, DOWN); 20762306a36Sopenharmony_ci PIN_SLP(gpa0-7, OUT1, NONE); 20862306a36Sopenharmony_ci 20962306a36Sopenharmony_ci PIN_SLP(gpa1-0, INPUT, DOWN); 21062306a36Sopenharmony_ci PIN_SLP(gpa1-1, OUT0, NONE); 21162306a36Sopenharmony_ci PIN_SLP(gpa1-2, INPUT, NONE); 21262306a36Sopenharmony_ci PIN_SLP(gpa1-3, OUT0, NONE); 21362306a36Sopenharmony_ci 21462306a36Sopenharmony_ci PIN_SLP(gpb-0, OUT0, NONE); 21562306a36Sopenharmony_ci PIN_SLP(gpb-1, OUT1, NONE); 21662306a36Sopenharmony_ci PIN_SLP(gpb-2, OUT0, NONE); 21762306a36Sopenharmony_ci PIN_SLP(gpb-3, PREV, NONE); 21862306a36Sopenharmony_ci PIN_SLP(gpb-4, INPUT, NONE); 21962306a36Sopenharmony_ci PIN_SLP(gpb-5, PREV, NONE); 22062306a36Sopenharmony_ci PIN_SLP(gpb-6, INPUT, DOWN); 22162306a36Sopenharmony_ci PIN_SLP(gpb-7, OUT0, NONE); 22262306a36Sopenharmony_ci 22362306a36Sopenharmony_ci PIN_SLP(gpc0-0, OUT0, NONE); 22462306a36Sopenharmony_ci PIN_SLP(gpc0-1, INPUT, DOWN); 22562306a36Sopenharmony_ci PIN_SLP(gpc0-2, OUT0, NONE); 22662306a36Sopenharmony_ci PIN_SLP(gpc0-3, INPUT, NONE); 22762306a36Sopenharmony_ci PIN_SLP(gpc0-4, OUT0, NONE); 22862306a36Sopenharmony_ci 22962306a36Sopenharmony_ci PIN_SLP(gpc1-0, INPUT, DOWN); 23062306a36Sopenharmony_ci PIN_SLP(gpc1-1, INPUT, DOWN); 23162306a36Sopenharmony_ci PIN_SLP(gpc1-2, INPUT, DOWN); 23262306a36Sopenharmony_ci PIN_SLP(gpc1-3, INPUT, DOWN); 23362306a36Sopenharmony_ci PIN_SLP(gpc1-4, INPUT, DOWN); 23462306a36Sopenharmony_ci 23562306a36Sopenharmony_ci PIN_SLP(gpd0-0, INPUT, DOWN); 23662306a36Sopenharmony_ci PIN_SLP(gpd0-1, OUT0, NONE); 23762306a36Sopenharmony_ci PIN_SLP(gpd0-2, INPUT, DOWN); 23862306a36Sopenharmony_ci PIN_SLP(gpd0-3, INPUT, DOWN); 23962306a36Sopenharmony_ci 24062306a36Sopenharmony_ci PIN_SLP(gpd1-0, INPUT, NONE); 24162306a36Sopenharmony_ci PIN_SLP(gpd1-1, INPUT, NONE); 24262306a36Sopenharmony_ci PIN_SLP(gpd1-2, INPUT, NONE); 24362306a36Sopenharmony_ci PIN_SLP(gpd1-3, INPUT, NONE); 24462306a36Sopenharmony_ci PIN_SLP(gpd1-4, INPUT, DOWN); 24562306a36Sopenharmony_ci PIN_SLP(gpd1-5, INPUT, DOWN); 24662306a36Sopenharmony_ci 24762306a36Sopenharmony_ci PIN_SLP(gpe0-0, INPUT, DOWN); 24862306a36Sopenharmony_ci PIN_SLP(gpe0-1, INPUT, DOWN); 24962306a36Sopenharmony_ci PIN_SLP(gpe0-2, INPUT, DOWN); 25062306a36Sopenharmony_ci PIN_SLP(gpe0-3, INPUT, DOWN); 25162306a36Sopenharmony_ci PIN_SLP(gpe0-4, INPUT, DOWN); 25262306a36Sopenharmony_ci PIN_SLP(gpe0-5, INPUT, DOWN); 25362306a36Sopenharmony_ci PIN_SLP(gpe0-6, INPUT, DOWN); 25462306a36Sopenharmony_ci PIN_SLP(gpe0-7, INPUT, DOWN); 25562306a36Sopenharmony_ci 25662306a36Sopenharmony_ci PIN_SLP(gpe1-0, INPUT, DOWN); 25762306a36Sopenharmony_ci PIN_SLP(gpe1-1, INPUT, DOWN); 25862306a36Sopenharmony_ci PIN_SLP(gpe1-2, INPUT, DOWN); 25962306a36Sopenharmony_ci PIN_SLP(gpe1-3, OUT0, NONE); 26062306a36Sopenharmony_ci PIN_SLP(gpe1-4, INPUT, DOWN); 26162306a36Sopenharmony_ci 26262306a36Sopenharmony_ci PIN_SLP(gpf0-0, OUT0, NONE); 26362306a36Sopenharmony_ci PIN_SLP(gpf0-1, OUT0, NONE); 26462306a36Sopenharmony_ci PIN_SLP(gpf0-2, OUT0, NONE); 26562306a36Sopenharmony_ci PIN_SLP(gpf0-3, OUT0, NONE); 26662306a36Sopenharmony_ci PIN_SLP(gpf0-4, OUT0, NONE); 26762306a36Sopenharmony_ci PIN_SLP(gpf0-5, OUT0, NONE); 26862306a36Sopenharmony_ci PIN_SLP(gpf0-6, OUT0, NONE); 26962306a36Sopenharmony_ci PIN_SLP(gpf0-7, OUT0, NONE); 27062306a36Sopenharmony_ci 27162306a36Sopenharmony_ci PIN_SLP(gpf1-0, OUT0, NONE); 27262306a36Sopenharmony_ci PIN_SLP(gpf1-1, OUT0, NONE); 27362306a36Sopenharmony_ci PIN_SLP(gpf1-2, OUT0, NONE); 27462306a36Sopenharmony_ci PIN_SLP(gpf1-3, OUT0, NONE); 27562306a36Sopenharmony_ci PIN_SLP(gpf1-4, OUT0, NONE); 27662306a36Sopenharmony_ci PIN_SLP(gpf1-5, OUT0, NONE); 27762306a36Sopenharmony_ci PIN_SLP(gpf1-6, OUT0, NONE); 27862306a36Sopenharmony_ci PIN_SLP(gpf1-7, OUT0, NONE); 27962306a36Sopenharmony_ci 28062306a36Sopenharmony_ci PIN_SLP(gpf2-0, OUT0, NONE); 28162306a36Sopenharmony_ci PIN_SLP(gpf2-1, OUT0, NONE); 28262306a36Sopenharmony_ci PIN_SLP(gpf2-2, OUT0, NONE); 28362306a36Sopenharmony_ci PIN_SLP(gpf2-3, OUT0, NONE); 28462306a36Sopenharmony_ci PIN_SLP(gpf2-4, OUT0, NONE); 28562306a36Sopenharmony_ci PIN_SLP(gpf2-5, OUT0, NONE); 28662306a36Sopenharmony_ci PIN_SLP(gpf2-6, OUT0, NONE); 28762306a36Sopenharmony_ci PIN_SLP(gpf2-7, OUT0, NONE); 28862306a36Sopenharmony_ci 28962306a36Sopenharmony_ci PIN_SLP(gpf3-0, OUT0, NONE); 29062306a36Sopenharmony_ci PIN_SLP(gpf3-1, OUT0, NONE); 29162306a36Sopenharmony_ci PIN_SLP(gpf3-2, OUT0, NONE); 29262306a36Sopenharmony_ci PIN_SLP(gpf3-3, OUT0, NONE); 29362306a36Sopenharmony_ci PIN_SLP(gpf3-4, PREV, NONE); 29462306a36Sopenharmony_ci PIN_SLP(gpf3-5, INPUT, DOWN); 29562306a36Sopenharmony_ci 29662306a36Sopenharmony_ci PIN_SLP(gpg0-0, OUT0, NONE); 29762306a36Sopenharmony_ci PIN_SLP(gpg0-1, INPUT, NONE); 29862306a36Sopenharmony_ci PIN_SLP(gpg0-2, INPUT, NONE); 29962306a36Sopenharmony_ci PIN_SLP(gpg0-3, INPUT, NONE); 30062306a36Sopenharmony_ci PIN_SLP(gpg0-4, INPUT, NONE); 30162306a36Sopenharmony_ci PIN_SLP(gpg0-5, INPUT, NONE); 30262306a36Sopenharmony_ci PIN_SLP(gpg0-6, INPUT, NONE); 30362306a36Sopenharmony_ci 30462306a36Sopenharmony_ci PIN_SLP(gpg1-0, OUT0, NONE); 30562306a36Sopenharmony_ci PIN_SLP(gpg1-1, OUT1, NONE); 30662306a36Sopenharmony_ci PIN_SLP(gpg1-2, PREV, NONE); 30762306a36Sopenharmony_ci PIN_SLP(gpg1-3, OUT1, NONE); 30862306a36Sopenharmony_ci PIN_SLP(gpg1-4, OUT1, NONE); 30962306a36Sopenharmony_ci PIN_SLP(gpg1-5, OUT1, NONE); 31062306a36Sopenharmony_ci PIN_SLP(gpg1-6, OUT1, NONE); 31162306a36Sopenharmony_ci 31262306a36Sopenharmony_ci PIN_SLP(gpg2-0, OUT0, NONE); 31362306a36Sopenharmony_ci PIN_SLP(gpg2-1, OUT0, NONE); 31462306a36Sopenharmony_ci PIN_SLP(gpg2-2, INPUT, NONE); 31562306a36Sopenharmony_ci PIN_SLP(gpg2-3, OUT0, NONE); 31662306a36Sopenharmony_ci PIN_SLP(gpg2-4, OUT0, NONE); 31762306a36Sopenharmony_ci PIN_SLP(gpg2-5, OUT0, NONE); 31862306a36Sopenharmony_ci PIN_SLP(gpg2-6, OUT0, NONE); 31962306a36Sopenharmony_ci 32062306a36Sopenharmony_ci PIN_SLP(gpg3-0, OUT1, NONE); 32162306a36Sopenharmony_ci PIN_SLP(gpg3-1, OUT0, NONE); 32262306a36Sopenharmony_ci PIN_SLP(gpg3-2, INPUT, NONE); 32362306a36Sopenharmony_ci PIN_SLP(gpg3-3, INPUT, DOWN); 32462306a36Sopenharmony_ci PIN_SLP(gpg3-4, OUT0, NONE); 32562306a36Sopenharmony_ci PIN_SLP(gpg3-5, OUT0, NONE); 32662306a36Sopenharmony_ci PIN_SLP(gpg3-6, INPUT, DOWN); 32762306a36Sopenharmony_ci 32862306a36Sopenharmony_ci PIN_SLP(gpi-0, PREV, NONE); 32962306a36Sopenharmony_ci PIN_SLP(gpi-1, INPUT, DOWN); 33062306a36Sopenharmony_ci PIN_SLP(gpi-2, PREV, NONE); 33162306a36Sopenharmony_ci PIN_SLP(gpi-3, PREV, NONE); 33262306a36Sopenharmony_ci PIN_SLP(gpi-4, PREV, NONE); 33362306a36Sopenharmony_ci PIN_SLP(gpi-5, INPUT, DOWN); 33462306a36Sopenharmony_ci PIN_SLP(gpi-6, INPUT, DOWN); 33562306a36Sopenharmony_ci 33662306a36Sopenharmony_ci PIN_SLP(gpj0-0, INPUT, NONE); 33762306a36Sopenharmony_ci PIN_SLP(gpj0-1, INPUT, NONE); 33862306a36Sopenharmony_ci PIN_SLP(gpj0-2, INPUT, NONE); 33962306a36Sopenharmony_ci PIN_SLP(gpj0-3, INPUT, NONE); 34062306a36Sopenharmony_ci PIN_SLP(gpj0-4, INPUT, NONE); 34162306a36Sopenharmony_ci PIN_SLP(gpj0-5, INPUT, DOWN); 34262306a36Sopenharmony_ci PIN_SLP(gpj0-6, OUT0, NONE); 34362306a36Sopenharmony_ci PIN_SLP(gpj0-7, INPUT, NONE); 34462306a36Sopenharmony_ci 34562306a36Sopenharmony_ci PIN_SLP(gpj1-0, INPUT, DOWN); 34662306a36Sopenharmony_ci PIN_SLP(gpj1-1, OUT0, NONE); 34762306a36Sopenharmony_ci PIN_SLP(gpj1-2, INPUT, DOWN); 34862306a36Sopenharmony_ci PIN_SLP(gpj1-3, PREV, NONE); 34962306a36Sopenharmony_ci PIN_SLP(gpj1-4, PREV, NONE); 35062306a36Sopenharmony_ci PIN_SLP(gpj1-5, OUT0, NONE); 35162306a36Sopenharmony_ci 35262306a36Sopenharmony_ci PIN_SLP(gpj2-0, INPUT, DOWN); 35362306a36Sopenharmony_ci PIN_SLP(gpj2-1, INPUT, DOWN); 35462306a36Sopenharmony_ci PIN_SLP(gpj2-2, OUT0, NONE); 35562306a36Sopenharmony_ci PIN_SLP(gpj2-3, INPUT, DOWN); 35662306a36Sopenharmony_ci PIN_SLP(gpj2-4, INPUT, UP); 35762306a36Sopenharmony_ci PIN_SLP(gpj2-5, PREV, NONE); 35862306a36Sopenharmony_ci PIN_SLP(gpj2-6, PREV, NONE); 35962306a36Sopenharmony_ci PIN_SLP(gpj2-7, OUT1, NONE); 36062306a36Sopenharmony_ci 36162306a36Sopenharmony_ci PIN_SLP(gpj3-0, INPUT, NONE); 36262306a36Sopenharmony_ci PIN_SLP(gpj3-1, INPUT, NONE); 36362306a36Sopenharmony_ci PIN_SLP(gpj3-2, OUT0, NONE); 36462306a36Sopenharmony_ci PIN_SLP(gpj3-3, INPUT, DOWN); 36562306a36Sopenharmony_ci PIN_SLP(gpj3-4, INPUT, NONE); 36662306a36Sopenharmony_ci PIN_SLP(gpj3-5, INPUT, NONE); 36762306a36Sopenharmony_ci PIN_SLP(gpj3-6, INPUT, NONE); 36862306a36Sopenharmony_ci PIN_SLP(gpj3-7, INPUT, NONE); 36962306a36Sopenharmony_ci 37062306a36Sopenharmony_ci PIN_SLP(gpj4-0, INPUT, NONE); 37162306a36Sopenharmony_ci PIN_SLP(gpj4-1, INPUT, DOWN); 37262306a36Sopenharmony_ci PIN_SLP(gpj4-2, PREV, NONE); 37362306a36Sopenharmony_ci PIN_SLP(gpj4-3, INPUT, NONE); 37462306a36Sopenharmony_ci PIN_SLP(gpj4-4, INPUT, DOWN); 37562306a36Sopenharmony_ci 37662306a36Sopenharmony_ci PIN_SLP(mp01-0, INPUT, DOWN); 37762306a36Sopenharmony_ci PIN_SLP(mp01-1, OUT0, NONE); 37862306a36Sopenharmony_ci PIN_SLP(mp01-2, INPUT, DOWN); 37962306a36Sopenharmony_ci PIN_SLP(mp01-3, INPUT, DOWN); 38062306a36Sopenharmony_ci PIN_SLP(mp01-4, OUT1, NONE); 38162306a36Sopenharmony_ci PIN_SLP(mp01-5, INPUT, DOWN); 38262306a36Sopenharmony_ci PIN_SLP(mp01-6, INPUT, DOWN); 38362306a36Sopenharmony_ci PIN_SLP(mp01-7, INPUT, DOWN); 38462306a36Sopenharmony_ci 38562306a36Sopenharmony_ci PIN_SLP(mp02-0, INPUT, DOWN); 38662306a36Sopenharmony_ci PIN_SLP(mp02-1, INPUT, DOWN); 38762306a36Sopenharmony_ci PIN_SLP(mp02-2, INPUT, NONE); 38862306a36Sopenharmony_ci PIN_SLP(mp02-3, INPUT, DOWN); 38962306a36Sopenharmony_ci 39062306a36Sopenharmony_ci PIN_SLP(mp03-0, INPUT, DOWN); 39162306a36Sopenharmony_ci PIN_SLP(mp03-1, INPUT, DOWN); 39262306a36Sopenharmony_ci PIN_SLP(mp03-2, OUT1, NONE); 39362306a36Sopenharmony_ci PIN_SLP(mp03-3, OUT0, NONE); 39462306a36Sopenharmony_ci PIN_SLP(mp03-4, INPUT, NONE); 39562306a36Sopenharmony_ci PIN_SLP(mp03-5, OUT1, NONE); 39662306a36Sopenharmony_ci PIN_SLP(mp03-6, INPUT, DOWN); 39762306a36Sopenharmony_ci PIN_SLP(mp03-7, INPUT, DOWN); 39862306a36Sopenharmony_ci 39962306a36Sopenharmony_ci PIN_SLP(mp04-0, INPUT, DOWN); 40062306a36Sopenharmony_ci PIN_SLP(mp04-1, OUT0, NONE); 40162306a36Sopenharmony_ci PIN_SLP(mp04-2, INPUT, DOWN); 40262306a36Sopenharmony_ci PIN_SLP(mp04-3, OUT0, NONE); 40362306a36Sopenharmony_ci PIN_SLP(mp04-4, INPUT, DOWN); 40462306a36Sopenharmony_ci PIN_SLP(mp04-5, INPUT, DOWN); 40562306a36Sopenharmony_ci PIN_SLP(mp04-6, OUT0, NONE); 40662306a36Sopenharmony_ci PIN_SLP(mp04-7, INPUT, DOWN); 40762306a36Sopenharmony_ci 40862306a36Sopenharmony_ci PIN_SLP(mp05-0, INPUT, NONE); 40962306a36Sopenharmony_ci PIN_SLP(mp05-1, INPUT, NONE); 41062306a36Sopenharmony_ci PIN_SLP(mp05-2, INPUT, NONE); 41162306a36Sopenharmony_ci PIN_SLP(mp05-3, INPUT, NONE); 41262306a36Sopenharmony_ci PIN_SLP(mp05-4, INPUT, DOWN); 41362306a36Sopenharmony_ci PIN_SLP(mp05-5, OUT0, NONE); 41462306a36Sopenharmony_ci PIN_SLP(mp05-6, INPUT, DOWN); 41562306a36Sopenharmony_ci PIN_SLP(mp05-7, PREV, NONE); 41662306a36Sopenharmony_ci 41762306a36Sopenharmony_ci PIN_SLP(mp06-0, INPUT, DOWN); 41862306a36Sopenharmony_ci PIN_SLP(mp06-1, INPUT, DOWN); 41962306a36Sopenharmony_ci PIN_SLP(mp06-2, INPUT, DOWN); 42062306a36Sopenharmony_ci PIN_SLP(mp06-3, INPUT, DOWN); 42162306a36Sopenharmony_ci PIN_SLP(mp06-4, INPUT, DOWN); 42262306a36Sopenharmony_ci PIN_SLP(mp06-5, INPUT, DOWN); 42362306a36Sopenharmony_ci PIN_SLP(mp06-6, INPUT, DOWN); 42462306a36Sopenharmony_ci PIN_SLP(mp06-7, INPUT, DOWN); 42562306a36Sopenharmony_ci 42662306a36Sopenharmony_ci PIN_SLP(mp07-0, INPUT, DOWN); 42762306a36Sopenharmony_ci PIN_SLP(mp07-1, INPUT, DOWN); 42862306a36Sopenharmony_ci PIN_SLP(mp07-2, INPUT, DOWN); 42962306a36Sopenharmony_ci PIN_SLP(mp07-3, INPUT, DOWN); 43062306a36Sopenharmony_ci PIN_SLP(mp07-4, INPUT, DOWN); 43162306a36Sopenharmony_ci PIN_SLP(mp07-5, INPUT, DOWN); 43262306a36Sopenharmony_ci PIN_SLP(mp07-6, INPUT, DOWN); 43362306a36Sopenharmony_ci PIN_SLP(mp07-7, INPUT, DOWN); 43462306a36Sopenharmony_ci }; 43562306a36Sopenharmony_ci}; 43662306a36Sopenharmony_ci 43762306a36Sopenharmony_ci&sdhci0 { 43862306a36Sopenharmony_ci bus-width = <4>; 43962306a36Sopenharmony_ci non-removable; 44062306a36Sopenharmony_ci mmc-pwrseq = <&nand_pwrseq>; 44162306a36Sopenharmony_ci pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>; 44262306a36Sopenharmony_ci pinctrl-names = "default"; 44362306a36Sopenharmony_ci status = "okay"; 44462306a36Sopenharmony_ci 44562306a36Sopenharmony_ci assigned-clocks = <&clocks MOUT_MMC0>, <&clocks SCLK_MMC0>; 44662306a36Sopenharmony_ci assigned-clock-rates = <0>, <52000000>; 44762306a36Sopenharmony_ci assigned-clock-parents = <&clocks MOUT_MPLL>; 44862306a36Sopenharmony_ci}; 449