191f480d4SOndrej Jirman// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 291f480d4SOndrej Jirman// Copyright (C) 2019 Icenowy Zheng <icenowy@aosc.xyz> 391f480d4SOndrej Jirman// Copyright (C) 2020 Martijn Braam <martijn@brixit.nl> 491f480d4SOndrej Jirman// Copyright (C) 2020 Ondrej Jirman <megous@megous.com> 591f480d4SOndrej Jirman 691f480d4SOndrej Jirman#include "sun50i-a64.dtsi" 791f480d4SOndrej Jirman#include "sun50i-a64-cpu-opp.dtsi" 891f480d4SOndrej Jirman 991f480d4SOndrej Jirman#include <dt-bindings/gpio/gpio.h> 1091f480d4SOndrej Jirman#include <dt-bindings/input/input.h> 1191f480d4SOndrej Jirman#include <dt-bindings/leds/common.h> 1291f480d4SOndrej Jirman#include <dt-bindings/pwm/pwm.h> 1391f480d4SOndrej Jirman 1491f480d4SOndrej Jirman/ { 1591f480d4SOndrej Jirman aliases { 1691f480d4SOndrej Jirman serial0 = &uart0; 1791f480d4SOndrej Jirman }; 1891f480d4SOndrej Jirman 19a6a22f82SIcenowy Zheng backlight: backlight { 20a6a22f82SIcenowy Zheng compatible = "pwm-backlight"; 21a6a22f82SIcenowy Zheng pwms = <&r_pwm 0 50000 PWM_POLARITY_INVERTED>; 22a6a22f82SIcenowy Zheng enable-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */ 23a6a22f82SIcenowy Zheng /* Backlight configuration differs per PinePhone revision. */ 24a6a22f82SIcenowy Zheng }; 25a6a22f82SIcenowy Zheng 2691f480d4SOndrej Jirman chosen { 2791f480d4SOndrej Jirman stdout-path = "serial0:115200n8"; 2891f480d4SOndrej Jirman }; 2991f480d4SOndrej Jirman 3091f480d4SOndrej Jirman leds { 3191f480d4SOndrej Jirman compatible = "gpio-leds"; 3291f480d4SOndrej Jirman 3391f480d4SOndrej Jirman blue { 3491f480d4SOndrej Jirman function = LED_FUNCTION_INDICATOR; 3591f480d4SOndrej Jirman color = <LED_COLOR_ID_BLUE>; 3691f480d4SOndrej Jirman gpios = <&pio 3 20 GPIO_ACTIVE_HIGH>; /* PD20 */ 3791f480d4SOndrej Jirman }; 3891f480d4SOndrej Jirman 3991f480d4SOndrej Jirman green { 4091f480d4SOndrej Jirman function = LED_FUNCTION_INDICATOR; 4191f480d4SOndrej Jirman color = <LED_COLOR_ID_GREEN>; 4291f480d4SOndrej Jirman gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /* PD18 */ 4391f480d4SOndrej Jirman }; 4491f480d4SOndrej Jirman 4591f480d4SOndrej Jirman red { 4691f480d4SOndrej Jirman function = LED_FUNCTION_INDICATOR; 4791f480d4SOndrej Jirman color = <LED_COLOR_ID_RED>; 4891f480d4SOndrej Jirman gpios = <&pio 3 19 GPIO_ACTIVE_HIGH>; /* PD19 */ 4991f480d4SOndrej Jirman }; 5091f480d4SOndrej Jirman }; 5191f480d4SOndrej Jirman 52085d96b8SLuca Weiss sgm3140: led-controller { 53085d96b8SLuca Weiss compatible = "sgmicro,sgm3140"; 54085d96b8SLuca Weiss vin-supply = <®_dcdc1>; 55085d96b8SLuca Weiss 56085d96b8SLuca Weiss sgm3140_flash: led { 57085d96b8SLuca Weiss function = LED_FUNCTION_FLASH; 58085d96b8SLuca Weiss color = <LED_COLOR_ID_WHITE>; 59085d96b8SLuca Weiss flash-max-timeout-us = <250000>; 60085d96b8SLuca Weiss }; 61085d96b8SLuca Weiss }; 62085d96b8SLuca Weiss 6391f480d4SOndrej Jirman speaker_amp: audio-amplifier { 6491f480d4SOndrej Jirman compatible = "simple-audio-amplifier"; 6591f480d4SOndrej Jirman enable-gpios = <&pio 2 7 GPIO_ACTIVE_HIGH>; /* PC7 */ 6691f480d4SOndrej Jirman sound-name-prefix = "Speaker Amp"; 6791f480d4SOndrej Jirman }; 6891f480d4SOndrej Jirman 6991f480d4SOndrej Jirman vibrator { 7091f480d4SOndrej Jirman compatible = "gpio-vibrator"; 7191f480d4SOndrej Jirman enable-gpios = <&pio 3 2 GPIO_ACTIVE_HIGH>; /* PD2 */ 7291f480d4SOndrej Jirman vcc-supply = <®_dcdc1>; 7391f480d4SOndrej Jirman }; 7491f480d4SOndrej Jirman}; 7591f480d4SOndrej Jirman 7691f480d4SOndrej Jirman&codec { 7791f480d4SOndrej Jirman status = "okay"; 7891f480d4SOndrej Jirman}; 7991f480d4SOndrej Jirman 8091f480d4SOndrej Jirman&codec_analog { 8191f480d4SOndrej Jirman cpvdd-supply = <®_eldo1>; 8291f480d4SOndrej Jirman status = "okay"; 8391f480d4SOndrej Jirman}; 8491f480d4SOndrej Jirman 8591f480d4SOndrej Jirman&cpu0 { 8691f480d4SOndrej Jirman cpu-supply = <®_dcdc2>; 8791f480d4SOndrej Jirman}; 8891f480d4SOndrej Jirman 8991f480d4SOndrej Jirman&cpu1 { 9091f480d4SOndrej Jirman cpu-supply = <®_dcdc2>; 9191f480d4SOndrej Jirman}; 9291f480d4SOndrej Jirman 9391f480d4SOndrej Jirman&cpu2 { 9491f480d4SOndrej Jirman cpu-supply = <®_dcdc2>; 9591f480d4SOndrej Jirman}; 9691f480d4SOndrej Jirman 9791f480d4SOndrej Jirman&cpu3 { 9891f480d4SOndrej Jirman cpu-supply = <®_dcdc2>; 9991f480d4SOndrej Jirman}; 10091f480d4SOndrej Jirman 10191f480d4SOndrej Jirman&dai { 10291f480d4SOndrej Jirman status = "okay"; 10391f480d4SOndrej Jirman}; 10491f480d4SOndrej Jirman 105a6a22f82SIcenowy Zheng&de { 106a6a22f82SIcenowy Zheng status = "okay"; 107a6a22f82SIcenowy Zheng}; 108a6a22f82SIcenowy Zheng 109a6a22f82SIcenowy Zheng&dphy { 110a6a22f82SIcenowy Zheng status = "okay"; 111a6a22f82SIcenowy Zheng}; 112a6a22f82SIcenowy Zheng 113a6a22f82SIcenowy Zheng&dsi { 114a6a22f82SIcenowy Zheng vcc-dsi-supply = <®_dldo1>; 115a6a22f82SIcenowy Zheng status = "okay"; 116a6a22f82SIcenowy Zheng 117a6a22f82SIcenowy Zheng panel@0 { 118a6a22f82SIcenowy Zheng compatible = "xingbangda,xbd599"; 119a6a22f82SIcenowy Zheng reg = <0>; 120a6a22f82SIcenowy Zheng reset-gpios = <&pio 3 23 GPIO_ACTIVE_LOW>; /* PD23 */ 121a6a22f82SIcenowy Zheng iovcc-supply = <®_dldo2>; 122a6a22f82SIcenowy Zheng vcc-supply = <®_ldo_io0>; 123a6a22f82SIcenowy Zheng backlight = <&backlight>; 124a6a22f82SIcenowy Zheng }; 125a6a22f82SIcenowy Zheng}; 126a6a22f82SIcenowy Zheng 12791f480d4SOndrej Jirman&ehci0 { 12891f480d4SOndrej Jirman status = "okay"; 12991f480d4SOndrej Jirman}; 13091f480d4SOndrej Jirman 13191f480d4SOndrej Jirman&ehci1 { 13291f480d4SOndrej Jirman status = "okay"; 13391f480d4SOndrej Jirman}; 13491f480d4SOndrej Jirman 13560f2de5fSOndrej Jirman&i2c0 { 13660f2de5fSOndrej Jirman status = "okay"; 13760f2de5fSOndrej Jirman 13860f2de5fSOndrej Jirman touchscreen@5d { 13960f2de5fSOndrej Jirman compatible = "goodix,gt917s"; 14060f2de5fSOndrej Jirman reg = <0x5d>; 14160f2de5fSOndrej Jirman interrupt-parent = <&pio>; 14260f2de5fSOndrej Jirman interrupts = <7 4 IRQ_TYPE_LEVEL_HIGH>; /* PH4 */ 14360f2de5fSOndrej Jirman irq-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ 14460f2de5fSOndrej Jirman reset-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */ 14560f2de5fSOndrej Jirman AVDD28-supply = <®_ldo_io0>; 14660f2de5fSOndrej Jirman VDDIO-supply = <®_ldo_io0>; 14760f2de5fSOndrej Jirman touchscreen-size-x = <720>; 14860f2de5fSOndrej Jirman touchscreen-size-y = <1440>; 14960f2de5fSOndrej Jirman }; 15060f2de5fSOndrej Jirman}; 15160f2de5fSOndrej Jirman 15291f480d4SOndrej Jirman&i2c1 { 15391f480d4SOndrej Jirman status = "okay"; 15491f480d4SOndrej Jirman 15591f480d4SOndrej Jirman /* Magnetometer */ 156e53568caSOndrej Jirman lis3mdl: lis3mdl@1e { 15791f480d4SOndrej Jirman compatible = "st,lis3mdl-magn"; 15891f480d4SOndrej Jirman reg = <0x1e>; 15991f480d4SOndrej Jirman vdd-supply = <®_dldo1>; 16091f480d4SOndrej Jirman vddio-supply = <®_dldo1>; 16191f480d4SOndrej Jirman }; 16291f480d4SOndrej Jirman 163*a966ef62SOndrej Jirman /* Light/proximity sensor */ 164*a966ef62SOndrej Jirman stk3311@48 { 165*a966ef62SOndrej Jirman compatible = "sensortek,stk3311"; 166*a966ef62SOndrej Jirman reg = <0x48>; 167*a966ef62SOndrej Jirman interrupt-parent = <&pio>; 168*a966ef62SOndrej Jirman interrupts = <1 0 IRQ_TYPE_EDGE_FALLING>; /* PB0 */ 169*a966ef62SOndrej Jirman vdd-supply = <®_ldo_io0>; 170*a966ef62SOndrej Jirman leda-supply = <®_dldo1>; 171*a966ef62SOndrej Jirman }; 172*a966ef62SOndrej Jirman 17391f480d4SOndrej Jirman /* Accelerometer/gyroscope */ 17491f480d4SOndrej Jirman mpu6050@68 { 17591f480d4SOndrej Jirman compatible = "invensense,mpu6050"; 17691f480d4SOndrej Jirman reg = <0x68>; 17791f480d4SOndrej Jirman interrupt-parent = <&pio>; 17891f480d4SOndrej Jirman interrupts = <7 5 IRQ_TYPE_EDGE_RISING>; /* PH5 */ 17991f480d4SOndrej Jirman vdd-supply = <®_dldo1>; 18091f480d4SOndrej Jirman vddio-supply = <®_dldo1>; 18191f480d4SOndrej Jirman }; 18291f480d4SOndrej Jirman}; 18391f480d4SOndrej Jirman 18491f480d4SOndrej Jirman/* Connected to pogo pins (external spring based pinheader for user addons) */ 18591f480d4SOndrej Jirman&i2c2 { 18691f480d4SOndrej Jirman status = "okay"; 18791f480d4SOndrej Jirman}; 18891f480d4SOndrej Jirman 18991f480d4SOndrej Jirman&lradc { 19091f480d4SOndrej Jirman vref-supply = <®_aldo3>; 19191f480d4SOndrej Jirman status = "okay"; 19291f480d4SOndrej Jirman 19391f480d4SOndrej Jirman button-200 { 19491f480d4SOndrej Jirman label = "Volume Up"; 19591f480d4SOndrej Jirman linux,code = <KEY_VOLUMEUP>; 19691f480d4SOndrej Jirman channel = <0>; 19791f480d4SOndrej Jirman voltage = <200000>; 19891f480d4SOndrej Jirman }; 19991f480d4SOndrej Jirman 20091f480d4SOndrej Jirman button-400 { 20191f480d4SOndrej Jirman label = "Volume Down"; 20291f480d4SOndrej Jirman linux,code = <KEY_VOLUMEDOWN>; 20391f480d4SOndrej Jirman channel = <0>; 20491f480d4SOndrej Jirman voltage = <400000>; 20591f480d4SOndrej Jirman }; 20691f480d4SOndrej Jirman}; 20791f480d4SOndrej Jirman 20891f480d4SOndrej Jirman&mmc0 { 20991f480d4SOndrej Jirman pinctrl-names = "default"; 21091f480d4SOndrej Jirman pinctrl-0 = <&mmc0_pins>; 21191f480d4SOndrej Jirman vmmc-supply = <®_dcdc1>; 21291f480d4SOndrej Jirman vqmmc-supply = <®_dcdc1>; 21391f480d4SOndrej Jirman cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ 21491f480d4SOndrej Jirman disable-wp; 21591f480d4SOndrej Jirman bus-width = <4>; 21691f480d4SOndrej Jirman status = "okay"; 21791f480d4SOndrej Jirman}; 21891f480d4SOndrej Jirman 21991f480d4SOndrej Jirman&mmc2 { 22091f480d4SOndrej Jirman pinctrl-names = "default"; 22191f480d4SOndrej Jirman pinctrl-0 = <&mmc2_pins>; 22291f480d4SOndrej Jirman vmmc-supply = <®_dcdc1>; 22391f480d4SOndrej Jirman vqmmc-supply = <®_dcdc1>; 22491f480d4SOndrej Jirman bus-width = <8>; 22591f480d4SOndrej Jirman non-removable; 22691f480d4SOndrej Jirman cap-mmc-hw-reset; 22791f480d4SOndrej Jirman status = "okay"; 22891f480d4SOndrej Jirman}; 22991f480d4SOndrej Jirman 23091f480d4SOndrej Jirman&ohci0 { 23191f480d4SOndrej Jirman status = "okay"; 23291f480d4SOndrej Jirman}; 23391f480d4SOndrej Jirman 23491f480d4SOndrej Jirman&ohci1 { 23591f480d4SOndrej Jirman status = "okay"; 23691f480d4SOndrej Jirman}; 23791f480d4SOndrej Jirman 23891f480d4SOndrej Jirman&pio { 23991f480d4SOndrej Jirman vcc-pb-supply = <®_dcdc1>; 24091f480d4SOndrej Jirman vcc-pc-supply = <®_dcdc1>; 24191f480d4SOndrej Jirman vcc-pd-supply = <®_dcdc1>; 24291f480d4SOndrej Jirman vcc-pe-supply = <®_aldo1>; 24391f480d4SOndrej Jirman vcc-pf-supply = <®_dcdc1>; 24491f480d4SOndrej Jirman vcc-pg-supply = <®_dldo4>; 24591f480d4SOndrej Jirman vcc-ph-supply = <®_dcdc1>; 24691f480d4SOndrej Jirman}; 24791f480d4SOndrej Jirman 24891f480d4SOndrej Jirman&r_pio { 24991f480d4SOndrej Jirman /* 25091f480d4SOndrej Jirman * FIXME: We can't add that supply for now since it would 25191f480d4SOndrej Jirman * create a circular dependency between pinctrl, the regulator 25291f480d4SOndrej Jirman * and the RSB Bus. 25391f480d4SOndrej Jirman * 25491f480d4SOndrej Jirman * vcc-pl-supply = <®_aldo2>; 25591f480d4SOndrej Jirman */ 25691f480d4SOndrej Jirman}; 25791f480d4SOndrej Jirman 258a6a22f82SIcenowy Zheng&r_pwm { 259a6a22f82SIcenowy Zheng status = "okay"; 260a6a22f82SIcenowy Zheng}; 261a6a22f82SIcenowy Zheng 26291f480d4SOndrej Jirman&r_rsb { 26391f480d4SOndrej Jirman status = "okay"; 26491f480d4SOndrej Jirman 26591f480d4SOndrej Jirman axp803: pmic@3a3 { 26691f480d4SOndrej Jirman compatible = "x-powers,axp803"; 26791f480d4SOndrej Jirman reg = <0x3a3>; 26891f480d4SOndrej Jirman interrupt-parent = <&r_intc>; 26991f480d4SOndrej Jirman interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 27091f480d4SOndrej Jirman }; 27191f480d4SOndrej Jirman}; 27291f480d4SOndrej Jirman 27391f480d4SOndrej Jirman#include "axp803.dtsi" 27491f480d4SOndrej Jirman 27591f480d4SOndrej Jirman&battery_power_supply { 27691f480d4SOndrej Jirman status = "okay"; 27791f480d4SOndrej Jirman}; 27891f480d4SOndrej Jirman 27991f480d4SOndrej Jirman®_aldo1 { 28091f480d4SOndrej Jirman regulator-min-microvolt = <1800000>; 28191f480d4SOndrej Jirman regulator-max-microvolt = <1800000>; 28291f480d4SOndrej Jirman regulator-name = "dovdd-csi"; 28391f480d4SOndrej Jirman}; 28491f480d4SOndrej Jirman 28591f480d4SOndrej Jirman®_aldo2 { 28691f480d4SOndrej Jirman regulator-always-on; 28791f480d4SOndrej Jirman regulator-min-microvolt = <1800000>; 28891f480d4SOndrej Jirman regulator-max-microvolt = <1800000>; 28991f480d4SOndrej Jirman regulator-name = "vcc-pl"; 29091f480d4SOndrej Jirman}; 29191f480d4SOndrej Jirman 29291f480d4SOndrej Jirman®_aldo3 { 29391f480d4SOndrej Jirman regulator-always-on; 2943cf9bf3bSSamuel Holland regulator-min-microvolt = <3000000>; 2953cf9bf3bSSamuel Holland regulator-max-microvolt = <3000000>; 29691f480d4SOndrej Jirman regulator-name = "vcc-pll-avcc"; 29791f480d4SOndrej Jirman}; 29891f480d4SOndrej Jirman 29991f480d4SOndrej Jirman®_dcdc1 { 30091f480d4SOndrej Jirman regulator-always-on; 30191f480d4SOndrej Jirman regulator-min-microvolt = <3300000>; 30291f480d4SOndrej Jirman regulator-max-microvolt = <3300000>; 30391f480d4SOndrej Jirman regulator-name = "vcc-3v3"; 30491f480d4SOndrej Jirman}; 30591f480d4SOndrej Jirman 30691f480d4SOndrej Jirman®_dcdc2 { 30791f480d4SOndrej Jirman regulator-always-on; 30891f480d4SOndrej Jirman regulator-min-microvolt = <1000000>; 30991f480d4SOndrej Jirman regulator-max-microvolt = <1300000>; 31091f480d4SOndrej Jirman regulator-name = "vdd-cpux"; 31191f480d4SOndrej Jirman}; 31291f480d4SOndrej Jirman 31391f480d4SOndrej Jirman/* DCDC3 is polyphased with DCDC2 */ 31491f480d4SOndrej Jirman 31591f480d4SOndrej Jirman®_dcdc5 { 31691f480d4SOndrej Jirman regulator-always-on; 31791f480d4SOndrej Jirman regulator-min-microvolt = <1200000>; 31891f480d4SOndrej Jirman regulator-max-microvolt = <1200000>; 31991f480d4SOndrej Jirman regulator-name = "vcc-dram"; 32091f480d4SOndrej Jirman}; 32191f480d4SOndrej Jirman 32291f480d4SOndrej Jirman®_dcdc6 { 32391f480d4SOndrej Jirman regulator-always-on; 32491f480d4SOndrej Jirman regulator-min-microvolt = <1100000>; 32591f480d4SOndrej Jirman regulator-max-microvolt = <1100000>; 32691f480d4SOndrej Jirman regulator-name = "vdd-sys"; 32791f480d4SOndrej Jirman}; 32891f480d4SOndrej Jirman 32991f480d4SOndrej Jirman®_dldo1 { 33091f480d4SOndrej Jirman regulator-min-microvolt = <3300000>; 33191f480d4SOndrej Jirman regulator-max-microvolt = <3300000>; 33291f480d4SOndrej Jirman regulator-name = "vcc-dsi-sensor"; 33391f480d4SOndrej Jirman}; 33491f480d4SOndrej Jirman 33591f480d4SOndrej Jirman®_dldo2 { 33691f480d4SOndrej Jirman regulator-min-microvolt = <1800000>; 33791f480d4SOndrej Jirman regulator-max-microvolt = <1800000>; 33891f480d4SOndrej Jirman regulator-name = "vcc-mipi-io"; 33991f480d4SOndrej Jirman}; 34091f480d4SOndrej Jirman 34191f480d4SOndrej Jirman®_dldo3 { 34291f480d4SOndrej Jirman regulator-min-microvolt = <2800000>; 34391f480d4SOndrej Jirman regulator-max-microvolt = <2800000>; 34491f480d4SOndrej Jirman regulator-name = "avdd-csi"; 34591f480d4SOndrej Jirman}; 34691f480d4SOndrej Jirman 34791f480d4SOndrej Jirman®_dldo4 { 34891f480d4SOndrej Jirman regulator-min-microvolt = <1800000>; 34986be5c78SOndrej Jirman regulator-max-microvolt = <1800000>; 35091f480d4SOndrej Jirman regulator-name = "vcc-wifi-io"; 35191f480d4SOndrej Jirman}; 35291f480d4SOndrej Jirman 35391f480d4SOndrej Jirman®_eldo1 { 35491f480d4SOndrej Jirman regulator-always-on; 35591f480d4SOndrej Jirman regulator-min-microvolt = <1800000>; 35691f480d4SOndrej Jirman regulator-max-microvolt = <1800000>; 35791f480d4SOndrej Jirman regulator-name = "vcc-lpddr"; 35891f480d4SOndrej Jirman}; 35991f480d4SOndrej Jirman 36091f480d4SOndrej Jirman®_eldo3 { 36191f480d4SOndrej Jirman regulator-min-microvolt = <1800000>; 36291f480d4SOndrej Jirman regulator-max-microvolt = <1800000>; 36391f480d4SOndrej Jirman regulator-name = "dvdd-1v8-csi"; 36491f480d4SOndrej Jirman}; 36591f480d4SOndrej Jirman 36691f480d4SOndrej Jirman®_fldo1 { 36791f480d4SOndrej Jirman regulator-min-microvolt = <1200000>; 36891f480d4SOndrej Jirman regulator-max-microvolt = <1200000>; 36991f480d4SOndrej Jirman regulator-name = "vcc-1v2-hsic"; 37091f480d4SOndrej Jirman}; 37191f480d4SOndrej Jirman 37291f480d4SOndrej Jirman®_fldo2 { 37391f480d4SOndrej Jirman regulator-always-on; 37491f480d4SOndrej Jirman regulator-min-microvolt = <1100000>; 37591f480d4SOndrej Jirman regulator-max-microvolt = <1100000>; 37691f480d4SOndrej Jirman regulator-name = "vdd-cpus"; 37791f480d4SOndrej Jirman}; 37891f480d4SOndrej Jirman 37991f480d4SOndrej Jirman®_ldo_io0 { 38091f480d4SOndrej Jirman regulator-min-microvolt = <3300000>; 38191f480d4SOndrej Jirman regulator-max-microvolt = <3300000>; 38291f480d4SOndrej Jirman regulator-name = "vcc-lcd-ctp-stk"; 38391f480d4SOndrej Jirman status = "okay"; 38491f480d4SOndrej Jirman}; 38591f480d4SOndrej Jirman 38691f480d4SOndrej Jirman®_ldo_io1 { 38791f480d4SOndrej Jirman regulator-min-microvolt = <1800000>; 38891f480d4SOndrej Jirman regulator-max-microvolt = <1800000>; 38991f480d4SOndrej Jirman regulator-name = "vcc-1v8-typec"; 39091f480d4SOndrej Jirman status = "okay"; 39191f480d4SOndrej Jirman}; 39291f480d4SOndrej Jirman 39391f480d4SOndrej Jirman®_rtc_ldo { 39491f480d4SOndrej Jirman regulator-name = "vcc-rtc"; 39591f480d4SOndrej Jirman}; 39691f480d4SOndrej Jirman 39791f480d4SOndrej Jirman&sound { 39891f480d4SOndrej Jirman status = "okay"; 39991f480d4SOndrej Jirman simple-audio-card,aux-devs = <&codec_analog>, <&speaker_amp>; 40091f480d4SOndrej Jirman simple-audio-card,widgets = "Microphone", "Headset Microphone", 40191f480d4SOndrej Jirman "Microphone", "Internal Microphone", 40291f480d4SOndrej Jirman "Headphone", "Headphone Jack", 40391f480d4SOndrej Jirman "Speaker", "Internal Earpiece", 40491f480d4SOndrej Jirman "Speaker", "Internal Speaker"; 40591f480d4SOndrej Jirman simple-audio-card,routing = 40691f480d4SOndrej Jirman "Headphone Jack", "HP", 40791f480d4SOndrej Jirman "Internal Earpiece", "EARPIECE", 40891f480d4SOndrej Jirman "Internal Speaker", "Speaker Amp OUTL", 40991f480d4SOndrej Jirman "Internal Speaker", "Speaker Amp OUTR", 41091f480d4SOndrej Jirman "Speaker Amp INL", "LINEOUT", 41191f480d4SOndrej Jirman "Speaker Amp INR", "LINEOUT", 412631e6a35SSamuel Holland "Left DAC", "DACL", 413631e6a35SSamuel Holland "Right DAC", "DACR", 414631e6a35SSamuel Holland "ADCL", "Left ADC", 415631e6a35SSamuel Holland "ADCR", "Right ADC", 41691f480d4SOndrej Jirman "Internal Microphone", "MBIAS", 41791f480d4SOndrej Jirman "MIC1", "Internal Microphone", 41891f480d4SOndrej Jirman "Headset Microphone", "HBIAS", 41991f480d4SOndrej Jirman "MIC2", "Headset Microphone"; 42091f480d4SOndrej Jirman}; 42191f480d4SOndrej Jirman 42291f480d4SOndrej Jirman&uart0 { 42391f480d4SOndrej Jirman pinctrl-names = "default"; 42491f480d4SOndrej Jirman pinctrl-0 = <&uart0_pb_pins>; 42591f480d4SOndrej Jirman status = "okay"; 42691f480d4SOndrej Jirman}; 42791f480d4SOndrej Jirman 42891f480d4SOndrej Jirman/* Connected to the modem (hardware flow control can't be used) */ 42991f480d4SOndrej Jirman&uart3 { 43091f480d4SOndrej Jirman pinctrl-names = "default"; 43191f480d4SOndrej Jirman pinctrl-0 = <&uart3_pins>; 43291f480d4SOndrej Jirman status = "okay"; 43391f480d4SOndrej Jirman}; 43491f480d4SOndrej Jirman 43591f480d4SOndrej Jirman&usb_otg { 43691f480d4SOndrej Jirman dr_mode = "peripheral"; 43791f480d4SOndrej Jirman status = "okay"; 43891f480d4SOndrej Jirman}; 43991f480d4SOndrej Jirman 44091f480d4SOndrej Jirman&usb_power_supply { 44191f480d4SOndrej Jirman status = "okay"; 44291f480d4SOndrej Jirman}; 44391f480d4SOndrej Jirman 44491f480d4SOndrej Jirman&usbphy { 44591f480d4SOndrej Jirman status = "okay"; 44691f480d4SOndrej Jirman}; 447