/* * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /dts-v1/; #include "dra74x.dtsi" #include "am57xx-evm-cmem.dtsi" #include "am57xx-industrial-grade.dtsi" #include #include / { model = "TI AM5728 BeagleBoard-X15"; compatible = "ti,am572x-beagle-x15", "ti,am5728-idk","ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; chosen { stdout-path = &uart3; }; aliases { rtc2 = &rtc; rtc1 = &tps659038_rtc; rtc0 = &i2c_rtc; ethernet2 = &pruss2_emac0; ethernet3 = &pruss2_emac1; }; memory { device_type = "memory"; reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GiB */ }; reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; ipu2_cma_pool: ipu2_cma@95800000 { compatible = "shared-dma-pool"; reg = <0x0 0x95800000 0x0 0x3800000>; reusable; status = "okay"; }; dsp1_cma_pool: dsp1_cma@99000000 { compatible = "shared-dma-pool"; reg = <0x0 0x99000000 0x0 0x4000000>; reusable; status = "okay"; }; ipu1_cma_pool: ipu1_cma@9d000000 { compatible = "shared-dma-pool"; reg = <0x0 0x9d000000 0x0 0x2000000>; reusable; status = "okay"; }; dsp2_cma_pool: dsp2_cma@9f000000 { compatible = "shared-dma-pool"; reg = <0x0 0x9f000000 0x0 0x1000000>; reusable; status = "okay"; }; }; vdd_3v3: fixedregulator-vdd_3v3 { compatible = "regulator-fixed"; regulator-name = "vdd_3v3"; vin-supply = <®en1>; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; vtt_fixed: fixedregulator-vtt { /* TPS51200 */ compatible = "regulator-fixed"; regulator-name = "vtt_fixed"; vin-supply = <&smps3_reg>; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; regulator-boot-on; enable-active-high; gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>; }; leds { compatible = "gpio-leds"; pinctrl-names = "default"; pinctrl-0 = <&leds_pins_default>; led@0 { label = "am57xx-phycore-som:red"; gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; default-state = "off"; }; led@1 { label = "am57xx-phycore-som:green"; gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>; linux,default-trigger = "cpu0"; default-state = "off"; }; }; leds-iio { status = "okay"; compatible = "gpio-leds"; led-out0 { label = "out0"; gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out1 { label = "out1"; gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out2 { label = "out2"; gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out3 { label = "out3"; gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out4 { label = "out4"; gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out5 { label = "out5"; gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out6 { label = "out6"; gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out7 { label = "out7"; gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>; default-state = "off"; }; }; i2c_gpio { compatible = "i2c-gpio"; #address-cells = <1>; #size-cells = <0>; autorepeat; input1_20 { label = "input1_20"; gpios = <&pcf_gpio_i2c1_20 0 GPIO_ACTIVE_LOW>; }; input2_20 { label = "input2_20"; gpios = <&pcf_gpio_i2c1_20 1 GPIO_ACTIVE_LOW>; }; input3_20 { label = "input3_20"; gpios = <&pcf_gpio_i2c1_20 2 GPIO_ACTIVE_LOW>; }; input4_20 { label = "input4_20"; gpios = <&pcf_gpio_i2c1_20 3 GPIO_ACTIVE_LOW>; }; input5_20 { label = "input5_20"; gpios = <&pcf_gpio_i2c1_20 4 GPIO_ACTIVE_LOW>; }; input6_20 { label = "input6_20"; gpios = <&pcf_gpio_i2c1_20 5 GPIO_ACTIVE_LOW>; }; input7_20 { label = "input7_20"; gpios = <&pcf_gpio_i2c1_20 6 GPIO_ACTIVE_LOW>; }; input8_20 { label = "input8_20"; gpios = <&pcf_gpio_i2c1_20 7 GPIO_ACTIVE_LOW>; }; input9_20 { label = "input9_20"; gpios = <&pcf_gpio_i2c1_20 8 GPIO_ACTIVE_LOW>; }; input10_20 { label = "input10_20"; gpios = <&pcf_gpio_i2c1_20 9 GPIO_ACTIVE_LOW>; }; input11_20 { label = "input11_20"; gpios = <&pcf_gpio_i2c1_20 10 GPIO_ACTIVE_LOW>; }; input12_20 { label = "input12_20"; gpios = <&pcf_gpio_i2c1_20 11 GPIO_ACTIVE_LOW>; }; input13_20 { label = "input13_20"; gpios = <&pcf_gpio_i2c1_20 12 GPIO_ACTIVE_LOW>; }; input14_20 { label = "input14_20"; gpios = <&pcf_gpio_i2c1_20 13 GPIO_ACTIVE_LOW>; }; input15_20 { label = "input15_20"; gpios = <&pcf_gpio_i2c1_20 14 GPIO_ACTIVE_LOW>; }; input16_20 { label = "input16_20"; gpios = <&pcf_gpio_i2c1_20 15 GPIO_ACTIVE_LOW>; }; input1_21 { label = "input1_21"; gpios = <&pcf_gpio_i2c1_21 0 GPIO_ACTIVE_LOW>; }; input2_21 { label = "input2_21"; gpios = <&pcf_gpio_i2c1_21 1 GPIO_ACTIVE_LOW>; }; input3_21 { label = "input3_21"; gpios = <&pcf_gpio_i2c1_21 2 GPIO_ACTIVE_LOW>; }; input4_21 { label = "input4_21"; gpios = <&pcf_gpio_i2c1_21 3 GPIO_ACTIVE_LOW>; }; input5_21 { label = "input5_21"; gpios = <&pcf_gpio_i2c1_21 4 GPIO_ACTIVE_LOW>; }; input6_21 { label = "input6_21"; gpios = <&pcf_gpio_i2c1_21 5 GPIO_ACTIVE_LOW>; }; input7_21 { label = "input7_21"; gpios = <&pcf_gpio_i2c1_21 6 GPIO_ACTIVE_LOW>; }; input8_21 { label = "input8_21"; gpios = <&pcf_gpio_i2c1_21 7 GPIO_ACTIVE_LOW>; }; input9_21 { label = "input9_21"; gpios = <&pcf_gpio_i2c1_21 8 GPIO_ACTIVE_LOW>; }; input10_21 { label = "input10_21"; gpios = <&pcf_gpio_i2c1_21 9 GPIO_ACTIVE_LOW>; }; input11_21 { label = "input11_21"; gpios = <&pcf_gpio_i2c1_21 10 GPIO_ACTIVE_LOW>; }; input12_21 { label = "input12_21"; gpios = <&pcf_gpio_i2c1_21 11 GPIO_ACTIVE_LOW>; }; input13_21 { label = "input13_21"; gpios = <&pcf_gpio_i2c1_21 12 GPIO_ACTIVE_LOW>; }; input14_21 { label = "input14_21"; gpios = <&pcf_gpio_i2c1_21 13 GPIO_ACTIVE_LOW>; }; input15_21 { label = "input15_21"; gpios = <&pcf_gpio_i2c1_21 14 GPIO_ACTIVE_LOW>; }; input16_21 { label = "input16_21"; gpios = <&pcf_gpio_i2c1_21 15 GPIO_ACTIVE_LOW>; }; input1_22 { label = "input1_22"; gpios = <&pcf_gpio_i2c3_22 0 GPIO_ACTIVE_LOW>; }; input2_22 { label = "input2_22"; gpios = <&pcf_gpio_i2c3_22 1 GPIO_ACTIVE_LOW>; }; input3_22 { label = "input3_22"; gpios = <&pcf_gpio_i2c3_22 2 GPIO_ACTIVE_LOW>; }; input4_22 { label = "input4_22"; gpios = <&pcf_gpio_i2c3_22 3 GPIO_ACTIVE_LOW>; }; input5_22 { label = "input5_22"; gpios = <&pcf_gpio_i2c3_22 4 GPIO_ACTIVE_LOW>; }; input6_22 { label = "input6_22"; gpios = <&pcf_gpio_i2c3_22 5 GPIO_ACTIVE_LOW>; }; input7_22 { label = "input7_22"; gpios = <&pcf_gpio_i2c3_22 6 GPIO_ACTIVE_LOW>; }; input8_22 { label = "input8_22"; gpios = <&pcf_gpio_i2c3_22 7 GPIO_ACTIVE_LOW>; }; input9_22 { label = "input9_22"; gpios = <&pcf_gpio_i2c3_22 8 GPIO_ACTIVE_LOW>; }; input10_22 { label = "input10_22"; gpios = <&pcf_gpio_i2c3_22 9 GPIO_ACTIVE_LOW>; }; input11_22 { label = "input11_22"; gpios = <&pcf_gpio_i2c3_22 10 GPIO_ACTIVE_LOW>; }; input12_22 { label = "input12_22"; gpios = <&pcf_gpio_i2c3_22 11 GPIO_ACTIVE_LOW>; }; input13_22 { label = "input13_22"; gpios = <&pcf_gpio_i2c3_22 12 GPIO_ACTIVE_LOW>; }; input14_22 { label = "input14_22"; gpios = <&pcf_gpio_i2c3_22 13 GPIO_ACTIVE_LOW>; }; input15_22 { label = "input15_22"; gpios = <&pcf_gpio_i2c3_22 14 GPIO_ACTIVE_LOW>; }; input16_22 { label = "input16_22"; gpios = <&pcf_gpio_i2c3_22 15 GPIO_ACTIVE_LOW>; }; input1_26 { label = "input1_26"; gpios = <&pcf_gpio_i2c3_20 0 GPIO_ACTIVE_LOW>; }; input2_26 { label = "input2_26"; gpios = <&pcf_gpio_i2c3_20 1 GPIO_ACTIVE_LOW>; }; input3_26 { label = "input3_26"; gpios = <&pcf_gpio_i2c3_20 2 GPIO_ACTIVE_LOW>; }; input4_26 { label = "input4_26"; gpios = <&pcf_gpio_i2c3_20 3 GPIO_ACTIVE_LOW>; }; input5_26 { label = "input5_26"; gpios = <&pcf_gpio_i2c3_20 4 GPIO_ACTIVE_LOW>; }; input6_26 { label = "input6_26"; gpios = <&pcf_gpio_i2c3_20 5 GPIO_ACTIVE_LOW>; }; input7_26 { label = "input7_26"; gpios = <&pcf_gpio_i2c3_20 6 GPIO_ACTIVE_LOW>; }; input8_26 { label = "input8_26"; gpios = <&pcf_gpio_i2c3_20 7 GPIO_ACTIVE_LOW>; }; input9_26 { label = "input9_26"; gpios = <&pcf_gpio_i2c3_20 8 GPIO_ACTIVE_LOW>; }; input10_26 { label = "input10_26"; gpios = <&pcf_gpio_i2c3_20 9 GPIO_ACTIVE_LOW>; }; input11_26 { label = "input11_26"; gpios = <&pcf_gpio_i2c3_20 10 GPIO_ACTIVE_LOW>; }; input12_26 { label = "input12_26"; gpios = <&pcf_gpio_i2c3_20 11 GPIO_ACTIVE_LOW>; }; input13_26 { label = "input13_26"; gpios = <&pcf_gpio_i2c3_20 12 GPIO_ACTIVE_LOW>; }; input14_26 { label = "input14_26"; gpios = <&pcf_gpio_i2c3_20 13 GPIO_ACTIVE_LOW>; }; input15_26 { label = "input15_26"; gpios = <&pcf_gpio_i2c3_20 14 GPIO_ACTIVE_LOW>; }; input16_26 { label = "input16_26"; gpios = <&pcf_gpio_i2c3_20 15 GPIO_ACTIVE_LOW>; }; }; /* Dual-MAC Ethernet application node on PRU-ICSS2 */ pruss2_eth { compatible = "ti,am57-prueth"; pruss = <&pruss2>; sram = <&ocmcram1>; interrupt-parent = <&pruss2_intc>; pruss2_emac0: ethernet-mii0 { phy-handle = <&pruss2_eth0_phy>; phy-mode = "mii"; interrupts = <20>, <22>; interrupt-names = "rx", "tx"; /* Filled in by bootloader */ local-mac-address = [00 00 00 00 00 00]; }; pruss2_emac1: ethernet-mii1 { phy-handle = <&pruss2_eth1_phy>; phy-mode = "mii"; interrupts = <21>, <23>; interrupt-names = "rx", "tx"; /* Filled in by bootloader */ local-mac-address = [00 00 00 00 00 00]; }; }; }; &dra7_pmx_core { leds_pins_default: leds_pins_default { pinctrl-single,pins = < 0x188 (PIN_OUTPUT | MUX_MODE14) /* vin2a_d8.gpio4_9 */ 0x18c (PIN_OUTPUT | MUX_MODE14) /* vin2a_d9.gpio4_10 */ >; }; i2c1_pins_default: i2c1_pins_default { pinctrl-single,pins = < 0x400 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda.sda */ 0x404 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl.scl */ >; }; i2c2_pins_default: i2c2_pins_default { pinctrl-single,pins = < 0x408 (PIN_INPUT | MUX_MODE0) /* hdmi1_ddc_scl */ 0x40c (PIN_INPUT | MUX_MODE0) /* hdmi1_ddc_sda */ >; }; i2c3_pins_default: i2c3_pins_default { pinctrl-single,pins = < 0x2a4 (PIN_INPUT| MUX_MODE9) /* gpio6_14.i2c3_sda */ 0x2a8 (PIN_INPUT| MUX_MODE9) /* gpio6_15.i2c3_scl */ >; }; uart3_pins_default: uart3_pins_default { pinctrl-single,pins = < 0x248 (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_rxd.rxd */ 0x24c (PIN_INPUT_SLEW | MUX_MODE0) /* uart3_txd.txd */ >; }; uart5_pins_default: uart5_pins_default { pinctrl-single,pins = < 0x1dc (PIN_INPUT_SLEW | MUX_MODE2) /* vout1_d0.uart5_rxd */ 0x1e0 (PIN_INPUT_SLEW | MUX_MODE2) /* vout1_d1.uart5_txd */ >; }; uart8_pins_default: uart8_pins_default { pinctrl-single,pins = < 0x3D0 (PIN_INPUT_SLEW | MUX_MODE2) /* dcan1_tx.uart8_rxd */ 0x3D4 (PIN_INPUT_SLEW | MUX_MODE2) /* dcan1_rx.uart8_txd */ >; }; mmc1_pins_default: mmc1_pins_default { pinctrl-single,pins = < 0x36c (PIN_INPUT | MUX_MODE0) /* mmc1sdcd.gpio6_27 */ 0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ 0x358 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ 0x35c (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ 0x360 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ 0x364 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ 0x368 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ >; }; mmc1_pins_hs: mmc1_pins_hs { pinctrl-single,pins = < 0x36c (PIN_INPUT | MUX_MODE0) /* mmc1sdcd.gpio6_27 */ 0x354 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_clk.clk */ 0x358 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_cmd.cmd */ 0x35c (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat0.dat0 */ 0x360 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat1.dat1 */ 0x364 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat2.dat2 */ 0x368 (PIN_INPUT_PULLUP | MUX_VIRTUAL_MODE11 | MUX_MODE0) /* mmc1_dat3.dat3 */ >; }; mmc2_pins_default: mmc2_pins_default { pinctrl-single,pins = < 0x9c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ 0xb0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ 0xa0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ 0xa4 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ 0xa8 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ 0xac (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ 0x8c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ 0x90 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ 0x94 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ 0x98 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ >; }; mmc2_pins_hs: mmc2_pins_hs { pinctrl-single,pins = < 0x9c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ 0xb0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ 0xa0 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ 0xa4 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ 0xa8 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ 0xac (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ 0x8c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ 0x90 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ 0x94 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ 0x98 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ >; }; mmc2_pins_ddr_1_8v: mmc2_pins_ddr_1_8v { pinctrl-single,pins = < 0x9c (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a23.mmc2_clk */ 0xb0 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ 0xa0 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ 0xa4 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ 0xa8 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ 0xac (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ 0x8c (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ 0x90 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ 0x94 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ 0x98 (PIN_INPUT_PULLUP | MANUAL_MODE | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ >; }; usb1_pins: pinmux_usb1_pins { pinctrl-single,pins = < 0x280 (PIN_INPUT_SLEW | MUX_MODE0) /* usb1_drvvbus */ >; }; usb2_pins_default: pinmux_usb2_pins_default { pinctrl-single,pins = < 0x284 (PIN_INPUT_SLEW | MUX_MODE0) /* usb2_drvvbus */ >; }; cpsw_pins_default: cpsw_pins_default { pinctrl-single,pins = < /* Slave 1 */ 0x250 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_tclk */ 0x254 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_tctl */ 0x258 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td3 */ 0x25c (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td2 */ 0x260 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td1 */ 0x264 (PIN_OUTPUT | MUX_MODE0) /* rgmii1_td0 */ 0x268 (PIN_INPUT | MUX_MODE0) /* rgmii1_rclk */ 0x26c (PIN_INPUT | MUX_MODE0) /* rgmii1_rctl */ 0x270 (PIN_INPUT | MUX_MODE0) /* rgmii1_rd3 */ 0x274 (PIN_INPUT | MUX_MODE0) /* rgmii1_rd2 */ 0x278 (PIN_INPUT | MUX_MODE0) /* rgmii1_rd1 */ 0x27c (PIN_INPUT | MUX_MODE0) /* rgmii1_rd0 */ /* Slave 2 */ 0x198 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_tclk */ 0x19c (PIN_OUTPUT | MUX_MODE3) /* rgmii2_tctl */ 0x1a0 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td3 */ 0x1a4 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td2 */ 0x1a8 (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td1 */ 0x1ac (PIN_OUTPUT | MUX_MODE3) /* rgmii2_td0 */ 0x1b0 (PIN_INPUT | MUX_MODE3) /* rgmii2_rclk */ 0x1b4 (PIN_INPUT | MUX_MODE3) /* rgmii2_rctl */ 0x1b8 (PIN_INPUT | MUX_MODE3) /* rgmii2_rd3 */ 0x1bc (PIN_INPUT | MUX_MODE3) /* rgmii2_rd2 */ 0x1c0 (PIN_INPUT | MUX_MODE3) /* rgmii2_rd1 */ 0x1c4 (PIN_INPUT | MUX_MODE3) /* rgmii2_rd0 */ >; }; davinci_mdio_pins_default: davinci_mdio_pins_default { pinctrl-single,pins = < /* MDIO */ 0x23c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_mclk */ 0x240 (PIN_INPUT_PULLUP | MUX_MODE0) /* mdio_d */ >; }; tps659038_pins_default: tps659038_pins_default { pinctrl-single,pins = < 0x418 (PIN_INPUT_PULLUP | MUX_MODE14) /* wakeup0.gpio1_0 */ >; }; tmp102_pins_default: tmp102_pins_default { pinctrl-single,pins = < 0x3C8 (PIN_INPUT_PULLUP | MUX_MODE14) /* spi2_d0.gpio7_16 */ >; }; pcie1_pins: pcie1_pins { pinctrl-single,pins = < 0x1e8 (PIN_INPUT | MUX_MODE14) /* vout1_d3.gpio8_3 */ 0x1ec (PIN_OUTPUT_PULLDOWN | MUX_MODE14) /* vout1_d4.gpio8_4 */ 0x1f0 (PIN_INPUT | MUX_MODE14) /* vout1_d5.gpio8_5 */ 0x1f8 (PIN_OUTPUT | MUX_MODE14) /* vout1_d7.gpio8_7 */ >; }; pru2_mii_pins_default: pru2_mii_pins_default{ pinctrl-single,pins = < /* Slave 1 */ 0x2B8 (PIN_INPUT | MUX_MODE11) /* mcasp1_axr1.pr2_mii_mt0_clk */ 0x2D4 (PIN_OUTPUT | MUX_MODE11) /* mcasp1_axr8.pr2_mii0_txen */ 0x2D8 (PIN_OUTPUT | MUX_MODE11) /* mcasp1_axr9.pr2_mii0_txd3 */ 0x2DC (PIN_OUTPUT | MUX_MODE11) /* mcasp1_axr10.pr2_mii0_txd2 */ 0x2E0 (PIN_OUTPUT | MUX_MODE11) /* mcasp1_axr11.pr2_mii0_txd1 */ 0x2E4 (PIN_OUTPUT | MUX_MODE11) /* mcasp1_axr12.pr2_mii0_txd0 */ 0x2E8 (PIN_INPUT | MUX_MODE11) /* mcasp1_axr13.pr2_mii_mr0_clk */ 0x2Ec (PIN_INPUT | MUX_MODE11) /* mcasp1_axr14.pr2_mii0_rxdv */ 0x2F0 (PIN_INPUT | MUX_MODE11) /* mcasp1_axr15.pr2_mii0_rxd3 */ 0x2F4 (PIN_INPUT | MUX_MODE11) /* mcasp2_aclkx.pr2_mii0_rxd2 */ 0x2F8 (PIN_INPUT | MUX_MODE11) /* mcasp2_fsx.pr2_mii0_rxd1 */ 0x30C (PIN_INPUT | MUX_MODE11) /* mcasp2_axr2.pr2_mii0_rxd0 */ /* Slave 2 */ 0x374 (PIN_INPUT | MUX_MODE11) /* gpio6_10.pr2_mii_mt1_clk */ 0x378 (PIN_OUTPUT | MUX_MODE11) /* gpio6_11.pr2_mii1_txen */ 0x37C (PIN_OUTPUT | MUX_MODE11) /* mmc3_clk.pr2_mii1_txd3 */ 0x380 (PIN_OUTPUT | MUX_MODE11) /* mmc3_cmd.pr2_mii1_txd2 */ 0x384 (PIN_OUTPUT | MUX_MODE11) /* mmc3_dat0.pr2_mii1_txd1 */ 0x388 (PIN_OUTPUT | MUX_MODE11) /* mmc3_dat1.pr2_mii1_txd0 */ 0x38C (PIN_INPUT | MUX_MODE11) /* mmc3_dat2.pr2_mii_mr1_clk */ 0x390 (PIN_INPUT | MUX_MODE11) /* mmc3_dat3.pr2_mii1_rxdv */ 0x394 (PIN_INPUT | MUX_MODE11) /* mmc3_dat4.pr2_mii1_rxd3 */ 0x398 (PIN_INPUT | MUX_MODE11) /* mmc3_dat5.pr2_mii1_rxd2 */ 0x39C (PIN_INPUT | MUX_MODE11) /* mmc3_dat6.pr2_mii1_rxd1 */ 0x3A0 (PIN_INPUT | MUX_MODE11) /* mmc3_dat7.pr2_mii1_rxd0 */ >; }; pru2_mii_davinci_mdio_pins_default: pru2_mii_davinci_mdio_pins_default{ pinctrl-single,pins = < /* MDIO */ 0x2A4 (PIN_OUTPUT | MUX_MODE11) /* mcasp1_aclkx.pr2_mdio_mdclk */ 0x2A8 (PIN_INPUT | MUX_MODE11) /* mcasp1_fsx.pr2_mdio_data */ >; }; }; &dra7_iodelay_core { mmc2_iodelay_ddr_1_8v_conf: mmc2_iodelay_ddr_1_8v_conf { pinctrl-single,pins = < 0x18c (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A19_IN */ 0x1a4 (A_DELAY(274) | G_DELAY(240)) /* CFG_GPMC_A20_IN */ 0x1b0 (A_DELAY(0) | G_DELAY(60)) /* CFG_GPMC_A21_IN */ 0x1bc (A_DELAY(0) | G_DELAY(60)) /* CFG_GPMC_A22_IN */ 0x1c8 (A_DELAY(514) | G_DELAY(360)) /* CFG_GPMC_A23_IN */ 0x1d4 (A_DELAY(187) | G_DELAY(120)) /* CFG_GPMC_A24_IN */ 0x1e0 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A25_IN */ 0x1ec (A_DELAY(0) | G_DELAY(60)) /* CFG_GPMC_A26_IN */ 0x1f8 (A_DELAY(121) | G_DELAY(60)) /* CFG_GPMC_A27_IN */ 0x360 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_CS1_IN */ 0x190 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A19_OEN */ 0x194 (A_DELAY(174) | G_DELAY(0)) /* CFG_GPMC_A19_OUT */ 0x1a8 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A20_OEN */ 0x1ac (A_DELAY(168) | G_DELAY(0)) /* CFG_GPMC_A20_OUT */ 0x1b4 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A21_OEN */ 0x1b8 (A_DELAY(136) | G_DELAY(0)) /* CFG_GPMC_A21_OUT */ 0x1c0 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A22_OEN */ 0x1c4 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A22_OUT */ 0x1d0 (A_DELAY(879) | G_DELAY(0)) /* CFG_GPMC_A23_OUT */ 0x1d8 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A24_OEN */ 0x1dc (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A24_OUT */ 0x1e4 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A25_OEN */ 0x1e8 (A_DELAY(34) | G_DELAY(0)) /* CFG_GPMC_A25_OUT */ 0x1f0 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A26_OEN */ 0x1f4 (A_DELAY(120) | G_DELAY(0)) /* CFG_GPMC_A26_OUT */ 0x1fc (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A27_OEN */ 0x200 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_A27_OUT */ 0x364 (A_DELAY(0) | G_DELAY(0)) /* CFG_GPMC_CS1_OEN */ 0x368 (A_DELAY(11) | G_DELAY(0)) /* CFG_GPMC_CS1_OUT */ >; }; }; &i2c1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins_default>; clock-frequency = <400000>; tps659038: tps659038@58 { compatible = "ti,tps659038"; reg = <0x58>; pinctrl-names = "default"; pinctrl-0 = <&tps659038_pins_default>; interrupt-parent = <&gpio1>; interrupts = <0 IRQ_TYPE_LEVEL_LOW>; #interrupt-cells = <2>; interrupt-controller; ti,system-power-controller; tps659038_pmic { compatible = "ti,tps659038-pmic"; regulators { smps12_reg: smps12 { /* VDD_MPU */ regulator-name = "smps12"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1250000>; regulator-always-on; regulator-boot-on; }; smps3_reg: smps3 { /* VDD_DDR */ regulator-name = "smps3"; regulator-min-microvolt = <1350000>; regulator-max-microvolt = <1350000>; regulator-always-on; regulator-boot-on; }; smps45_reg: smps45 { /* VDD_DSPEVE, VDD_IVA, VDD_GPU */ regulator-name = "smps45"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1150000>; regulator-always-on; regulator-boot-on; }; smps6_reg: smps6 { /* VDD_CORE */ regulator-name = "smps6"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1030000>; regulator-always-on; regulator-boot-on; }; /* SMPS7 unused */ smps8_reg: smps8 { /* VDD_1V8 */ regulator-name = "smps8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; /* SMPS9 unused */ ldo1_reg: ldo1 { /* VDD_SD / VDDSHV8 */ regulator-name = "ldo1"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-always-on; regulator-boot-on; }; ldo2_reg: ldo2 { /* VDD_SHV5 */ regulator-name = "ldo2"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; regulator-boot-on; }; ldo3_reg: ldo3 { /* VDDA_1V8_PHYA */ regulator-name = "ldo3"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; ldo4_reg: ldo4 { /* VDDA_1V8_PHYB */ regulator-name = "ldo4"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; ldo9_reg: ldo9 { /* VDD_RTC */ regulator-name = "ldo9"; regulator-min-microvolt = <1050000>; regulator-max-microvolt = <1050000>; regulator-always-on; regulator-boot-on; }; ldoln_reg: ldoln { /* VDDA_1V8_PLL */ regulator-name = "ldoln"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; ldousb_reg: ldousb { /* VDDA_3V_USB: VDDA_USBHS33 */ regulator-name = "ldousb"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-boot-on; }; regen1: regen1 { /* VDD_3V3_ON */ regulator-name = "regen1"; regulator-boot-on; regulator-always-on; }; }; }; tps659038_pwr_button: tps659038_pwr_button { compatible = "ti,palmas-pwrbutton"; interrupt-parent = <&tps659038>; interrupts = <1 IRQ_TYPE_EDGE_FALLING>; wakeup-source; ti,palmas-long-press-seconds = <12>; }; tps659038_rtc: tps659038_rtc { status = "disabled"; compatible = "ti,palmas-rtc"; interrupt-parent = <&tps659038>; interrupts = <8 IRQ_TYPE_EDGE_FALLING>; wakeup-source; }; }; i2c_eeprom: eeprom@50 { status = "disabled"; compatible = "at,24c32"; reg = <0x50>; pagesize = <32>; }; i2c_rtc: rtc@68 { status = "disabled"; compatible = "rv4162"; reg = <0x68>; }; tmp102: tmp102@48 { compatible = "ti,tmp102"; reg = <0x48>; interrupt-parent = <&gpio7>; interrupts = <16 IRQ_TYPE_LEVEL_LOW>; #thermal-sensor-cells = <1>; }; tpic2810: tpic2810@60 { compatible = "ti,tpic2810"; reg = <0x60>; gpio-controller; #gpio-cells = <2>; }; pcf_gpio_i2c1_20: gpio@20 { compatible = "nxp,pcf8575","ti,pcf8575"; reg = <0x20>; gpio-controller; #gpio-cells = <2>; }; pcf_gpio_i2c1_21: gpio@21 { compatible = "nxp,pcf8575","ti,pcf8575"; reg = <0x21>; gpio-controller; #gpio-cells = <2>; }; }; &i2c2{ status="okay"; }; &i2c3{ status="okay"; clock-frequency = <400000>; pcf_gpio_i2c3_22: gpio@22 { compatible = "nxp,pcf8575","ti,pcf8575"; reg = <0x22>; gpio-controller; #gpio-cells = <2>; }; pcf_gpio_i2c3_20: gpio@20 { compatible = "nxp,pcf8575","ti,pcf8575"; reg = <0x20>; gpio-controller; #gpio-cells = <2>; }; }; &gpio4 { ti,no-reset-on-init; ti,no-idle-on-init; }; &oppdm_mpu { vdd-supply = <&smps12_reg>; }; &oppdm_dspeve { vdd-supply = <&smps45_reg>; }; &oppdm_gpu { vdd-supply = <&smps45_reg>; }; &oppdm_ivahd { vdd-supply = <&smps45_reg>; }; &oppdm_core { vdd-supply = <&smps6_reg>; }; &mmc1 { status = "okay"; pinctrl-names = "default", "hs"; pinctrl-0 = <&mmc1_pins_default>; pinctrl-1 = <&mmc1_pins_hs>; vmmc-supply = <&ldo1_reg>; bus-width = <4>; max-frequency = <96000000>; /*cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ }; &mailbox3 { status = "okay"; mbox_pru1_0: mbox_pru1_0 { status = "okay"; }; mbox_pru1_1: mbox_pru1_1 { status = "okay"; }; }; &mailbox4 { status = "okay"; mbox_pru2_0: mbox_pru2_0 { status = "okay"; }; mbox_pru2_1: mbox_pru2_1 { status = "okay"; }; }; &mailbox5 { status = "okay"; mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { status = "okay"; }; mbox_dsp1_ipc3x: mbox_dsp1_ipc3x { status = "okay"; }; }; &mailbox6 { status = "okay"; mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { status = "okay"; }; mbox_dsp2_ipc3x: mbox_dsp2_ipc3x { status = "okay"; }; }; &mmu0_dsp1 { status = "okay"; }; &mmu1_dsp1 { status = "okay"; }; &mmu0_dsp2 { status = "okay"; }; &mmu1_dsp2 { status = "okay"; }; &mmu_ipu1 { status = "okay"; }; &mmu_ipu2 { status = "okay"; }; &ipu1 { status = "okay"; memory-region = <&ipu1_cma_pool>; mboxes = <&mailbox5 &mbox_ipu1_ipc3x>; timers = <&timer11>; }; &ipu2 { status = "okay"; memory-region = <&ipu2_cma_pool>; mboxes = <&mailbox6 &mbox_ipu2_ipc3x>; timers = <&timer3>; watchdog-timers = <&timer4>, <&timer9>; }; &dsp1 { status = "okay"; memory-region = <&dsp1_cma_pool>; mboxes = <&mailbox5 &mbox_dsp1_ipc3x>; timers = <&timer5>; }; &dsp2 { status = "okay"; memory-region = <&dsp2_cma_pool>; mboxes = <&mailbox6 &mbox_dsp2_ipc3x>; timers = <&timer6>; }; &pruss1 { status = "disabled"; pru1_0: pru0@4b234000 { interrupt-parent = <&pruss1_intc>; interrupts = <16>, <17>; interrupt-names = "vring", "kick"; status = "disabled"; }; pru1_1: pru1@4b238000 { interrupt-parent = <&pruss1_intc>; interrupts = <18>, <19>; interrupt-names = "vring", "kick"; status = "disabled"; }; }; &pruss2 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pru2_mii_pins_default>; dual_emac; /*pru2_0: pru0@4b2b4000 { mboxes=<&mailbox4 &mbox_pru2_0>; interrupt-parent = <&pruss2_intc>; interrupts = <16>, <17>; interrupt-names = "vring", "kick"; status = "okay"; }; pru2_1: pru1@4b2b8000 { mboxes=<&mailbox4 &mbox_pru2_1>; interrupt-parent = <&pruss2_intc>; interrupts = <18>, <19>; interrupt-names = "vring", "kick"; status = "okay"; };*/ pru2_0: pru0@4b2b4000 { interrupt-parent = <&pruss2_intc>; interrupts = <16>, <17>; interrupt-names = "vring", "kick"; status = "okay"; }; pru2_1: pru1@4b2b8000 { interrupt-parent = <&pruss2_intc>; interrupts = <18>, <19>; interrupt-names = "vring", "kick"; status = "okay"; }; }; &rtc { status = "okay"; }; &pruss2_mdio { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pru2_mii_davinci_mdio_pins_default>; pruss2_eth0_phy: ethernet-phy@5 { phy_id = <&davinci_mdio>, <5>; reg = <5>; dual_emac_res_vlan = <3>; /*interrupt-parent = <&gpio3>; interrupts = <30 IRQ_TYPE_EDGE_FALLING>;*/ }; pruss2_eth1_phy: ethernet-phy@6 { phy_id = <&davinci_mdio>, <6>; reg = <6>; /*interrupt-parent = <&gpio3>; interrupts = <31 IRQ_TYPE_EDGE_FALLING>;*/ dual_emac_res_vlan = <4>; }; }; &uart3 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&uart3_pins_default>; interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH &dra7_pmx_core 0x248>; }; &uart5 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&uart5_pins_default>; }; &uart8{ status="okay"; pinctrl-names = "default"; pinctrl-0 = <&uart8_pins_default>; }; &cpu0 { cpu0-supply = <&smps12_reg>; voltage-tolerance = <1>; }; &mac { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&cpsw_pins_default>; dual_emac; }; &cpsw_emac0 { phy_id = <&davinci_mdio>, <1>; phy-mode = "rgmii"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { phy_id = <&davinci_mdio>, <3>; phy-mode = "rgmii"; dual_emac_res_vlan = <2>; }; &davinci_mdio { pinctrl-names = "default"; pinctrl-0 = <&davinci_mdio_pins_default>; status = "okay"; }; &mmc2 { status = "okay"; pinctrl-names = "default", "hs", "ddr_1_8v"; pinctrl-0 = <&mmc2_pins_default>; pinctrl-1 = <&mmc2_pins_hs>; pinctrl-2 = <&mmc2_pins_ddr_1_8v &mmc2_iodelay_ddr_1_8v_conf>; vmmc-supply = <&vdd_3v3>; bus-width = <8>; iov = <3300000>; ti,non-removable; cap-mmc-dual-data-rate; max-frequency = <96000000>; /delete-property/ mmc-hs200-1_8v; }; &sata { status = "okay"; }; &usb2_phy1 { phy-supply = <&ldousb_reg>; }; &usb2_phy2 { phy-supply = <&ldousb_reg>; }; &usb1 { dr_mode = "host"; pinctrl-names = "default"; pinctrl-0 = <&usb1_pins>; }; &pcie1_rc { status = "okay"; }; &pcie1_ep { status = "okay"; }; &pcie2_rc { status = "okay"; }; &pcie2_ep { status = "okay"; }; &pcie2_phy { status = "okay"; }; /*&pcie1_rc { num-lanes = <2>; phys = <&pcie1_phy>, <&pcie2_phy>; phy-names = "pcie-phy0", "pcie-phy1"; status="okay"; /*syscon-dual-lane = <&scm_conf_pcie 0x18 0x5>; }; &pcie1_ep { num-lanes = <2>; phys = <&pcie1_phy>, <&pcie2_phy>; phy-names = "pcie-phy0", "pcie-phy1"; status="okay"; /*syscon-dual-lane = <&scm_conf_pcie 0x18 0x5>; };*/ &usb2 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&usb2_pins_default>; dr_mode = "peripheral"; }; &cpu_trips { cpu_alert1: cpu_alert1 { temperature = <50000>; /* millicelsius */ hysteresis = <2000>; /* millicelsius */ type = "active"; }; }; &rtc { status = "okay"; };