1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2f126890aSEmmanuel Vadot/* 3*01950c46SEmmanuel Vadot * Copyright (C) 2015 Toby Churchill - https://www.toby-churchill.com/ 4*01950c46SEmmanuel Vadot * url above is defunct 5f126890aSEmmanuel Vadot */ 6f126890aSEmmanuel Vadot/dts-v1/; 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot#include "am33xx.dtsi" 9f126890aSEmmanuel Vadot#include <dt-bindings/pwm/pwm.h> 10f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 11f126890aSEmmanuel Vadot 12f126890aSEmmanuel Vadot/ { 13f126890aSEmmanuel Vadot model = "Toby Churchill SL50 Series"; 14f126890aSEmmanuel Vadot compatible = "tcl,am335x-sl50", "ti,am33xx"; 15f126890aSEmmanuel Vadot 16f126890aSEmmanuel Vadot cpus { 17f126890aSEmmanuel Vadot cpu@0 { 18f126890aSEmmanuel Vadot cpu0-supply = <&dcdc2_reg>; 19f126890aSEmmanuel Vadot }; 20f126890aSEmmanuel Vadot }; 21f126890aSEmmanuel Vadot 22f126890aSEmmanuel Vadot memory@80000000 { 23f126890aSEmmanuel Vadot device_type = "memory"; 24f126890aSEmmanuel Vadot reg = <0x80000000 0x20000000>; /* 512 MB */ 25f126890aSEmmanuel Vadot }; 26f126890aSEmmanuel Vadot 27f126890aSEmmanuel Vadot chosen { 28f126890aSEmmanuel Vadot stdout-path = &uart0; 29f126890aSEmmanuel Vadot }; 30f126890aSEmmanuel Vadot 31f126890aSEmmanuel Vadot leds { 32f126890aSEmmanuel Vadot compatible = "gpio-leds"; 33f126890aSEmmanuel Vadot pinctrl-names = "default"; 34f126890aSEmmanuel Vadot pinctrl-0 = <&led_pins>; 35f126890aSEmmanuel Vadot 36f126890aSEmmanuel Vadot led0 { 37f126890aSEmmanuel Vadot label = "sl50:red:usr0"; 38f126890aSEmmanuel Vadot gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; 39f126890aSEmmanuel Vadot default-state = "off"; 40f126890aSEmmanuel Vadot }; 41f126890aSEmmanuel Vadot 42f126890aSEmmanuel Vadot led1 { 43f126890aSEmmanuel Vadot label = "sl50:green:usr1"; 44f126890aSEmmanuel Vadot gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; 45f126890aSEmmanuel Vadot default-state = "off"; 46f126890aSEmmanuel Vadot }; 47f126890aSEmmanuel Vadot 48f126890aSEmmanuel Vadot led2 { 49f126890aSEmmanuel Vadot label = "sl50:red:usr2"; 50f126890aSEmmanuel Vadot gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; 51f126890aSEmmanuel Vadot default-state = "off"; 52f126890aSEmmanuel Vadot }; 53f126890aSEmmanuel Vadot 54f126890aSEmmanuel Vadot led3 { 55f126890aSEmmanuel Vadot label = "sl50:green:usr3"; 56f126890aSEmmanuel Vadot gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; 57f126890aSEmmanuel Vadot default-state = "off"; 58f126890aSEmmanuel Vadot }; 59f126890aSEmmanuel Vadot }; 60f126890aSEmmanuel Vadot 61f126890aSEmmanuel Vadot backlight0: disp0 { 62f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 63f126890aSEmmanuel Vadot pinctrl-names = "default"; 64f126890aSEmmanuel Vadot pinctrl-0 = <&backlight0_pins>; 65f126890aSEmmanuel Vadot pwms = <&ehrpwm1 0 500000 PWM_POLARITY_INVERTED>; 66f126890aSEmmanuel Vadot brightness-levels = < 0 1 2 3 4 5 6 7 8 9 67f126890aSEmmanuel Vadot 10 11 12 13 14 15 16 17 18 19 68f126890aSEmmanuel Vadot 20 21 22 23 24 25 26 27 28 29 69f126890aSEmmanuel Vadot 30 31 32 33 34 35 36 37 38 39 70f126890aSEmmanuel Vadot 40 41 42 43 44 45 46 47 48 49 71f126890aSEmmanuel Vadot 50 51 52 53 54 55 56 57 58 59 72f126890aSEmmanuel Vadot 60 61 62 63 64 65 66 67 68 69 73f126890aSEmmanuel Vadot 70 71 72 73 74 75 76 77 78 79 74f126890aSEmmanuel Vadot 80 81 82 83 84 85 86 87 88 89 75f126890aSEmmanuel Vadot 90 91 92 93 94 95 96 97 98 99 76f126890aSEmmanuel Vadot 100>; 77f126890aSEmmanuel Vadot default-brightness-level = <50>; 78f126890aSEmmanuel Vadot enable-gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>; 79f126890aSEmmanuel Vadot power-supply = <&vdd_sys_reg>; 80f126890aSEmmanuel Vadot }; 81f126890aSEmmanuel Vadot 82f126890aSEmmanuel Vadot backlight1: disp1 { 83f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 84f126890aSEmmanuel Vadot pinctrl-names = "default"; 85f126890aSEmmanuel Vadot pinctrl-0 = <&backlight1_pins>; 86f126890aSEmmanuel Vadot pwms = <&ehrpwm1 1 500000 PWM_POLARITY_INVERTED>; 87f126890aSEmmanuel Vadot brightness-levels = < 0 1 2 3 4 5 6 7 8 9 88f126890aSEmmanuel Vadot 10 11 12 13 14 15 16 17 18 19 89f126890aSEmmanuel Vadot 20 21 22 23 24 25 26 27 28 29 90f126890aSEmmanuel Vadot 30 31 32 33 34 35 36 37 38 39 91f126890aSEmmanuel Vadot 40 41 42 43 44 45 46 47 48 49 92f126890aSEmmanuel Vadot 50 51 52 53 54 55 56 57 58 59 93f126890aSEmmanuel Vadot 60 61 62 63 64 65 66 67 68 69 94f126890aSEmmanuel Vadot 70 71 72 73 74 75 76 77 78 79 95f126890aSEmmanuel Vadot 80 81 82 83 84 85 86 87 88 89 96f126890aSEmmanuel Vadot 90 91 92 93 94 95 96 97 98 99 97f126890aSEmmanuel Vadot 100>; 98f126890aSEmmanuel Vadot default-brightness-level = <50>; 99f126890aSEmmanuel Vadot enable-gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; 100f126890aSEmmanuel Vadot power-supply = <&vdd_sys_reg>; 101f126890aSEmmanuel Vadot }; 102f126890aSEmmanuel Vadot 103f126890aSEmmanuel Vadot clocks { 104f126890aSEmmanuel Vadot compatible = "simple-bus"; 105f126890aSEmmanuel Vadot #address-cells = <1>; 106f126890aSEmmanuel Vadot #size-cells = <0>; 107f126890aSEmmanuel Vadot 108f126890aSEmmanuel Vadot /* audio external oscillator */ 109f126890aSEmmanuel Vadot audio_mclk_fixed: oscillator@0 { 110f126890aSEmmanuel Vadot compatible = "fixed-clock"; 111f126890aSEmmanuel Vadot #clock-cells = <0>; 112f126890aSEmmanuel Vadot clock-frequency = <24576000>; /* 24.576MHz */ 113f126890aSEmmanuel Vadot }; 114f126890aSEmmanuel Vadot 115f126890aSEmmanuel Vadot audio_mclk: audio_mclk_gate@0 { 116f126890aSEmmanuel Vadot compatible = "gpio-gate-clock"; 117f126890aSEmmanuel Vadot #clock-cells = <0>; 118f126890aSEmmanuel Vadot pinctrl-names = "default"; 119f126890aSEmmanuel Vadot pinctrl-0 = <&audio_mclk_pins>; 120f126890aSEmmanuel Vadot clocks = <&audio_mclk_fixed>; 121f126890aSEmmanuel Vadot enable-gpios = <&gpio1 27 0>; 122f126890aSEmmanuel Vadot }; 123f126890aSEmmanuel Vadot }; 124f126890aSEmmanuel Vadot 125f126890aSEmmanuel Vadot panel: lcd_panel { 126f126890aSEmmanuel Vadot compatible = "ti,tilcdc,panel"; 127f126890aSEmmanuel Vadot pinctrl-names = "default"; 128f126890aSEmmanuel Vadot pinctrl-0 = <&lcd_pins>; 129f126890aSEmmanuel Vadot 130f126890aSEmmanuel Vadot panel-info { 131f126890aSEmmanuel Vadot ac-bias = <255>; 132f126890aSEmmanuel Vadot ac-bias-intrpt = <0>; 133f126890aSEmmanuel Vadot dma-burst-sz = <16>; 134f126890aSEmmanuel Vadot bpp = <16>; 135f126890aSEmmanuel Vadot fdd = <0x80>; 136f126890aSEmmanuel Vadot tft-alt-mode = <0>; 137f126890aSEmmanuel Vadot mono-8bit-mode = <0>; 138f126890aSEmmanuel Vadot sync-edge = <0>; 139f126890aSEmmanuel Vadot sync-ctrl = <1>; 140f126890aSEmmanuel Vadot raster-order = <0>; 141f126890aSEmmanuel Vadot fifo-th = <0>; 142f126890aSEmmanuel Vadot }; 143f126890aSEmmanuel Vadot 144f126890aSEmmanuel Vadot display-timings { 145f126890aSEmmanuel Vadot native-mode = <&timing0>; 146f126890aSEmmanuel Vadot timing0: 960x128 { 147f126890aSEmmanuel Vadot clock-frequency = <18000000>; 148f126890aSEmmanuel Vadot hactive = <960>; 149f126890aSEmmanuel Vadot vactive = <272>; 150f126890aSEmmanuel Vadot 151f126890aSEmmanuel Vadot hback-porch = <40>; 152f126890aSEmmanuel Vadot hfront-porch = <16>; 153f126890aSEmmanuel Vadot hsync-len = <24>; 154f126890aSEmmanuel Vadot hsync-active = <0>; 155f126890aSEmmanuel Vadot 156f126890aSEmmanuel Vadot vback-porch = <3>; 157f126890aSEmmanuel Vadot vfront-porch = <8>; 158f126890aSEmmanuel Vadot vsync-len = <4>; 159f126890aSEmmanuel Vadot vsync-active = <0>; 160f126890aSEmmanuel Vadot }; 161f126890aSEmmanuel Vadot }; 162f126890aSEmmanuel Vadot }; 163f126890aSEmmanuel Vadot 164f126890aSEmmanuel Vadot sound { 165f126890aSEmmanuel Vadot compatible = "audio-graph-card"; 166f126890aSEmmanuel Vadot label = "sound-card"; 167f126890aSEmmanuel Vadot pinctrl-names = "default"; 168f126890aSEmmanuel Vadot pinctrl-0 = <&audio_pa_pins>; 169f126890aSEmmanuel Vadot 170f126890aSEmmanuel Vadot widgets = "Headphone", "Headphone Jack", 171f126890aSEmmanuel Vadot "Speaker", "Speaker External", 172f126890aSEmmanuel Vadot "Line", "Line In", 173f126890aSEmmanuel Vadot "Microphone", "Microphone Jack"; 174f126890aSEmmanuel Vadot 175f126890aSEmmanuel Vadot routing = "Headphone Jack", "HPLOUT", 176f126890aSEmmanuel Vadot "Headphone Jack", "HPROUT", 177f126890aSEmmanuel Vadot "Amplifier", "MONO_LOUT", 178f126890aSEmmanuel Vadot "Speaker External", "Amplifier", 179f126890aSEmmanuel Vadot "LINE1R", "Line In", 180f126890aSEmmanuel Vadot "LINE1L", "Line In", 181f126890aSEmmanuel Vadot "MIC3L", "Microphone Jack", 182f126890aSEmmanuel Vadot "MIC3R", "Microphone Jack", 183f126890aSEmmanuel Vadot "Microphone Jack", "Mic Bias"; 184f126890aSEmmanuel Vadot 185f126890aSEmmanuel Vadot dais = <&cpu_port>; 186f126890aSEmmanuel Vadot 187f126890aSEmmanuel Vadot pa-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>; 188f126890aSEmmanuel Vadot }; 189f126890aSEmmanuel Vadot 190f126890aSEmmanuel Vadot emmc_pwrseq: pwrseq@0 { 191f126890aSEmmanuel Vadot compatible = "mmc-pwrseq-emmc"; 192f126890aSEmmanuel Vadot pinctrl-names = "default"; 193f126890aSEmmanuel Vadot pinctrl-0 = <&emmc_pwrseq_pins>; 194f126890aSEmmanuel Vadot reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>; 195f126890aSEmmanuel Vadot }; 196f126890aSEmmanuel Vadot 197f126890aSEmmanuel Vadot vdd_sys_reg: regulator@0 { 198f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 199f126890aSEmmanuel Vadot regulator-name = "vdd_sys_reg"; 200f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 201f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 202f126890aSEmmanuel Vadot regulator-always-on; 203f126890aSEmmanuel Vadot }; 204f126890aSEmmanuel Vadot 205f126890aSEmmanuel Vadot vmmcsd_fixed: fixedregulator0 { 206f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 207f126890aSEmmanuel Vadot regulator-name = "vmmcsd_fixed"; 208f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 209f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 210f126890aSEmmanuel Vadot }; 211f126890aSEmmanuel Vadot}; 212f126890aSEmmanuel Vadot 213f126890aSEmmanuel Vadot&am33xx_pinmux { 214f126890aSEmmanuel Vadot pinctrl-names = "default"; 215f126890aSEmmanuel Vadot pinctrl-0 = <&lwb_pins>; 216f126890aSEmmanuel Vadot 217f126890aSEmmanuel Vadot audio_pins: audio-pins { 218f126890aSEmmanuel Vadot pinctrl-single,pins = < 219f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKX, PIN_INPUT_PULLDOWN, MUX_MODE0) 220f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_FSX, PIN_INPUT_PULLDOWN, MUX_MODE0) 221f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKX, PIN_INPUT_PULLDOWN, MUX_MODE0) 222f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR0, PIN_INPUT_PULLDOWN, MUX_MODE0) 223f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_AHCLKR, PIN_OUTPUT_PULLDOWN, MUX_MODE2) 224f126890aSEmmanuel Vadot >; 225f126890aSEmmanuel Vadot }; 226f126890aSEmmanuel Vadot 227f126890aSEmmanuel Vadot audio_pa_pins: audio-pa-pins { 228f126890aSEmmanuel Vadot pinctrl-single,pins = < 229f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKR, PIN_INPUT_PULLDOWN, MUX_MODE7) /* SoundPA_en - mcasp0_aclkr.gpio3_18 */ 230f126890aSEmmanuel Vadot >; 231f126890aSEmmanuel Vadot }; 232f126890aSEmmanuel Vadot 233f126890aSEmmanuel Vadot audio_mclk_pins: audio-mclk-pins { 234f126890aSEmmanuel Vadot pinctrl-single,pins = < 235f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A11, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpmc_a11.gpio1_27 */ 236f126890aSEmmanuel Vadot >; 237f126890aSEmmanuel Vadot }; 238f126890aSEmmanuel Vadot 239f126890aSEmmanuel Vadot backlight0_pins: backlight0-pins { 240f126890aSEmmanuel Vadot pinctrl-single,pins = < 241f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_WEN, PIN_OUTPUT, MUX_MODE7) /* gpmc_wen.gpio2_4 */ 242f126890aSEmmanuel Vadot >; 243f126890aSEmmanuel Vadot }; 244f126890aSEmmanuel Vadot 245f126890aSEmmanuel Vadot backlight1_pins: backlight1-pins { 246f126890aSEmmanuel Vadot pinctrl-single,pins = < 247f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_OUTPUT, MUX_MODE7) /* gpmc_ad10.gpio0_26 */ 248f126890aSEmmanuel Vadot >; 249f126890aSEmmanuel Vadot }; 250f126890aSEmmanuel Vadot 251f126890aSEmmanuel Vadot lcd_pins: lcd-pins { 252f126890aSEmmanuel Vadot pinctrl-single,pins = < 253f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA0, PIN_OUTPUT, MUX_MODE0) 254f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA1, PIN_OUTPUT, MUX_MODE0) 255f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA2, PIN_OUTPUT, MUX_MODE0) 256f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA3, PIN_OUTPUT, MUX_MODE0) 257f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA4, PIN_OUTPUT, MUX_MODE0) 258f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA5, PIN_OUTPUT, MUX_MODE0) 259f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA6, PIN_OUTPUT, MUX_MODE0) 260f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA7, PIN_OUTPUT, MUX_MODE0) 261f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PIN_OUTPUT, MUX_MODE0) 262f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PIN_OUTPUT, MUX_MODE0) 263f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA10, PIN_OUTPUT, MUX_MODE0) 264f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA11, PIN_OUTPUT, MUX_MODE0) 265f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PIN_OUTPUT, MUX_MODE0) 266f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PIN_OUTPUT, MUX_MODE0) 267f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA14, PIN_OUTPUT, MUX_MODE0) 268f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_DATA15, PIN_OUTPUT, MUX_MODE0) 269f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 270f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 271f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 272f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 273f126890aSEmmanuel Vadot >; 274f126890aSEmmanuel Vadot }; 275f126890aSEmmanuel Vadot 276f126890aSEmmanuel Vadot led_pins: led-pins { 277f126890aSEmmanuel Vadot pinctrl-single,pins = < 278f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT, MUX_MODE7) /* gpmc_a5.gpio1_21 */ 279f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_OUTPUT, MUX_MODE7) /* gpmc_a6.gpio1_22 */ 280f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_OUTPUT, MUX_MODE7) /* gpmc_a7.gpio1_23 */ 281f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_OUTPUT, MUX_MODE7) /* gpmc_a8.gpio1_24 */ 282f126890aSEmmanuel Vadot >; 283f126890aSEmmanuel Vadot }; 284f126890aSEmmanuel Vadot 285f126890aSEmmanuel Vadot uart0_pins: uart0-pins { 286f126890aSEmmanuel Vadot pinctrl-single,pins = < 287f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0) 288f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 289f126890aSEmmanuel Vadot >; 290f126890aSEmmanuel Vadot }; 291f126890aSEmmanuel Vadot 292f126890aSEmmanuel Vadot uart1_pins: uart1-pins { 293f126890aSEmmanuel Vadot pinctrl-single,pins = < 294f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLUP, MUX_MODE0) 295f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 296f126890aSEmmanuel Vadot >; 297f126890aSEmmanuel Vadot }; 298f126890aSEmmanuel Vadot 299f126890aSEmmanuel Vadot uart4_pins: uart4-pins { 300f126890aSEmmanuel Vadot pinctrl-single,pins = < 301f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE6) /* gpmc_wait0.uart4_rxd */ 302f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_WPN, PIN_OUTPUT_PULLDOWN, MUX_MODE6) /* gpmc_wpn.uart4_txd */ 303f126890aSEmmanuel Vadot >; 304f126890aSEmmanuel Vadot }; 305f126890aSEmmanuel Vadot 306f126890aSEmmanuel Vadot i2c0_pins: i2c0-pins { 307f126890aSEmmanuel Vadot pinctrl-single,pins = < 308f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLUP, MUX_MODE0) 309f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT_PULLUP, MUX_MODE0) 310f126890aSEmmanuel Vadot >; 311f126890aSEmmanuel Vadot }; 312f126890aSEmmanuel Vadot 313f126890aSEmmanuel Vadot i2c2_pins: i2c2-pins { 314f126890aSEmmanuel Vadot pinctrl-single,pins = < 315f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLUP, MUX_MODE3) /* uart1_ctsn.i2c2_sda */ 316f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_INPUT_PULLUP, MUX_MODE3) /* uart1_rtsn.i2c2_scl */ 317f126890aSEmmanuel Vadot >; 318f126890aSEmmanuel Vadot }; 319f126890aSEmmanuel Vadot 320f126890aSEmmanuel Vadot cpsw_default: cpsw-default-pins { 321f126890aSEmmanuel Vadot pinctrl-single,pins = < 322f126890aSEmmanuel Vadot /* Slave 1 */ 323f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLUP, MUX_MODE0) 324f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 325f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLUP, MUX_MODE0) 326f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 327f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 328f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 329f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 330f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_INPUT_PULLUP, MUX_MODE0) 331f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLUP, MUX_MODE0) 332f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLUP, MUX_MODE0) 333f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLUP, MUX_MODE0) 334f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLUP, MUX_MODE0) 335f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLUP, MUX_MODE0) 336f126890aSEmmanuel Vadot >; 337f126890aSEmmanuel Vadot }; 338f126890aSEmmanuel Vadot 339f126890aSEmmanuel Vadot cpsw_sleep: cpsw-sleep-pins { 340f126890aSEmmanuel Vadot pinctrl-single,pins = < 341f126890aSEmmanuel Vadot /* Slave 1 reset value */ 342f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RX_ER, PIN_INPUT_PULLDOWN, MUX_MODE7) 343f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) 344f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLDOWN, MUX_MODE7) 345f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_INPUT_PULLDOWN, MUX_MODE7) 346f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_INPUT_PULLDOWN, MUX_MODE7) 347f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_INPUT_PULLDOWN, MUX_MODE7) 348f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_INPUT_PULLDOWN, MUX_MODE7) 349f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7) 350f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7) 351f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE7) 352f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE7) 353f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE7) 354f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE7) 355f126890aSEmmanuel Vadot >; 356f126890aSEmmanuel Vadot }; 357f126890aSEmmanuel Vadot 358f126890aSEmmanuel Vadot davinci_mdio_default: davinci-mdio-default-pins { 359f126890aSEmmanuel Vadot pinctrl-single,pins = < 360f126890aSEmmanuel Vadot /* MDIO */ 361f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0) 362f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0) 363f126890aSEmmanuel Vadot /* Ethernet */ 364f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLUP, MUX_MODE7) /* Ethernet_nRST - gpmc_ad14.gpio1_14 */ 365f126890aSEmmanuel Vadot >; 366f126890aSEmmanuel Vadot }; 367f126890aSEmmanuel Vadot 368f126890aSEmmanuel Vadot davinci_mdio_sleep: davinci-mdio-sleep-pins { 369f126890aSEmmanuel Vadot pinctrl-single,pins = < 370f126890aSEmmanuel Vadot /* MDIO reset value */ 371f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLDOWN, MUX_MODE7) 372f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_MDC, PIN_INPUT_PULLDOWN, MUX_MODE7) 373f126890aSEmmanuel Vadot >; 374f126890aSEmmanuel Vadot }; 375f126890aSEmmanuel Vadot 376f126890aSEmmanuel Vadot mmc1_pins: mmc1-pins { 377f126890aSEmmanuel Vadot pinctrl-single,pins = < 378f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT, MUX_MODE7) /* uart0_rtsn.gpio1_9 */ 379f126890aSEmmanuel Vadot >; 380f126890aSEmmanuel Vadot }; 381f126890aSEmmanuel Vadot 382f126890aSEmmanuel Vadot emmc_pwrseq_pins: emmc-pwrseq-pins { 383f126890aSEmmanuel Vadot pinctrl-single,pins = < 384f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A4, PIN_OUTPUT_PULLUP, MUX_MODE7) /* gpmc_a4.gpio1_20 */ 385f126890aSEmmanuel Vadot >; 386f126890aSEmmanuel Vadot }; 387f126890aSEmmanuel Vadot 388f126890aSEmmanuel Vadot emmc_pins: emmc-pins { 389f126890aSEmmanuel Vadot pinctrl-single,pins = < 390f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_CSN1, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_csn1.mmc1_clk */ 391f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_CSN2, PIN_INPUT_PULLUP, MUX_MODE2) /* gpmc_csn2.mmc1_cmd */ 392f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */ 393f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */ 394f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */ 395f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */ 396f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */ 397f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */ 398f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */ 399f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */ 400f126890aSEmmanuel Vadot >; 401f126890aSEmmanuel Vadot }; 402f126890aSEmmanuel Vadot 403f126890aSEmmanuel Vadot ehrpwm1_pins: ehrpwm1a-pins { 404f126890aSEmmanuel Vadot pinctrl-single,pins = < 405f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A2, PIN_OUTPUT, MUX_MODE6) /* gpmc_a2.ehrpwm1a */ 406f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A3, PIN_OUTPUT, MUX_MODE6) /* gpmc_a3.ehrpwm1b */ 407f126890aSEmmanuel Vadot >; 408f126890aSEmmanuel Vadot }; 409f126890aSEmmanuel Vadot 410f126890aSEmmanuel Vadot rtc0_irq_pins: rtc0-irq-pins { 411f126890aSEmmanuel Vadot pinctrl-single,pins = < 412f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD9, PIN_INPUT_PULLUP, MUX_MODE7) /* gpmc_ad9.gpio0_23 */ 413f126890aSEmmanuel Vadot >; 414f126890aSEmmanuel Vadot }; 415f126890aSEmmanuel Vadot 416f126890aSEmmanuel Vadot spi0_pins: spi0-pins { 417f126890aSEmmanuel Vadot pinctrl-single,pins = < 418f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_INPUT_PULLUP, MUX_MODE0) /* SPI0_MOSI */ 419f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT_PULLUP, MUX_MODE0) /* SPI0_MISO */ 420f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLUP, MUX_MODE0) 421f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT_PULLUP, MUX_MODE0) /* SPI0_CS0 (NBATTSS) */ 422f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT_PULLUP, MUX_MODE0) /* SPI0_CS1 (FPGA_FLASH_NCS) */ 423f126890aSEmmanuel Vadot >; 424f126890aSEmmanuel Vadot }; 425f126890aSEmmanuel Vadot 426f126890aSEmmanuel Vadot lwb_pins: lwb-pins { 427f126890aSEmmanuel Vadot pinctrl-single,pins = < 428f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLUP, MUX_MODE7) /* nKbdInt - gpmc_ad12.gpio1_12 */ 429f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLUP, MUX_MODE7) /* nKbdReset - gpmc_ad13.gpio1_13 */ 430f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A1, PIN_INPUT_PULLUP, MUX_MODE7) /* USB1_enPower - gpmc_a1.gpio1_17 */ 431f126890aSEmmanuel Vadot /* PDI Bus - Battery system */ 432f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_INPUT_PULLUP, MUX_MODE7) /* nBattReset gpmc_a0.gpio1_16 */ 433f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLUP, MUX_MODE7) /* BattPDIData gpmc_ad15.gpio1_15 */ 434f126890aSEmmanuel Vadot /* FPGA */ 435f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_AD8, PIN_INPUT_PULLUP, MUX_MODE7) /* FPGA_DONE - gpmc_ad8.gpio0_22 */ 436f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A0, PIN_INPUT_PULLUP, MUX_MODE7) /* FPGA_NRST - gpmc_a0.gpio1_16 */ 437f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A1, PIN_INPUT_PULLDOWN, MUX_MODE7) /* FPGA_RUN - gpmc_a1.gpio1_17 */ 438f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A9, PIN_INPUT_PULLUP, MUX_MODE7) /* ENFPGA - gpmc_a9.gpio1_25 */ 439f126890aSEmmanuel Vadot AM33XX_PADCONF(AM335X_PIN_GPMC_A10, PIN_INPUT_PULLDOWN, MUX_MODE7) /* FPGA_PROGRAM - gpmc_a10.gpio1_26 */ 440f126890aSEmmanuel Vadot >; 441f126890aSEmmanuel Vadot }; 442f126890aSEmmanuel Vadot}; 443f126890aSEmmanuel Vadot 444f126890aSEmmanuel Vadot&i2c0 { 445f126890aSEmmanuel Vadot status = "okay"; 446f126890aSEmmanuel Vadot pinctrl-names = "default"; 447f126890aSEmmanuel Vadot pinctrl-0 = <&i2c0_pins>; 448f126890aSEmmanuel Vadot 449f126890aSEmmanuel Vadot clock-frequency = <400000>; 450f126890aSEmmanuel Vadot 451f126890aSEmmanuel Vadot tps: tps@24 { 452f126890aSEmmanuel Vadot reg = <0x24>; 453f126890aSEmmanuel Vadot }; 454f126890aSEmmanuel Vadot 455f126890aSEmmanuel Vadot rtc0: rtc@68 { 456f126890aSEmmanuel Vadot compatible = "dallas,ds1339"; 457f126890aSEmmanuel Vadot pinctrl-names = "default"; 458f126890aSEmmanuel Vadot pinctrl-0 = <&rtc0_irq_pins>; 459f126890aSEmmanuel Vadot interrupt-parent = <&gpio0>; 460f126890aSEmmanuel Vadot interrupts = <23 IRQ_TYPE_EDGE_FALLING>; /* gpio 23 */ 461f126890aSEmmanuel Vadot wakeup-source; 462f126890aSEmmanuel Vadot trickle-resistor-ohms = <2000>; 463f126890aSEmmanuel Vadot reg = <0x68>; 464f126890aSEmmanuel Vadot }; 465f126890aSEmmanuel Vadot 466f126890aSEmmanuel Vadot eeprom: eeprom@50 { 467f126890aSEmmanuel Vadot compatible = "atmel,24c256"; 468f126890aSEmmanuel Vadot reg = <0x50>; 469f126890aSEmmanuel Vadot }; 470f126890aSEmmanuel Vadot 471f126890aSEmmanuel Vadot gpio_exp: mcp23017@20 { 472f126890aSEmmanuel Vadot compatible = "microchip,mcp23017"; 473f126890aSEmmanuel Vadot reg = <0x20>; 474f126890aSEmmanuel Vadot }; 475f126890aSEmmanuel Vadot 476f126890aSEmmanuel Vadot}; 477f126890aSEmmanuel Vadot 478f126890aSEmmanuel Vadot&i2c2 { 479f126890aSEmmanuel Vadot status = "okay"; 480f126890aSEmmanuel Vadot pinctrl-names = "default"; 481f126890aSEmmanuel Vadot pinctrl-0 = <&i2c2_pins>; 482f126890aSEmmanuel Vadot 483f126890aSEmmanuel Vadot clock-frequency = <400000>; 484f126890aSEmmanuel Vadot 485f126890aSEmmanuel Vadot audio_codec: tlv320aic3106@1b { 486f126890aSEmmanuel Vadot status = "okay"; 487f126890aSEmmanuel Vadot compatible = "ti,tlv320aic3106"; 488f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 489f126890aSEmmanuel Vadot reg = <0x1b>; 490f126890aSEmmanuel Vadot ai3x-micbias-vg = <2>; /* 2.5V */ 491f126890aSEmmanuel Vadot 492f126890aSEmmanuel Vadot AVDD-supply = <&ldo4_reg>; 493f126890aSEmmanuel Vadot IOVDD-supply = <&ldo4_reg>; 494f126890aSEmmanuel Vadot DRVDD-supply = <&ldo4_reg>; 495f126890aSEmmanuel Vadot DVDD-supply = <&ldo3_reg>; 496f126890aSEmmanuel Vadot 497f126890aSEmmanuel Vadot codec_port: port { 498f126890aSEmmanuel Vadot codec_endpoint: endpoint { 499f126890aSEmmanuel Vadot remote-endpoint = <&cpu_endpoint>; 500f126890aSEmmanuel Vadot clocks = <&audio_mclk>; 501f126890aSEmmanuel Vadot }; 502f126890aSEmmanuel Vadot }; 503f126890aSEmmanuel Vadot }; 504f126890aSEmmanuel Vadot 505f126890aSEmmanuel Vadot /* Ambient Light Sensor */ 506f126890aSEmmanuel Vadot als: isl29023@44 { 507f126890aSEmmanuel Vadot compatible = "isil,isl29023"; 508f126890aSEmmanuel Vadot reg = <0x44>; 509f126890aSEmmanuel Vadot }; 510f126890aSEmmanuel Vadot}; 511f126890aSEmmanuel Vadot 512f126890aSEmmanuel Vadot&rtc { 513f126890aSEmmanuel Vadot status = "disabled"; 514f126890aSEmmanuel Vadot}; 515f126890aSEmmanuel Vadot 516f126890aSEmmanuel Vadot&usb0 { 517f126890aSEmmanuel Vadot dr_mode = "otg"; 518f126890aSEmmanuel Vadot}; 519f126890aSEmmanuel Vadot 520f126890aSEmmanuel Vadot&usb1 { 521f126890aSEmmanuel Vadot dr_mode = "host"; 522f126890aSEmmanuel Vadot}; 523f126890aSEmmanuel Vadot 524f126890aSEmmanuel Vadot&mmc1 { 525f126890aSEmmanuel Vadot status = "okay"; 526f126890aSEmmanuel Vadot pinctrl-names = "default"; 527f126890aSEmmanuel Vadot pinctrl-0 = <&mmc1_pins>; 528f126890aSEmmanuel Vadot bus-width = <4>; 529f126890aSEmmanuel Vadot cd-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; 530f126890aSEmmanuel Vadot vmmc-supply = <&vmmcsd_fixed>; 531f126890aSEmmanuel Vadot}; 532f126890aSEmmanuel Vadot 533f126890aSEmmanuel Vadot&mmc2 { 534f126890aSEmmanuel Vadot status = "okay"; 535f126890aSEmmanuel Vadot pinctrl-names = "default"; 536f126890aSEmmanuel Vadot pinctrl-0 = <&emmc_pins>; 537f126890aSEmmanuel Vadot bus-width = <8>; 538f126890aSEmmanuel Vadot vmmc-supply = <&vmmcsd_fixed>; 539f126890aSEmmanuel Vadot mmc-pwrseq = <&emmc_pwrseq>; 540f126890aSEmmanuel Vadot}; 541f126890aSEmmanuel Vadot 542f126890aSEmmanuel Vadot&mcasp0 { 543f126890aSEmmanuel Vadot status = "okay"; 544f126890aSEmmanuel Vadot pinctrl-names = "default"; 545f126890aSEmmanuel Vadot pinctrl-0 = <&audio_pins>; 546f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 547f126890aSEmmanuel Vadot op-mode = <0>; /* MCASP_ISS_MODE */ 548f126890aSEmmanuel Vadot tdm-slots = <2>; 549f126890aSEmmanuel Vadot /* 4 serializers */ 550f126890aSEmmanuel Vadot serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 551f126890aSEmmanuel Vadot 0 0 1 2 552f126890aSEmmanuel Vadot >; 553f126890aSEmmanuel Vadot tx-num-evt = <32>; 554f126890aSEmmanuel Vadot rx-num-evt = <32>; 555f126890aSEmmanuel Vadot 556f126890aSEmmanuel Vadot cpu_port: port { 557f126890aSEmmanuel Vadot cpu_endpoint: endpoint { 558f126890aSEmmanuel Vadot remote-endpoint = <&codec_endpoint>; 559f126890aSEmmanuel Vadot 560f126890aSEmmanuel Vadot dai-format = "dsp_b"; 561f126890aSEmmanuel Vadot bitclock-master = <&codec_port>; 562f126890aSEmmanuel Vadot frame-master = <&codec_port>; 563f126890aSEmmanuel Vadot bitclock-inversion; 564f126890aSEmmanuel Vadot clocks = <&audio_mclk>; 565f126890aSEmmanuel Vadot }; 566f126890aSEmmanuel Vadot }; 567f126890aSEmmanuel Vadot}; 568f126890aSEmmanuel Vadot 569f126890aSEmmanuel Vadot&uart0 { 570f126890aSEmmanuel Vadot status = "okay"; 571f126890aSEmmanuel Vadot pinctrl-names = "default"; 572f126890aSEmmanuel Vadot pinctrl-0 = <&uart0_pins>; 573f126890aSEmmanuel Vadot}; 574f126890aSEmmanuel Vadot 575f126890aSEmmanuel Vadot&uart1 { 576f126890aSEmmanuel Vadot status = "okay"; 577f126890aSEmmanuel Vadot pinctrl-names = "default"; 578f126890aSEmmanuel Vadot pinctrl-0 = <&uart1_pins>; 579f126890aSEmmanuel Vadot}; 580f126890aSEmmanuel Vadot 581f126890aSEmmanuel Vadot&uart4 { 582f126890aSEmmanuel Vadot status = "okay"; 583f126890aSEmmanuel Vadot pinctrl-names = "default"; 584f126890aSEmmanuel Vadot pinctrl-0 = <&uart4_pins>; 585f126890aSEmmanuel Vadot}; 586f126890aSEmmanuel Vadot 587f126890aSEmmanuel Vadot&spi0 { 588f126890aSEmmanuel Vadot status = "okay"; 589f126890aSEmmanuel Vadot pinctrl-names = "default"; 590f126890aSEmmanuel Vadot pinctrl-0 = <&spi0_pins>; 591f126890aSEmmanuel Vadot 592f126890aSEmmanuel Vadot flash: flash@1 { 593f126890aSEmmanuel Vadot #address-cells = <1>; 594f126890aSEmmanuel Vadot #size-cells = <1>; 595f126890aSEmmanuel Vadot compatible = "micron,n25q032"; 596f126890aSEmmanuel Vadot reg = <1>; 597f126890aSEmmanuel Vadot spi-max-frequency = <5000000>; 598f126890aSEmmanuel Vadot }; 599f126890aSEmmanuel Vadot}; 600f126890aSEmmanuel Vadot 601f126890aSEmmanuel Vadot#include "../../tps65217.dtsi" 602f126890aSEmmanuel Vadot 603f126890aSEmmanuel Vadot&tps { 604f126890aSEmmanuel Vadot ti,pmic-shutdown-controller; 605f126890aSEmmanuel Vadot 606f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 607f126890aSEmmanuel Vadot interrupts = <7>; /* NNMI */ 608f126890aSEmmanuel Vadot 609f126890aSEmmanuel Vadot regulators { 610f126890aSEmmanuel Vadot dcdc1_reg: regulator@0 { 611f126890aSEmmanuel Vadot /* VDDS_DDR */ 612f126890aSEmmanuel Vadot regulator-min-microvolt = <1500000>; 613f126890aSEmmanuel Vadot regulator-max-microvolt = <1500000>; 614f126890aSEmmanuel Vadot regulator-always-on; 615f126890aSEmmanuel Vadot }; 616f126890aSEmmanuel Vadot 617f126890aSEmmanuel Vadot dcdc2_reg: regulator@1 { 618f126890aSEmmanuel Vadot /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ 619f126890aSEmmanuel Vadot regulator-name = "vdd_mpu"; 620f126890aSEmmanuel Vadot regulator-min-microvolt = <925000>; 621f126890aSEmmanuel Vadot regulator-max-microvolt = <1325000>; 622f126890aSEmmanuel Vadot regulator-boot-on; 623f126890aSEmmanuel Vadot regulator-always-on; 624f126890aSEmmanuel Vadot }; 625f126890aSEmmanuel Vadot 626f126890aSEmmanuel Vadot dcdc3_reg: regulator@2 { 627f126890aSEmmanuel Vadot /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ 628f126890aSEmmanuel Vadot regulator-name = "vdd_core"; 629f126890aSEmmanuel Vadot regulator-min-microvolt = <925000>; 630f126890aSEmmanuel Vadot regulator-max-microvolt = <1150000>; 631f126890aSEmmanuel Vadot regulator-boot-on; 632f126890aSEmmanuel Vadot regulator-always-on; 633f126890aSEmmanuel Vadot }; 634f126890aSEmmanuel Vadot 635f126890aSEmmanuel Vadot ldo1_reg: regulator@3 { 636f126890aSEmmanuel Vadot /* VRTC / VIO / VDDS*/ 637f126890aSEmmanuel Vadot regulator-always-on; 638f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 639f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 640f126890aSEmmanuel Vadot }; 641f126890aSEmmanuel Vadot 642f126890aSEmmanuel Vadot ldo2_reg: regulator@4 { 643f126890aSEmmanuel Vadot /* VDD_3V3AUX */ 644f126890aSEmmanuel Vadot regulator-always-on; 645f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 646f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 647f126890aSEmmanuel Vadot }; 648f126890aSEmmanuel Vadot 649f126890aSEmmanuel Vadot ldo3_reg: regulator@5 { 650f126890aSEmmanuel Vadot /* VDD_1V8 */ 651f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 652f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 653f126890aSEmmanuel Vadot regulator-always-on; 654f126890aSEmmanuel Vadot }; 655f126890aSEmmanuel Vadot 656f126890aSEmmanuel Vadot ldo4_reg: regulator@6 { 657f126890aSEmmanuel Vadot /* VDD_3V3A */ 658f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 659f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 660f126890aSEmmanuel Vadot regulator-always-on; 661f126890aSEmmanuel Vadot }; 662f126890aSEmmanuel Vadot }; 663f126890aSEmmanuel Vadot}; 664f126890aSEmmanuel Vadot 665f126890aSEmmanuel Vadot&cpsw_port1 { 666f126890aSEmmanuel Vadot phy-mode = "mii"; 667f126890aSEmmanuel Vadot phy-handle = <ðphy0>; 668f126890aSEmmanuel Vadot ti,dual-emac-pvid = <1>; 669f126890aSEmmanuel Vadot}; 670f126890aSEmmanuel Vadot 671f126890aSEmmanuel Vadot&cpsw_port2 { 672f126890aSEmmanuel Vadot status = "disabled"; 673f126890aSEmmanuel Vadot}; 674f126890aSEmmanuel Vadot 675f126890aSEmmanuel Vadot&mac_sw { 676f126890aSEmmanuel Vadot status = "okay"; 677f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 678f126890aSEmmanuel Vadot pinctrl-0 = <&cpsw_default>; 679f126890aSEmmanuel Vadot pinctrl-1 = <&cpsw_sleep>; 680f126890aSEmmanuel Vadot}; 681f126890aSEmmanuel Vadot 682f126890aSEmmanuel Vadot&davinci_mdio_sw { 683f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep"; 684f126890aSEmmanuel Vadot pinctrl-0 = <&davinci_mdio_default>; 685f126890aSEmmanuel Vadot pinctrl-1 = <&davinci_mdio_sleep>; 686f126890aSEmmanuel Vadot reset-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 687f126890aSEmmanuel Vadot reset-delay-us = <100>; /* PHY datasheet states 100us min */ 688f126890aSEmmanuel Vadot 689f126890aSEmmanuel Vadot ethphy0: ethernet-phy@0 { 690f126890aSEmmanuel Vadot reg = <0>; 691f126890aSEmmanuel Vadot }; 692f126890aSEmmanuel Vadot}; 693f126890aSEmmanuel Vadot 694f126890aSEmmanuel Vadot&sham { 695f126890aSEmmanuel Vadot status = "okay"; 696f126890aSEmmanuel Vadot}; 697f126890aSEmmanuel Vadot 698f126890aSEmmanuel Vadot&aes { 699f126890aSEmmanuel Vadot status = "okay"; 700f126890aSEmmanuel Vadot}; 701f126890aSEmmanuel Vadot 702f126890aSEmmanuel Vadot&epwmss1 { 703f126890aSEmmanuel Vadot status = "okay"; 704f126890aSEmmanuel Vadot}; 705f126890aSEmmanuel Vadot 706f126890aSEmmanuel Vadot&ehrpwm1 { 707f126890aSEmmanuel Vadot status = "okay"; 708f126890aSEmmanuel Vadot pinctrl-names = "default"; 709f126890aSEmmanuel Vadot pinctrl-0 = <&ehrpwm1_pins>; 710f126890aSEmmanuel Vadot}; 711f126890aSEmmanuel Vadot 712f126890aSEmmanuel Vadot&lcdc { 713f126890aSEmmanuel Vadot status = "okay"; 714f126890aSEmmanuel Vadot}; 715f126890aSEmmanuel Vadot 716f126890aSEmmanuel Vadot&tscadc { 717f126890aSEmmanuel Vadot status = "okay"; 718f126890aSEmmanuel Vadot}; 719f126890aSEmmanuel Vadot 720f126890aSEmmanuel Vadot&am335x_adc { 721f126890aSEmmanuel Vadot ti,adc-channels = <0 1 2 3 4 5 6 7>; 722f126890aSEmmanuel Vadot}; 723