Commit 1ea7c8b6 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'omap-for-v4.7/dt-part1' of...

Merge tag 'omap-for-v4.7/dt-part1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/dt

Merge "First set of device tree changes for omaps for v4.7 merge window" from Tony Lindgren:

- Two sets of name and unit address check fixes for dts files.

- DMA, McASP, and timer and regulator related dts changes for dra7

- Add more devices for Nokia N9/N950

- Initial support for am335x ICEv2

- Initial support for am572x-IDK

- Pinctrl changes for am335x-baltos-ir5221

- Initial support for Amazon Kindle Fire (first generation)

- A series of changes to add GPIO controller support for the
  GPMC driver. The driver changes will be merged separately.

- Support for am43xx clkout1

- Pinctrl and RTC changes for am335x-chili

- Add support for dra72-evm rev C (SR2.0)

* tag 'omap-for-v4.7/dt-part1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (61 commits)
  ARM: dts: Add support for dra72-evm rev C (SR2.0)
  ARM: dts: am335x-chilisom: Enable poweroff PMIC sequence using RTC signal
  ARM: dts: am335x-chili*: Move Ethernet MAC description from SOM to board
  ARM: dts: am335x-chili*: Move uart0 description from SOM to board
  ARM: dts: am43xx: add support for clkout1 clock
  ARM: dts: omap3-beagle: Provide NAND ready pin
  ARM: dts: am335x: Provide NAND ready pin
  ARM: dts: am437x: Provide NAND ready pin
  ARM: dts: dra7x-evm: Provide NAND ready pin
  ARM: dts: dm816x: Enable gpio controller for GPMC
  ARM: dts: dm814x: Enable gpio controller for GPMC
  ARM: dts: omap3: Enable gpio controller for GPMC
  ARM: dts: am4372: Enable gpio controller for GPMC
  ARM: dts: am335x: Enable gpio controller for GPMC
  ARM: dts: dra7: Enable gpio controller for GPMC
  ARM: dts: omap5: Enable gpio and interrupt controller for GPMC
  ARM: dts: omap4: Enable gpio and interrupt controller for GPMC
  ARM: dts: omap24xx: Enable gpio and interrupt controller for GPMC
  ARM: dts: omap4-kc1: Power off support
  ARM: dts: omap4-kc1: LEDs support
  ...
parents c2499d68 a4240d3a
...@@ -133,6 +133,9 @@ Boards: ...@@ -133,6 +133,9 @@ Boards:
- AM335X Bone : Low cost community board - AM335X Bone : Low cost community board
compatible = "ti,am335x-bone", "ti,am33xx", "ti,omap3" compatible = "ti,am335x-bone", "ti,am33xx", "ti,omap3"
- AM3359 ICEv2 : Low cost Industrial Communication Engine EVM.
compatible = "ti,am3359-icev2", "ti,am33xx", "ti,omap3"
- AM335X OrionLXm : Substation Automation Platform - AM335X OrionLXm : Substation Automation Platform
compatible = "novatech,am335x-lxm", "ti,am33xx" compatible = "novatech,am335x-lxm", "ti,am33xx"
...@@ -169,6 +172,9 @@ Boards: ...@@ -169,6 +172,9 @@ Boards:
- AM57XX SBC-AM57x - AM57XX SBC-AM57x
compatible = "compulab,sbc-am57x", "compulab,cl-som-am57x", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7" compatible = "compulab,sbc-am57x", "compulab,cl-som-am57x", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"
- AM5728 IDK
compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"
- DRA742 EVM: Software Development Board for DRA742 - DRA742 EVM: Software Development Board for DRA742
compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7" compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7"
......
...@@ -16,6 +16,7 @@ al Annapurna Labs ...@@ -16,6 +16,7 @@ al Annapurna Labs
allwinner Allwinner Technology Co., Ltd. allwinner Allwinner Technology Co., Ltd.
alphascale AlphaScale Integrated Circuits Systems, Inc. alphascale AlphaScale Integrated Circuits Systems, Inc.
altr Altera Corp. altr Altera Corp.
amazon Amazon.com, Inc.
amcc Applied Micro Circuits Corporation (APM, formally AMCC) amcc Applied Micro Circuits Corporation (APM, formally AMCC)
amd Advanced Micro Devices (AMD), Inc. amd Advanced Micro Devices (AMD), Inc.
amlogic Amlogic, Inc. amlogic Amlogic, Inc.
......
...@@ -511,6 +511,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \ ...@@ -511,6 +511,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \
am335x-cm-t335.dtb \ am335x-cm-t335.dtb \
am335x-evm.dtb \ am335x-evm.dtb \
am335x-evmsk.dtb \ am335x-evmsk.dtb \
am335x-icev2.dtb \
am335x-lxm.dtb \ am335x-lxm.dtb \
am335x-nano.dtb \ am335x-nano.dtb \
am335x-pepper.dtb \ am335x-pepper.dtb \
...@@ -520,6 +521,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \ ...@@ -520,6 +521,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \
am335x-wega-rdk.dtb am335x-wega-rdk.dtb
dtb-$(CONFIG_ARCH_OMAP4) += \ dtb-$(CONFIG_ARCH_OMAP4) += \
omap4-duovero-parlor.dtb \ omap4-duovero-parlor.dtb \
omap4-kc1.dtb \
omap4-panda.dtb \ omap4-panda.dtb \
omap4-panda-a4.dtb \ omap4-panda-a4.dtb \
omap4-panda-es.dtb \ omap4-panda-es.dtb \
...@@ -543,8 +545,10 @@ dtb-$(CONFIG_SOC_DRA7XX) += \ ...@@ -543,8 +545,10 @@ dtb-$(CONFIG_SOC_DRA7XX) += \
am57xx-beagle-x15.dtb \ am57xx-beagle-x15.dtb \
am57xx-cl-som-am57x.dtb \ am57xx-cl-som-am57x.dtb \
am57xx-sbc-am57x.dtb \ am57xx-sbc-am57x.dtb \
am572x-idk.dtb \
dra7-evm.dtb \ dra7-evm.dtb \
dra72-evm.dtb dra72-evm.dtb \
dra72-evm-revc.dtb
dtb-$(CONFIG_ARCH_ORION5X) += \ dtb-$(CONFIG_ARCH_ORION5X) += \
orion5x-kuroboxpro.dtb \ orion5x-kuroboxpro.dtb \
orion5x-lacie-d2-network.dtb \ orion5x-lacie-d2-network.dtb \
......
...@@ -109,8 +109,8 @@ uart1_pins: pinmux_uart1_pins { ...@@ -109,8 +109,8 @@ uart1_pins: pinmux_uart1_pins {
pinctrl-single,pins = < pinctrl-single,pins = <
AM33XX_IOPAD(0x980, PIN_INPUT | MUX_MODE0) /* uart1_rxd */ AM33XX_IOPAD(0x980, PIN_INPUT | MUX_MODE0) /* uart1_rxd */
AM33XX_IOPAD(0x984, PIN_INPUT | MUX_MODE0) /* uart1_txd */ AM33XX_IOPAD(0x984, PIN_INPUT | MUX_MODE0) /* uart1_txd */
AM33XX_IOPAD(0x978, PIN_INPUT_PULLDOWN | MUX_MODE7) /* uart1_ctsn, INPUT | MODE0 */ AM33XX_IOPAD(0x978, PIN_INPUT_PULLDOWN | MUX_MODE0) /* uart1_ctsn */
AM33XX_IOPAD(0x97c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1_rtsn, OUTPUT | MODE0 */ AM33XX_IOPAD(0x97c, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_rtsn */
AM33XX_IOPAD(0x8e0, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* lcd_vsync.gpio2[22] DTR */ AM33XX_IOPAD(0x8e0, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* lcd_vsync.gpio2[22] DTR */
AM33XX_IOPAD(0x8e4, PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_hsync.gpio2[23] DSR */ AM33XX_IOPAD(0x8e4, PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_hsync.gpio2[23] DSR */
AM33XX_IOPAD(0x8e8, PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_pclk.gpio2[24] DCD */ AM33XX_IOPAD(0x8e8, PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_pclk.gpio2[24] DCD */
...@@ -122,8 +122,8 @@ uart2_pins: pinmux_uart2_pins { ...@@ -122,8 +122,8 @@ uart2_pins: pinmux_uart2_pins {
pinctrl-single,pins = < pinctrl-single,pins = <
AM33XX_IOPAD(0x950, PIN_INPUT | MUX_MODE1) /* spi0_sclk.uart2_rxd_mux3 */ AM33XX_IOPAD(0x950, PIN_INPUT | MUX_MODE1) /* spi0_sclk.uart2_rxd_mux3 */
AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1) /* spi0_d0.uart2_txd_mux3 */ AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1) /* spi0_d0.uart2_txd_mux3 */
AM33XX_IOPAD(0x988, PIN_INPUT_PULLDOWN | MUX_MODE7) /* i2c0_sda.uart2_ctsn_mux0 */ AM33XX_IOPAD(0x988, PIN_INPUT_PULLDOWN | MUX_MODE2) /* i2c0_sda.uart2_ctsn_mux0 */
AM33XX_IOPAD(0x98c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* i2c0_scl.uart2_rtsn_mux0 */ AM33XX_IOPAD(0x98c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* i2c0_scl.uart2_rtsn_mux0 */
AM33XX_IOPAD(0x830, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad12.gpio1[12] DTR */ AM33XX_IOPAD(0x830, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad12.gpio1[12] DTR */
AM33XX_IOPAD(0x834, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad13.gpio1[13] DSR */ AM33XX_IOPAD(0x834, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad13.gpio1[13] DSR */
AM33XX_IOPAD(0x838, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad14.gpio1[14] DCD */ AM33XX_IOPAD(0x838, PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad14.gpio1[14] DCD */
...@@ -241,6 +241,7 @@ nand@0,0 { ...@@ -241,6 +241,7 @@ nand@0,0 {
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
nand-bus-width = <8>; nand-bus-width = <8>;
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";
ti,nand-xfer-type = "polled"; ti,nand-xfer-type = "polled";
...@@ -287,8 +288,6 @@ &uart1 { ...@@ -287,8 +288,6 @@ &uart1 {
dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>; dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>; rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
cts-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
rts-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
...@@ -300,8 +299,6 @@ &uart2 { ...@@ -300,8 +299,6 @@ &uart2 {
dsr-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; dsr-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
dcd-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; dcd-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
rng-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; rng-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
cts-gpios = <&gpio3 5 GPIO_ACTIVE_LOW>;
rts-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
......
...@@ -35,6 +35,59 @@ led1 { ...@@ -35,6 +35,59 @@ led1 {
}; };
&am33xx_pinmux { &am33xx_pinmux {
uart0_pins: pinmux_uart0_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
>;
};
cpsw_default: cpsw_default {
pinctrl-single,pins = <
/* Slave 1 */
AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_crs.rmii1_crs */
AM33XX_IOPAD(0x910, PIN_INPUT_PULLUP | MUX_MODE1) /* mii1_rxerr.rmii1_rxerr */
AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txen.rmii1_txen */
AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd1.rmii1_txd1 */
AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd0.rmii1_txd0 */
AM33XX_IOPAD(0x93c, PIN_INPUT_PULLUP | MUX_MODE1) /* mii1_rxd1.rmii1_rxd1 */
AM33XX_IOPAD(0x940, PIN_INPUT_PULLUP | MUX_MODE1) /* mii1_rxd0.rmii1_rxd0 */
AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii1_ref_clk.rmii_ref_clk */
>;
};
cpsw_sleep: cpsw_sleep {
pinctrl-single,pins = <
/* Slave 1 reset value */
AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
davinci_mdio_default: davinci_mdio_default {
pinctrl-single,pins = <
/* mdio_data.mdio_data */
AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)
/* mdio_clk.mdio_clk */
AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0)
>;
};
davinci_mdio_sleep: davinci_mdio_sleep {
pinctrl-single,pins = <
/* MDIO reset value */
AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
usb1_drvvbus: usb1_drvvbus { usb1_drvvbus: usb1_drvvbus {
pinctrl-single,pins = < pinctrl-single,pins = <
AM33XX_IOPAD(0xa34, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* usb1_drvvbus.usb1_drvvbus */ AM33XX_IOPAD(0xa34, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* usb1_drvvbus.usb1_drvvbus */
...@@ -61,12 +114,34 @@ AM33XX_IOPAD(0x9e8, PIN_OUTPUT | MUX_MODE7) /* emu1.gpio3_8 */ ...@@ -61,12 +114,34 @@ AM33XX_IOPAD(0x9e8, PIN_OUTPUT | MUX_MODE7) /* emu1.gpio3_8 */
}; };
}; };
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins>;
status = "okay";
};
&ldo4_reg { &ldo4_reg {
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
}; };
/* Ethernet */ /* Ethernet */
&mac {
slaves = <1>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>;
status = "okay";
};
&davinci_mdio {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";
};
&cpsw_emac0 { &cpsw_emac0 {
phy_id = <&davinci_mdio>, <0>; phy_id = <&davinci_mdio>, <0>;
phy-mode = "rmii"; phy-mode = "rmii";
......
...@@ -35,59 +35,6 @@ AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */ ...@@ -35,59 +35,6 @@ AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
>; >;
}; };
uart0_pins: pinmux_uart0_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x970, PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */
AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
>;
};
cpsw_default: cpsw_default {
pinctrl-single,pins = <
/* Slave 1 */
AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_crs.rmii1_crs */
AM33XX_IOPAD(0x910, PIN_INPUT_PULLUP | MUX_MODE1) /* mii1_rxerr.rmii1_rxerr */
AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txen.rmii1_txen */
AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd1.rmii1_txd1 */
AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd0.rmii1_txd0 */
AM33XX_IOPAD(0x93c, PIN_INPUT_PULLUP | MUX_MODE1) /* mii1_rxd1.rmii1_rxd1 */
AM33XX_IOPAD(0x940, PIN_INPUT_PULLUP | MUX_MODE1) /* mii1_rxd0.rmii1_rxd0 */
AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii1_ref_clk.rmii_ref_clk */
>;
};
cpsw_sleep: cpsw_sleep {
pinctrl-single,pins = <
/* Slave 1 reset value */
AM33XX_IOPAD(0x90c, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x910, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x944, PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
davinci_mdio_default: davinci_mdio_default {
pinctrl-single,pins = <
/* mdio_data.mdio_data */
AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)
/* mdio_clk.mdio_clk */
AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0)
>;
};
davinci_mdio_sleep: davinci_mdio_sleep {
pinctrl-single,pins = <
/* MDIO reset value */
AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
AM33XX_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
>;
};
nandflash_pins: nandflash_pins { nandflash_pins: nandflash_pins {
pinctrl-single,pins = < pinctrl-single,pins = <
AM33XX_IOPAD(0x800, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */ AM33XX_IOPAD(0x800, PIN_INPUT_PULLDOWN | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */
...@@ -109,13 +56,6 @@ AM33XX_IOPAD(0x89c, PIN_OUTPUT_PULLUP | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cl ...@@ -109,13 +56,6 @@ AM33XX_IOPAD(0x89c, PIN_OUTPUT_PULLUP | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cl
}; };
}; };
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins>;
status = "okay";
};
&i2c0 { &i2c0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>; pinctrl-0 = <&i2c0_pins>;
...@@ -182,20 +122,8 @@ ldo4_reg: regulator@6 { ...@@ -182,20 +122,8 @@ ldo4_reg: regulator@6 {
}; };
}; };
/* Ethernet MAC */ &rtc {
&mac { system-power-controller;
slaves = <1>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cpsw_default>;
pinctrl-1 = <&cpsw_sleep>;
status = "okay";
};
&davinci_mdio {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&davinci_mdio_default>;
pinctrl-1 = <&davinci_mdio_sleep>;
status = "okay";
}; };
/* NAND Flash */ /* NAND Flash */
...@@ -214,6 +142,7 @@ nand@0,0 { ...@@ -214,6 +142,7 @@ nand@0,0 {
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";
ti,elm-id = <&elm>; ti,elm-id = <&elm>;
nand-bus-width = <8>; nand-bus-width = <8>;
......
...@@ -411,6 +411,7 @@ nand@0,0 { ...@@ -411,6 +411,7 @@ nand@0,0 {
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";
ti,elm-id = <&elm>; ti,elm-id = <&elm>;
nand-bus-width = <8>; nand-bus-width = <8>;
......
...@@ -524,6 +524,7 @@ nand@0,0 { ...@@ -524,6 +524,7 @@ nand@0,0 {
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";
ti,elm-id = <&elm>; ti,elm-id = <&elm>;
nand-bus-width = <8>; nand-bus-width = <8>;
......
/*
* Copyright (C) 2016 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.
*/
/*
* AM335x ICE V2 board
* http://www.ti.com/tool/tmdsice3359
*/
/dts-v1/;
#include "am33xx.dtsi"
/ {
model = "TI AM3359 ICE-V2";
compatible = "ti,am3359-icev2", "ti,am33xx";
memory {
device_type = "memory";
reg = <0x80000000 0x10000000>; /* 256 MB */
};
vbat: fixedregulator@0 {
compatible = "regulator-fixed";
regulator-name = "vbat";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-boot-on;
};
vtt_fixed: fixedregulator@1 {
compatible = "regulator-fixed";
regulator-name = "vtt";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
gpio = <&gpio0 18 GPIO_ACTIVE_HIGH>;
regulator-always-on;
regulator-boot-on;
enable-active-high;
};
leds@0 {
compatible = "gpio-leds";
led@0 {
label = "out0";
gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led@1 {
label = "out1";
gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led@2 {
label = "out2";
gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led@3 {
label = "out3";
gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led@4 {
label = "out4";
gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led@5 {
label = "out5";
gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led@6 {
label = "out6";
gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led@7 {
label = "out7";
gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};
/* Tricolor status LEDs */
leds@1 {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&user_leds>;
led@0 {
label = "status0:red:cpu0";
gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "cpu0";
};
led@1 {
label = "status0:green:usr";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led@2 {
label = "status0:yellow:usr";
gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led@3 {
label = "status1:red:mmc0";
gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "mmc0";
};
led@4 {
label = "status1:green:usr";
gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
led@5 {
label = "status1:yellow:usr";
gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};
};
&am33xx_pinmux {
user_leds: user_leds {
pinctrl-single,pins = <
AM33XX_IOPAD(0x91c, PIN_OUTPUT | MUX_MODE7) /* (J18) gmii1_txd3.gpio0[16] */
AM33XX_IOPAD(0x920, PIN_OUTPUT | MUX_MODE7) /* (K15) gmii1_txd2.gpio0[17] */
AM33XX_IOPAD(0x9b0, PIN_OUTPUT | MUX_MODE7) /* (A15) xdma_event_intr0.gpio0[19] */
AM33XX_IOPAD(0x9b4, PIN_OUTPUT | MUX_MODE7) /* (D14) xdma_event_intr1.gpio0[20] */
AM33XX_IOPAD(0x880, PIN_OUTPUT | MUX_MODE7) /* (U9) gpmc_csn1.gpio1[30] */
AM33XX_IOPAD(0x92c, PIN_OUTPUT | MUX_MODE7) /* (K18) gmii1_txclk.gpio3[9] */
>;
};
mmc0_pins_default: mmc0_pins_default {
pinctrl-single,pins = <
AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0) /* (F17) mmc0_dat3.mmc0_dat3 */
AM33XX_IOPAD(0x8f4, PIN_INPUT_PULLUP | MUX_MODE0) /* (F18) mmc0_dat2.mmc0_dat2 */
AM33XX_IOPAD(0x8f8, PIN_INPUT_PULLUP | MUX_MODE0) /* (G15) mmc0_dat1.mmc0_dat1 */
AM33XX_IOPAD(0x8fc, PIN_INPUT_PULLUP | MUX_MODE0) /* (G16) mmc0_dat0.mmc0_dat0 */
AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0) /* (G17) mmc0_clk.mmc0_clk */
AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0) /* (G18) mmc0_cmd.mmc0_cmd */
AM33XX_IOPAD(0x960, PIN_INPUT_PULLUP | MUX_MODE5) /* (C15) spi0_cs1.mmc0_sdcd */
>;
};
i2c0_pins_default: i2c0_pins_default {
pinctrl-single,pins = <
AM33XX_IOPAD(0x988, PIN_INPUT | MUX_MODE0) /* (C17) I2C0_SDA.I2C0_SDA */
AM33XX_IOPAD(0x98c, PIN_INPUT | MUX_MODE0) /* (C16) I2C0_SCL.I2C0_SCL */
>;
};
spi0_pins_default: spi0_pins_default {
pinctrl-single,pins = <
AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE0) /* (A17) spi0_sclk.spi0_sclk */
AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE0) /* (B17) spi0_d0.spi0_d0 */
AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE0) /* (B16) spi0_d1.spi0_d1 */
AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE0) /* (A16) spi0_cs0.spi0_cs0 */
>;
};
uart3_pins_default: uart3_pins_default {
pinctrl-single,pins = <
AM33XX_IOPAD(0x934, PIN_INPUT_PULLUP | MUX_MODE1) /* (L17) gmii1_rxd3.uart3_rxd */
AM33XX_IOPAD(0x938, PIN_OUTPUT_PULLUP | MUX_MODE1) /* (L16) gmii1_rxd2.uart3_txd */
>;
};
};
&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins_default>;
status = "okay";
clock-frequency = <400000>;
tps: power-controller@2d {
reg = <0x2d>;
};
tpic2810: gpio@60 {
compatible = "ti,tpic2810";
reg = <0x60>;
gpio-controller;
#gpio-cells = <2>;
};
};
#include "tps65910.dtsi"
&tps {
vcc1-supply = <&vbat>;
vcc2-supply = <&vbat>;
vcc3-supply = <&vbat>;
vcc4-supply = <&vbat>;
vcc5-supply = <&vbat>;
vcc6-supply = <&vbat>;
vcc7-supply = <&vbat>;
vccio-supply = <&vbat>;
regulators {
vrtc_reg: regulator@0 {
regulator-always-on;
};
vio_reg: regulator@1 {
regulator-always-on;
};
vdd1_reg: regulator@2 {
regulator-name = "vdd_mpu";
regulator-min-microvolt = <912500>;
regulator-max-microvolt = <1326000>;
regulator-boot-on;
regulator-always-on;
};
vdd2_reg: regulator@3 {
regulator-name = "vdd_core";
regulator-min-microvolt = <912500>;
regulator-max-microvolt = <1144000>;
regulator-boot-on;
regulator-always-on;
};
vdd3_reg: regulator@4 {
regulator-always-on;
};
vdig1_reg: regulator@5 {
regulator-always-on;
};
vdig2_reg: regulator@6 {
regulator-always-on;
};
vpll_reg: regulator@7 {
regulator-always-on;
};
vdac_reg: regulator@8 {
regulator-always-on;
};
vaux1_reg: regulator@9 {
regulator-always-on;
};
vaux2_reg: regulator@10 {
regulator-always-on;
};
vaux33_reg: regulator@11 {
regulator-always-on;
};
vmmc_reg: regulator@12 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
};
};
&mmc1 {
status = "okay";
vmmc-supply = <&vmmc_reg>;
bus-width = <4>;
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins_default>;
};
&gpio0 {
/* Do not idle the GPIO used for holding the VTT regulator */
ti,no-reset-on-init;
ti,no-idle-on-init;
};
&uart3 {
pinctrl-names = "default";
pinctrl-0 = <&uart3_pins_default>;
status = "okay";
};
...@@ -135,6 +135,7 @@ nand@0,0 { ...@@ -135,6 +135,7 @@ nand@0,0 {
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
nand-bus-width = <8>; nand-bus-width = <8>;
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";
gpmc,device-width = <1>; gpmc,device-width = <1>;
......
...@@ -171,6 +171,7 @@ nandflash: nand@0,0 { ...@@ -171,6 +171,7 @@ nandflash: nand@0,0 {
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
nand-bus-width = <8>; nand-bus-width = <8>;
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";
gpmc,device-nand = "true"; gpmc,device-nand = "true";
......
...@@ -138,7 +138,7 @@ ethernetphy0: ethernet-phy@0 { ...@@ -138,7 +138,7 @@ ethernetphy0: ethernet-phy@0 {
&epwmss1 { &epwmss1 {
status = "okay"; status = "okay";
ehrpwm1: ehrpwm@48302200 { ehrpwm1: pwm@48302200 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&ehrpwm1_pins>; pinctrl-0 = <&ehrpwm1_pins>;
status = "okay"; status = "okay";
......
This diff is collapsed.
...@@ -688,7 +688,7 @@ ecap0: ecap@48300100 { ...@@ -688,7 +688,7 @@ ecap0: ecap@48300100 {
status = "disabled"; status = "disabled";
}; };
ehrpwm0: ehrpwm@48300200 { ehrpwm0: pwm@48300200 {
compatible = "ti,am33xx-ehrpwm"; compatible = "ti,am33xx-ehrpwm";
#pwm-cells = <3>; #pwm-cells = <3>;
reg = <0x48300200 0x80>; reg = <0x48300200 0x80>;
...@@ -718,7 +718,7 @@ ecap1: ecap@48302100 { ...@@ -718,7 +718,7 @@ ecap1: ecap@48302100 {
status = "disabled"; status = "disabled";
}; };
ehrpwm1: ehrpwm@48302200 { ehrpwm1: pwm@48302200 {
compatible = "ti,am33xx-ehrpwm"; compatible = "ti,am33xx-ehrpwm";
#pwm-cells = <3>; #pwm-cells = <3>;
reg = <0x48302200 0x80>; reg = <0x48302200 0x80>;
...@@ -748,7 +748,7 @@ ecap2: ecap@48304100 { ...@@ -748,7 +748,7 @@ ecap2: ecap@48304100 {
status = "disabled"; status = "disabled";
}; };
ehrpwm2: ehrpwm@48304200 { ehrpwm2: pwm@48304200 {
compatible = "ti,am33xx-ehrpwm"; compatible = "ti,am33xx-ehrpwm";
#pwm-cells = <3>; #pwm-cells = <3>;
reg = <0x48304200 0x80>; reg = <0x48304200 0x80>;
...@@ -868,6 +868,8 @@ gpmc: gpmc@50000000 { ...@@ -868,6 +868,8 @@ gpmc: gpmc@50000000 {
#size-cells = <1>; #size-cells = <1>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
&scm_clocks { &scm_clocks {
emac_ick: emac_ick { emac_ick: emac_ick@32c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,am35xx-gate-clock"; compatible = "ti,am35xx-gate-clock";
clocks = <&ipss_ick>; clocks = <&ipss_ick>;
...@@ -16,7 +16,7 @@ emac_ick: emac_ick { ...@@ -16,7 +16,7 @@ emac_ick: emac_ick {
ti,bit-shift = <1>; ti,bit-shift = <1>;
}; };
emac_fck: emac_fck { emac_fck: emac_fck@32c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,gate-clock"; compatible = "ti,gate-clock";
clocks = <&rmii_ck>; clocks = <&rmii_ck>;
...@@ -24,7 +24,7 @@ emac_fck: emac_fck { ...@@ -24,7 +24,7 @@ emac_fck: emac_fck {
ti,bit-shift = <9>; ti,bit-shift = <9>;
}; };
vpfe_ick: vpfe_ick { vpfe_ick: vpfe_ick@32c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,am35xx-gate-clock"; compatible = "ti,am35xx-gate-clock";
clocks = <&ipss_ick>; clocks = <&ipss_ick>;
...@@ -32,7 +32,7 @@ vpfe_ick: vpfe_ick { ...@@ -32,7 +32,7 @@ vpfe_ick: vpfe_ick {
ti,bit-shift = <2>; ti,bit-shift = <2>;
}; };
vpfe_fck: vpfe_fck { vpfe_fck: vpfe_fck@32c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,gate-clock"; compatible = "ti,gate-clock";
clocks = <&pclk_ck>; clocks = <&pclk_ck>;
...@@ -40,7 +40,7 @@ vpfe_fck: vpfe_fck { ...@@ -40,7 +40,7 @@ vpfe_fck: vpfe_fck {
ti,bit-shift = <10>; ti,bit-shift = <10>;
}; };
hsotgusb_ick_am35xx: hsotgusb_ick_am35xx { hsotgusb_ick_am35xx: hsotgusb_ick_am35xx@32c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,am35xx-gate-clock"; compatible = "ti,am35xx-gate-clock";
clocks = <&ipss_ick>; clocks = <&ipss_ick>;
...@@ -48,7 +48,7 @@ hsotgusb_ick_am35xx: hsotgusb_ick_am35xx { ...@@ -48,7 +48,7 @@ hsotgusb_ick_am35xx: hsotgusb_ick_am35xx {
ti,bit-shift = <0>; ti,bit-shift = <0>;
}; };
hsotgusb_fck_am35xx: hsotgusb_fck_am35xx { hsotgusb_fck_am35xx: hsotgusb_fck_am35xx@32c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,gate-clock"; compatible = "ti,gate-clock";
clocks = <&sys_ck>; clocks = <&sys_ck>;
...@@ -56,7 +56,7 @@ hsotgusb_fck_am35xx: hsotgusb_fck_am35xx { ...@@ -56,7 +56,7 @@ hsotgusb_fck_am35xx: hsotgusb_fck_am35xx {
ti,bit-shift = <8>; ti,bit-shift = <8>;
}; };
hecc_ck: hecc_ck { hecc_ck: hecc_ck@32c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,am35xx-gate-clock"; compatible = "ti,am35xx-gate-clock";
clocks = <&sys_ck>; clocks = <&sys_ck>;
...@@ -65,7 +65,7 @@ hecc_ck: hecc_ck { ...@@ -65,7 +65,7 @@ hecc_ck: hecc_ck {
}; };
}; };
&cm_clocks { &cm_clocks {
ipss_ick: ipss_ick { ipss_ick: ipss_ick@a10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,am35xx-interface-clock"; compatible = "ti,am35xx-interface-clock";
clocks = <&core_l3_ick>; clocks = <&core_l3_ick>;
...@@ -85,7 +85,7 @@ pclk_ck: pclk_ck { ...@@ -85,7 +85,7 @@ pclk_ck: pclk_ck {
clock-frequency = <27000000>; clock-frequency = <27000000>;
}; };
uart4_ick_am35xx: uart4_ick_am35xx { uart4_ick_am35xx: uart4_ick_am35xx@a10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&core_l4_ick>; clocks = <&core_l4_ick>;
...@@ -93,7 +93,7 @@ uart4_ick_am35xx: uart4_ick_am35xx { ...@@ -93,7 +93,7 @@ uart4_ick_am35xx: uart4_ick_am35xx {
ti,bit-shift = <23>; ti,bit-shift = <23>;
}; };
uart4_fck_am35xx: uart4_fck_am35xx { uart4_fck_am35xx: uart4_fck_am35xx@a00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&core_48m_fck>; clocks = <&core_48m_fck>;
......
...@@ -679,7 +679,7 @@ ecap0: ecap@48300100 { ...@@ -679,7 +679,7 @@ ecap0: ecap@48300100 {
status = "disabled"; status = "disabled";
}; };
ehrpwm0: ehrpwm@48300200 { ehrpwm0: pwm@48300200 {
compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm"; compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
#pwm-cells = <3>; #pwm-cells = <3>;
reg = <0x48300200 0x80>; reg = <0x48300200 0x80>;
...@@ -705,7 +705,7 @@ ecap1: ecap@48302100 { ...@@ -705,7 +705,7 @@ ecap1: ecap@48302100 {
status = "disabled"; status = "disabled";
}; };
ehrpwm1: ehrpwm@48302200 { ehrpwm1: pwm@48302200 {
compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm"; compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
#pwm-cells = <3>; #pwm-cells = <3>;
reg = <0x48302200 0x80>; reg = <0x48302200 0x80>;
...@@ -731,7 +731,7 @@ ecap2: ecap@48304100 { ...@@ -731,7 +731,7 @@ ecap2: ecap@48304100 {
status = "disabled"; status = "disabled";
}; };
ehrpwm2: ehrpwm@48304200 { ehrpwm2: pwm@48304200 {
compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm"; compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
#pwm-cells = <3>; #pwm-cells = <3>;
reg = <0x48304200 0x80>; reg = <0x48304200 0x80>;
...@@ -749,7 +749,7 @@ epwmss3: epwmss@48306000 { ...@@ -749,7 +749,7 @@ epwmss3: epwmss@48306000 {
ti,hwmods = "epwmss3"; ti,hwmods = "epwmss3";
status = "disabled"; status = "disabled";
ehrpwm3: ehrpwm@48306200 { ehrpwm3: pwm@48306200 {
compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm"; compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
#pwm-cells = <3>; #pwm-cells = <3>;
reg = <0x48306200 0x80>; reg = <0x48306200 0x80>;
...@@ -767,7 +767,7 @@ epwmss4: epwmss@48308000 { ...@@ -767,7 +767,7 @@ epwmss4: epwmss@48308000 {
ti,hwmods = "epwmss4"; ti,hwmods = "epwmss4";
status = "disabled"; status = "disabled";
ehrpwm4: ehrpwm@48308200 { ehrpwm4: pwm@48308200 {
compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm"; compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
#pwm-cells = <3>; #pwm-cells = <3>;
reg = <0x48308200 0x80>; reg = <0x48308200 0x80>;
...@@ -785,7 +785,7 @@ epwmss5: epwmss@4830a000 { ...@@ -785,7 +785,7 @@ epwmss5: epwmss@4830a000 {
ti,hwmods = "epwmss5"; ti,hwmods = "epwmss5";
status = "disabled"; status = "disabled";
ehrpwm5: ehrpwm@4830a200 { ehrpwm5: pwm@4830a200 {
compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm"; compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
#pwm-cells = <3>; #pwm-cells = <3>;
reg = <0x4830a200 0x80>; reg = <0x4830a200 0x80>;
...@@ -896,6 +896,8 @@ gpmc: gpmc@50000000 { ...@@ -896,6 +896,8 @@ gpmc: gpmc@50000000 {
#size-cells = <1>; #size-cells = <1>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -119,7 +119,7 @@ clk_32k_rtc: clk_32k_rtc { ...@@ -119,7 +119,7 @@ clk_32k_rtc: clk_32k_rtc {
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
sound0: sound@0 { sound0: sound0 {
compatible = "simple-audio-card"; compatible = "simple-audio-card";
simple-audio-card,name = "AM437x-GP-EVM"; simple-audio-card,name = "AM437x-GP-EVM";
simple-audio-card,widgets = simple-audio-card,widgets =
...@@ -817,6 +817,7 @@ nand@0,0 { ...@@ -817,6 +817,7 @@ nand@0,0 {
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
ti,nand-ecc-opt = "bch16"; ti,nand-ecc-opt = "bch16";
ti,elm-id = <&elm>; ti,elm-id = <&elm>;
nand-bus-width = <8>; nand-bus-width = <8>;
......
...@@ -107,7 +107,7 @@ backlight { ...@@ -107,7 +107,7 @@ backlight {
default-brightness-level = <8>; default-brightness-level = <8>;
}; };
sound0: sound@0 { sound0: sound0 {
compatible = "simple-audio-card"; compatible = "simple-audio-card";
simple-audio-card,name = "AM43-EPOS-EVM"; simple-audio-card,name = "AM43-EPOS-EVM";
simple-audio-card,widgets = simple-audio-card,widgets =
...@@ -568,6 +568,7 @@ nand@0,0 { ...@@ -568,6 +568,7 @@ nand@0,0 {
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
ti,nand-ecc-opt = "bch16"; ti,nand-ecc-opt = "bch16";
ti,elm-id = <&elm>; ti,elm-id = <&elm>;
nand-bus-width = <8>; nand-bus-width = <8>;
......
This diff is collapsed.
/*
* Copyright (C) 2015-2016 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 <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include "am57xx-idk-common.dtsi"
/ {
model = "TI AM5728 IDK";
compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74",
"ti,dra7";
memory {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0x80000000>;
};
extcon_usb2: extcon_usb2 {
compatible = "linux,extcon-usb-gpio";
id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
};
status-leds {
compatible = "gpio-leds";
cpu0-led {
label = "status0:red:cpu0";
gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "cpu0";
};
usr0-led {
label = "status0:green:usr";
gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
heartbeat-led {
label = "status0:blue:heartbeat";
gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "heartbeat";
};
cpu1-led {
label = "status1:red:cpu1";
gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "cpu1";
};
usr1-led {
label = "status1:green:usr";
gpios = <&gpio7 23 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
mmc0-led {
label = "status1:blue:mmc0";
gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>;
default-state = "off";
linux,default-trigger = "mmc0";
};
};
};
&omap_dwc3_2 {
extcon = <&extcon_usb2>;
};
&mmc1 {
status = "okay";
vmmc-supply = <&v3_3d>;
vmmc_aux-supply = <&ldo1_reg>;
bus-width = <4>;
cd-gpios = <&gpio6 27 0>; /* gpio 219 */
};
...@@ -151,7 +151,7 @@ tpd12s015_out: endpoint { ...@@ -151,7 +151,7 @@ tpd12s015_out: endpoint {
}; };
}; };
sound0: sound@0 { sound0: sound0 {
compatible = "simple-audio-card"; compatible = "simple-audio-card";
simple-audio-card,name = "BeagleBoard-X15"; simple-audio-card,name = "BeagleBoard-X15";
simple-audio-card,widgets = simple-audio-card,widgets =
...@@ -173,8 +173,6 @@ simple-audio-card,cpu { ...@@ -173,8 +173,6 @@ simple-audio-card,cpu {
sound0_master: simple-audio-card,codec { sound0_master: simple-audio-card,codec {
sound-dai = <&tlv320aic3104>; sound-dai = <&tlv320aic3104>;
assigned-clocks = <&clkoutmux2_clk_mux>;
assigned-clock-parents = <&sys_clk2_dclk_div>;
clocks = <&clkout2_clk>; clocks = <&clkout2_clk>;
}; };
}; };
...@@ -584,6 +582,9 @@ tlv320aic3104: tlv320aic3104@18 { ...@@ -584,6 +582,9 @@ tlv320aic3104: tlv320aic3104@18 {
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&clkout2_pins_default>; pinctrl-0 = <&clkout2_pins_default>;
pinctrl-1 = <&clkout2_pins_sleep>; pinctrl-1 = <&clkout2_pins_sleep>;
assigned-clocks = <&clkoutmux2_clk_mux>;
assigned-clock-parents = <&sys_clk2_dclk_div>;
status = "okay"; status = "okay";
adc-settle-ms = <40>; adc-settle-ms = <40>;
...@@ -812,6 +813,8 @@ &mcasp3 { ...@@ -812,6 +813,8 @@ &mcasp3 {
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1 2 0 0 1 2 0 0
>; >;
tx-num-evt = <32>;
rx-num-evt = <32>;
}; };
&mailbox5 { &mailbox5 {
......
...@@ -51,7 +51,7 @@ ads7846reg: fixedregulator-ads7846-reg { ...@@ -51,7 +51,7 @@ ads7846reg: fixedregulator-ads7846-reg {
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
}; };
sound0: sound@0 { sound0: sound0 {
compatible = "simple-audio-card"; compatible = "simple-audio-card";
simple-audio-card,name = "CL-SOM-AM57x-Sound-Card"; simple-audio-card,name = "CL-SOM-AM57x-Sound-Card";
simple-audio-card,format = "i2s"; simple-audio-card,format = "i2s";
......
/*
* Copyright (C) 2015-2016 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.
*/
/ {
aliases {
rtc0 = &tps659038_rtc;
rtc1 = &rtc;
};
vmain: fixedregulator-vmain {
compatible = "regulator-fixed";
regulator-name = "VMAIN";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
v3_3d: fixedregulator-v3_3d {
compatible = "regulator-fixed";
regulator-name = "V3_3D";
vin-supply = <&smps9_reg>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
vtt_fixed: fixedregulator-vtt {
/* TPS51200 */
compatible = "regulator-fixed";
regulator-name = "vtt_fixed";
vin-supply = <&v3_3d>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
};
&i2c1 {
status = "okay";
clock-frequency = <400000>;
tps659038: tps659038@58 {
compatible = "ti,tps659038";
reg = <0x58>;
interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH
&dra7_pmx_core 0x418>;
#interrupt-cells = <2>;
interrupt-controller;
ti,system-power-controller;
tps659038_pmic {
compatible = "ti,tps659038-pmic";
regulators {
smps12_reg: smps12 {
/* VDD_MPU */
vin-supply = <&vmain>;
regulator-name = "smps12";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1250000>;
regulator-always-on;
regulator-boot-on;
};
smps3_reg: smps3 {
/* VDD_DDR EMIF1 EMIF2 */
vin-supply = <&vmain>;
regulator-name = "smps3";
regulator-min-microvolt = <1350000>;
regulator-max-microvolt = <1350000>;
regulator-always-on;
regulator-boot-on;
};
smps45_reg: smps45 {
/* VDD_DSPEVE on AM572 */
/* VDD_IVA + VDD_DSP on AM571 */
vin-supply = <&vmain>;
regulator-name = "smps45";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1250000>;
regulator-always-on;
regulator-boot-on;
};
smps6_reg: smps6 {
/* VDD_GPU */
vin-supply = <&vmain>;
regulator-name = "smps6";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1250000>;
regulator-always-on;
regulator-boot-on;
};
smps7_reg: smps7 {
/* VDD_CORE */
vin-supply = <&vmain>;
regulator-name = "smps7";
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1150000>;
regulator-always-on;
regulator-boot-on;
};
smps8_reg: smps8 {
/* 5728 - VDD_IVAHD */
/* 5718 - N.C. test point */
vin-supply = <&vmain>;
regulator-name = "smps8";
};
smps9_reg: smps9 {
/* VDD_3_3D */
vin-supply = <&vmain>;
regulator-name = "smps9";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
ldo1_reg: ldo1 {
/* VDDSHV8 - VSDMMC */
/* NOTE: on rev 1.3a, data supply */
vin-supply = <&vmain>;
regulator-name = "ldo1";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo2_reg: ldo2 {
/* VDDSH18V */
vin-supply = <&vmain>;
regulator-name = "ldo2";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
ldo3_reg: ldo3 {
/* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
vin-supply = <&vmain>;
regulator-name = "ldo3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
ldo4_reg: ldo4 {
/* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
vin-supply = <&vmain>;
regulator-name = "ldo4";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
/* LDO5-8 unused */
ldo9_reg: ldo9 {
/* VDD_RTC */
vin-supply = <&vmain>;
regulator-name = "ldo9";
regulator-min-microvolt = <840000>;
regulator-max-microvolt = <1160000>;
regulator-always-on;
regulator-boot-on;
};
ldoln_reg: ldoln {
/* VDDA_1V8_PLL */
vin-supply = <&vmain>;
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 */
vin-supply = <&vmain>;
regulator-name = "ldousb";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
ldortc_reg: ldortc {
/* VDDA_RTC */
vin-supply = <&vmain>;
regulator-name = "ldortc";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
regen1: regen1 {
/* VDD_3V3_ON */
regulator-name = "regen1";
regulator-boot-on;
regulator-always-on;
};
regen2: regen2 {
/* Needed for PMIC internal resource */
regulator-name = "regen2";
regulator-boot-on;
regulator-always-on;
};
};
};
tps659038_rtc: tps659038_rtc {
compatible = "ti,palmas-rtc";
interrupt-parent = <&tps659038>;
interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
wakeup-source;
};
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_gpio: tps659038_gpio {
compatible = "ti,palmas-gpio";
gpio-controller;
#gpio-cells = <2>;
};
};
};
&uart3 {
status = "okay";
interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH
&dra7_pmx_core 0x248>;
};
&rtc {
status = "okay";
ext-clk-src;
};
&mac {
status = "okay";
dual_emac;
};
&cpsw_emac0 {
phy_id = <&davinci_mdio>, <0>;
phy-mode = "rgmii";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
phy_id = <&davinci_mdio>, <1>;
phy-mode = "rgmii";
dual_emac_res_vlan = <2>;
};
&usb2_phy1 {
phy-supply = <&ldousb_reg>;
};
&usb2_phy2 {
phy-supply = <&ldousb_reg>;
};
&usb1 {
dr_mode = "host";
};
&usb2 {
dr_mode = "otg";
};
&mmc2 {
status = "okay";
vmmc-supply = <&v3_3d>;
bus-width = <8>;
ti,non-removable;
max-frequency = <96000000>;
};
...@@ -261,13 +261,13 @@ mmc1: mmc@21b000 { ...@@ -261,13 +261,13 @@ mmc1: mmc@21b000 {
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
ehrpwm0: ehrpwm@300000 { ehrpwm0: pwm@300000 {
compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm"; compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
#pwm-cells = <3>; #pwm-cells = <3>;
reg = <0x300000 0x2000>; reg = <0x300000 0x2000>;
status = "disabled"; status = "disabled";
}; };
ehrpwm1: ehrpwm@302000 { ehrpwm1: pwm@302000 {
compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm"; compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
#pwm-cells = <3>; #pwm-cells = <3>;
reg = <0x302000 0x2000>; reg = <0x302000 0x2000>;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
*/ */
&pllss_clocks { &pllss_clocks {
timer1_fck: timer1_fck { timer1_fck: timer1_fck@2e0 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck
...@@ -14,7 +14,7 @@ timer1_fck: timer1_fck { ...@@ -14,7 +14,7 @@ timer1_fck: timer1_fck {
reg = <0x2e0>; reg = <0x2e0>;
}; };
timer2_fck: timer2_fck { timer2_fck: timer2_fck@2e0 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck
...@@ -23,7 +23,7 @@ timer2_fck: timer2_fck { ...@@ -23,7 +23,7 @@ timer2_fck: timer2_fck {
reg = <0x2e0>; reg = <0x2e0>;
}; };
sysclk18_ck: sysclk18_ck { sysclk18_ck: sysclk18_ck@2f0 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&rtcosc_ck>, <&rtcdivider_ck>; clocks = <&rtcosc_ck>, <&rtcdivider_ck>;
...@@ -33,7 +33,7 @@ sysclk18_ck: sysclk18_ck { ...@@ -33,7 +33,7 @@ sysclk18_ck: sysclk18_ck {
}; };
&scm_clocks { &scm_clocks {
devosc_ck: devosc_ck { devosc_ck: devosc_ck@40 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&virt_20000000_ck>, <&virt_19200000_ck>; clocks = <&virt_20000000_ck>, <&virt_19200000_ck>;
...@@ -121,7 +121,7 @@ osc_src_ck: osc_src_ck { ...@@ -121,7 +121,7 @@ osc_src_ck: osc_src_ck {
clock-div = <1>; clock-div = <1>;
}; };
mpu_clksrc_ck: mpu_clksrc_ck { mpu_clksrc_ck: mpu_clksrc_ck@40 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&devosc_ck>, <&rtcdivider_ck>; clocks = <&devosc_ck>, <&rtcdivider_ck>;
......
...@@ -568,6 +568,8 @@ gpmc: gpmc@50000000 { ...@@ -568,6 +568,8 @@ gpmc: gpmc@50000000 {
#size-cells = <1>; #size-cells = <1>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;
}; };
}; };
}; };
......
...@@ -86,7 +86,7 @@ sys_clkin_ck: sys_clkin_ck { ...@@ -86,7 +86,7 @@ sys_clkin_ck: sys_clkin_ck {
/* 0x48180000 */ /* 0x48180000 */
&prcm_clocks { &prcm_clocks {
clkout_pre_ck: clkout_pre_ck { clkout_pre_ck: clkout_pre_ck@100 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&main_fapll 5 &ddr_fapll 1 &video_fapll 1 clocks = <&main_fapll 5 &ddr_fapll 1 &video_fapll 1
...@@ -94,7 +94,7 @@ clkout_pre_ck: clkout_pre_ck { ...@@ -94,7 +94,7 @@ clkout_pre_ck: clkout_pre_ck {
reg = <0x100>; reg = <0x100>;
}; };
clkout_div_ck: clkout_div_ck { clkout_div_ck: clkout_div_ck@100 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&clkout_pre_ck>; clocks = <&clkout_pre_ck>;
...@@ -103,7 +103,7 @@ clkout_div_ck: clkout_div_ck { ...@@ -103,7 +103,7 @@ clkout_div_ck: clkout_div_ck {
reg = <0x100>; reg = <0x100>;
}; };
clkout_ck: clkout_ck { clkout_ck: clkout_ck@100 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,gate-clock"; compatible = "ti,gate-clock";
clocks = <&clkout_div_ck>; clocks = <&clkout_div_ck>;
...@@ -112,7 +112,7 @@ clkout_ck: clkout_ck { ...@@ -112,7 +112,7 @@ clkout_ck: clkout_ck {
}; };
/* CM_DPLL clocks p1795 */ /* CM_DPLL clocks p1795 */
sysclk1_ck: sysclk1_ck { sysclk1_ck: sysclk1_ck@300 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&main_fapll 1>; clocks = <&main_fapll 1>;
...@@ -120,7 +120,7 @@ sysclk1_ck: sysclk1_ck { ...@@ -120,7 +120,7 @@ sysclk1_ck: sysclk1_ck {
reg = <0x0300>; reg = <0x0300>;
}; };
sysclk2_ck: sysclk2_ck { sysclk2_ck: sysclk2_ck@304 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&main_fapll 2>; clocks = <&main_fapll 2>;
...@@ -128,7 +128,7 @@ sysclk2_ck: sysclk2_ck { ...@@ -128,7 +128,7 @@ sysclk2_ck: sysclk2_ck {
reg = <0x0304>; reg = <0x0304>;
}; };
sysclk3_ck: sysclk3_ck { sysclk3_ck: sysclk3_ck@308 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&main_fapll 3>; clocks = <&main_fapll 3>;
...@@ -136,7 +136,7 @@ sysclk3_ck: sysclk3_ck { ...@@ -136,7 +136,7 @@ sysclk3_ck: sysclk3_ck {
reg = <0x0308>; reg = <0x0308>;
}; };
sysclk4_ck: sysclk4_ck { sysclk4_ck: sysclk4_ck@30c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&main_fapll 4>; clocks = <&main_fapll 4>;
...@@ -144,7 +144,7 @@ sysclk4_ck: sysclk4_ck { ...@@ -144,7 +144,7 @@ sysclk4_ck: sysclk4_ck {
reg = <0x030c>; reg = <0x030c>;
}; };
sysclk5_ck: sysclk5_ck { sysclk5_ck: sysclk5_ck@310 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&sysclk4_ck>; clocks = <&sysclk4_ck>;
...@@ -152,7 +152,7 @@ sysclk5_ck: sysclk5_ck { ...@@ -152,7 +152,7 @@ sysclk5_ck: sysclk5_ck {
reg = <0x0310>; reg = <0x0310>;
}; };
sysclk6_ck: sysclk6_ck { sysclk6_ck: sysclk6_ck@314 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&main_fapll 4>; clocks = <&main_fapll 4>;
...@@ -160,7 +160,7 @@ sysclk6_ck: sysclk6_ck { ...@@ -160,7 +160,7 @@ sysclk6_ck: sysclk6_ck {
reg = <0x0314>; reg = <0x0314>;
}; };
sysclk10_ck: sysclk10_ck { sysclk10_ck: sysclk10_ck@324 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&ddr_fapll 2>; clocks = <&ddr_fapll 2>;
...@@ -168,7 +168,7 @@ sysclk10_ck: sysclk10_ck { ...@@ -168,7 +168,7 @@ sysclk10_ck: sysclk10_ck {
reg = <0x0324>; reg = <0x0324>;
}; };
sysclk24_ck: sysclk24_ck { sysclk24_ck: sysclk24_ck@3b4 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&main_fapll 5>; clocks = <&main_fapll 5>;
...@@ -176,7 +176,7 @@ sysclk24_ck: sysclk24_ck { ...@@ -176,7 +176,7 @@ sysclk24_ck: sysclk24_ck {
reg = <0x03b4>; reg = <0x03b4>;
}; };
mpu_ck: mpu_ck { mpu_ck: mpu_ck@15dc {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,gate-clock"; compatible = "ti,gate-clock";
clocks = <&sysclk2_ck>; clocks = <&sysclk2_ck>;
...@@ -184,7 +184,7 @@ mpu_ck: mpu_ck { ...@@ -184,7 +184,7 @@ mpu_ck: mpu_ck {
reg = <0x15dc>; reg = <0x15dc>;
}; };
audio_pll_a_ck: audio_pll_a_ck { audio_pll_a_ck: audio_pll_a_ck@35c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&audio_fapll 1>; clocks = <&audio_fapll 1>;
...@@ -192,56 +192,56 @@ audio_pll_a_ck: audio_pll_a_ck { ...@@ -192,56 +192,56 @@ audio_pll_a_ck: audio_pll_a_ck {
reg = <0x035c>; reg = <0x035c>;
}; };
sysclk18_ck: sysclk18_ck { sysclk18_ck: sysclk18_ck@378 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&sys_32k_ck>, <&audio_pll_a_ck>; clocks = <&sys_32k_ck>, <&audio_pll_a_ck>;
reg = <0x0378>; reg = <0x0378>;
}; };
timer1_fck: timer1_fck { timer1_fck: timer1_fck@390 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>;
reg = <0x0390>; reg = <0x0390>;
}; };
timer2_fck: timer2_fck { timer2_fck: timer2_fck@394 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>;
reg = <0x0394>; reg = <0x0394>;
}; };
timer3_fck: timer3_fck { timer3_fck: timer3_fck@398 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>;
reg = <0x0398>; reg = <0x0398>;
}; };
timer4_fck: timer4_fck { timer4_fck: timer4_fck@39c {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>;
reg = <0x039c>; reg = <0x039c>;
}; };
timer5_fck: timer5_fck { timer5_fck: timer5_fck@3a0 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>;
reg = <0x03a0>; reg = <0x03a0>;
}; };
timer6_fck: timer6_fck { timer6_fck: timer6_fck@3a4 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>;
reg = <0x03a4>; reg = <0x03a4>;
}; };
timer7_fck: timer7_fck { timer7_fck: timer7_fck@3a8 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,mux-clock"; compatible = "ti,mux-clock";
clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>; clocks = <&tclkin_ck>, <&sysclk18_ck>, <&sys_clkin_ck>;
......
...@@ -185,6 +185,8 @@ gpmc: gpmc@50000000 { ...@@ -185,6 +185,8 @@ gpmc: gpmc@50000000 {
gpmc,num-waitpins = <2>; gpmc,num-waitpins = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;
}; };
i2c1: i2c@48028000 { i2c1: i2c@48028000 {
......
...@@ -33,6 +33,7 @@ evm_3v3_sd: fixedregulator-sd { ...@@ -33,6 +33,7 @@ evm_3v3_sd: fixedregulator-sd {
evm_3v3_sw: fixedregulator-evm_3v3_sw { evm_3v3_sw: fixedregulator-evm_3v3_sw {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "evm_3v3_sw"; regulator-name = "evm_3v3_sw";
vin-supply = <&sysen1>;
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
}; };
...@@ -64,10 +65,11 @@ vtt_fixed: fixedregulator-vtt { ...@@ -64,10 +65,11 @@ vtt_fixed: fixedregulator-vtt {
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
enable-active-high; enable-active-high;
vin-supply = <&sysen2>;
gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>; gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
}; };
sound0: sound@0 { sound0: sound0 {
compatible = "simple-audio-card"; compatible = "simple-audio-card";
simple-audio-card,name = "DRA7xx-EVM"; simple-audio-card,name = "DRA7xx-EVM";
simple-audio-card,widgets = simple-audio-card,widgets =
...@@ -254,8 +256,9 @@ DRA7XX_CORE_IOPAD(0x3684, PIN_INPUT_SLEW | MUX_MODE0) /* usb2_drvvbus */ ...@@ -254,8 +256,9 @@ DRA7XX_CORE_IOPAD(0x3684, PIN_INPUT_SLEW | MUX_MODE0) /* usb2_drvvbus */
nand_flash_x16: nand_flash_x16 { nand_flash_x16: nand_flash_x16 {
/* On DRA7 EVM, GPMC_WPN and NAND_BOOTn comes from DIP switch /* On DRA7 EVM, GPMC_WPN and NAND_BOOTn comes from DIP switch
* So NAND flash requires following switch settings: * So NAND flash requires following switch settings:
* SW5.9 (GPMC_WPN) = LOW * SW5.1 (NAND_BOOTn) = ON (LOW)
* SW5.1 (NAND_BOOTn) = HIGH */ * SW5.9 (GPMC_WPN) = OFF (HIGH)
*/
pinctrl-single,pins = < pinctrl-single,pins = <
DRA7XX_CORE_IOPAD(0x3400, PIN_INPUT | MUX_MODE0) /* gpmc_ad0 */ DRA7XX_CORE_IOPAD(0x3400, PIN_INPUT | MUX_MODE0) /* gpmc_ad0 */
DRA7XX_CORE_IOPAD(0x3404, PIN_INPUT | MUX_MODE0) /* gpmc_ad1 */ DRA7XX_CORE_IOPAD(0x3404, PIN_INPUT | MUX_MODE0) /* gpmc_ad1 */
...@@ -523,6 +526,31 @@ ldousb_reg: ldousb { ...@@ -523,6 +526,31 @@ ldousb_reg: ldousb {
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-boot-on; regulator-boot-on;
}; };
/* REGEN1 is unused */
regen2: regen2 {
/* Needed for PMIC internal resources */
regulator-name = "regen2";
regulator-boot-on;
regulator-always-on;
};
/* REGEN3 is unused */
sysen1: sysen1 {
/* PMIC_REGEN_3V3 */
regulator-name = "sysen1";
regulator-boot-on;
regulator-always-on;
};
sysen2: sysen2 {
/* PMIC_REGEN_DDR */
regulator-name = "sysen2";
regulator-boot-on;
regulator-always-on;
};
}; };
}; };
}; };
...@@ -539,7 +567,7 @@ pcf_lcd: gpio@20 { ...@@ -539,7 +567,7 @@ pcf_lcd: gpio@20 {
}; };
pcf_gpio_21: gpio@21 { pcf_gpio_21: gpio@21 {
compatible = "ti,pcf8575"; compatible = "nxp,pcf8575";
reg = <0x21>; reg = <0x21>;
lines-initial-states = <0x1408>; lines-initial-states = <0x1408>;
gpio-controller; gpio-controller;
...@@ -748,6 +776,7 @@ nand@0,0 { ...@@ -748,6 +776,7 @@ nand@0,0 {
interrupt-parent = <&gpmc>; interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";
ti,elm-id = <&elm>; ti,elm-id = <&elm>;
nand-bus-width = <16>; nand-bus-width = <16>;
...@@ -904,6 +933,8 @@ &mcasp3 { ...@@ -904,6 +933,8 @@ &mcasp3 {
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1 2 0 0 1 2 0 0
>; >;
tx-num-evt = <32>;
rx-num-evt = <32>;
}; };
&mailbox5 { &mailbox5 {
......
...@@ -123,7 +123,7 @@ scm_conf: scm_conf@0 { ...@@ -123,7 +123,7 @@ scm_conf: scm_conf@0 {
#size-cells = <1>; #size-cells = <1>;
ranges = <0 0x0 0x1400>; ranges = <0 0x0 0x1400>;
pbias_regulator: pbias_regulator { pbias_regulator: pbias_regulator@e00 {
compatible = "ti,pbias-dra7", "ti,pbias-omap"; compatible = "ti,pbias-dra7", "ti,pbias-omap";
reg = <0xe00 0x4>; reg = <0xe00 0x4>;
syscon = <&scm_conf>; syscon = <&scm_conf>;
...@@ -161,6 +161,24 @@ scm_conf_pcie: scm_conf@1c24 { ...@@ -161,6 +161,24 @@ scm_conf_pcie: scm_conf@1c24 {
compatible = "syscon"; compatible = "syscon";
reg = <0x1c24 0x0024>; reg = <0x1c24 0x0024>;
}; };
sdma_xbar: dma-router@b78 {
compatible = "ti,dra7-dma-crossbar";
reg = <0xb78 0xfc>;
#dma-cells = <1>;
dma-requests = <205>;
ti,dma-safe-map = <0>;
dma-masters = <&sdma>;
};
edma_xbar: dma-router@c78 {
compatible = "ti,dra7-dma-crossbar";
reg = <0xc78 0x7c>;
#dma-cells = <2>;
dma-requests = <204>;
ti,dma-safe-map = <0>;
dma-masters = <&edma>;
};
}; };
cm_core_aon: cm_core_aon@5000 { cm_core_aon: cm_core_aon@5000 {
...@@ -315,13 +333,43 @@ sdma: dma-controller@4a056000 { ...@@ -315,13 +333,43 @@ sdma: dma-controller@4a056000 {
dma-requests = <127>; dma-requests = <127>;
}; };
sdma_xbar: dma-router@4a002b78 { edma: edma@43300000 {
compatible = "ti,dra7-dma-crossbar"; compatible = "ti,edma3-tpcc";
reg = <0x4a002b78 0xfc>; ti,hwmods = "tpcc";
#dma-cells = <1>; reg = <0x43300000 0x100000>;
dma-requests = <205>; reg-names = "edma3_cc";
ti,dma-safe-map = <0>; interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
dma-masters = <&sdma>; <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "edma3_ccint", "emda3_mperr",
"edma3_ccerrint";
dma-requests = <64>;
#dma-cells = <2>;
ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>;
/*
* memcpy is disabled, can be enabled with:
* ti,edma-memcpy-channels = <20 21>;
* for example. Note that these channels need to be
* masked in the xbar as well.
*/
};
edma_tptc0: tptc@43400000 {
compatible = "ti,edma3-tptc";
ti,hwmods = "tptc0";
reg = <0x43400000 0x100000>;
interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "edma3_tcerrint";
};
edma_tptc1: tptc@43500000 {
compatible = "ti,edma3-tptc";
ti,hwmods = "tptc1";
reg = <0x43500000 0x100000>;
interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "edma3_tcerrint";
}; };
gpio1: gpio@4ae10000 { gpio1: gpio@4ae10000 {
...@@ -773,12 +821,20 @@ timer11: timer@48088000 { ...@@ -773,12 +821,20 @@ timer11: timer@48088000 {
ti,hwmods = "timer11"; ti,hwmods = "timer11";
}; };
timer12: timer@4ae20000 {
compatible = "ti,omap5430-timer";
reg = <0x4ae20000 0x80>;
interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "timer12";
ti,timer-alwon;
ti,timer-secure;
};
timer13: timer@48828000 { timer13: timer@48828000 {
compatible = "ti,omap5430-timer"; compatible = "ti,omap5430-timer";
reg = <0x48828000 0x80>; reg = <0x48828000 0x80>;
interrupts = <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "timer13"; ti,hwmods = "timer13";
status = "disabled";
}; };
timer14: timer@4882a000 { timer14: timer@4882a000 {
...@@ -786,7 +842,6 @@ timer14: timer@4882a000 { ...@@ -786,7 +842,6 @@ timer14: timer@4882a000 {
reg = <0x4882a000 0x80>; reg = <0x4882a000 0x80>;
interrupts = <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "timer14"; ti,hwmods = "timer14";
status = "disabled";
}; };
timer15: timer@4882c000 { timer15: timer@4882c000 {
...@@ -794,7 +849,6 @@ timer15: timer@4882c000 { ...@@ -794,7 +849,6 @@ timer15: timer@4882c000 {
reg = <0x4882c000 0x80>; reg = <0x4882c000 0x80>;
interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "timer15"; ti,hwmods = "timer15";
status = "disabled";
}; };
timer16: timer@4882e000 { timer16: timer@4882e000 {
...@@ -802,7 +856,6 @@ timer16: timer@4882e000 { ...@@ -802,7 +856,6 @@ timer16: timer@4882e000 {
reg = <0x4882e000 0x80>; reg = <0x4882e000 0x80>;
interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "timer16"; ti,hwmods = "timer16";
status = "disabled";
}; };
wdt2: wdt@4ae14000 { wdt2: wdt@4ae14000 {
...@@ -1404,6 +1457,8 @@ gpmc: gpmc@50000000 { ...@@ -1404,6 +1457,8 @@ gpmc: gpmc@50000000 {
#size-cells = <1>; #size-cells = <1>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;
status = "disabled"; status = "disabled";
}; };
...@@ -1418,21 +1473,136 @@ atl: atl@4843c000 { ...@@ -1418,21 +1473,136 @@ atl: atl@4843c000 {
status = "disabled"; status = "disabled";
}; };
mcasp1: mcasp@48460000 {
compatible = "ti,dra7-mcasp-audio";
ti,hwmods = "mcasp1";
reg = <0x48460000 0x2000>,
<0x45800000 0x1000>;
reg-names = "mpu","dat";
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "tx", "rx";
dmas = <&edma_xbar 129 1>, <&edma_xbar 128 1>;
dma-names = "tx", "rx";
clocks = <&mcasp1_aux_gfclk_mux>, <&mcasp1_ahclkx_mux>,
<&mcasp1_ahclkr_mux>;
clock-names = "fck", "ahclkx", "ahclkr";
status = "disabled";
};
mcasp2: mcasp@48464000 {
compatible = "ti,dra7-mcasp-audio";
ti,hwmods = "mcasp2";
reg = <0x48464000 0x2000>,
<0x45c00000 0x1000>;
reg-names = "mpu","dat";
interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "tx", "rx";
dmas = <&edma_xbar 131 1>, <&edma_xbar 130 1>;
dma-names = "tx", "rx";
clocks = <&mcasp2_aux_gfclk_mux>, <&mcasp2_ahclkx_mux>,
<&mcasp2_ahclkr_mux>;
clock-names = "fck", "ahclkx", "ahclkr";
status = "disabled";
};
mcasp3: mcasp@48468000 { mcasp3: mcasp@48468000 {
compatible = "ti,dra7-mcasp-audio"; compatible = "ti,dra7-mcasp-audio";
ti,hwmods = "mcasp3"; ti,hwmods = "mcasp3";
reg = <0x48468000 0x2000>; reg = <0x48468000 0x2000>,
reg-names = "mpu"; <0x46000000 0x1000>;
reg-names = "mpu","dat";
interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>; <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "tx", "rx"; interrupt-names = "tx", "rx";
dmas = <&sdma_xbar 133>, <&sdma_xbar 132>; dmas = <&edma_xbar 133 1>, <&edma_xbar 132 1>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
clocks = <&mcasp3_aux_gfclk_mux>, <&mcasp3_ahclkx_mux>; clocks = <&mcasp3_aux_gfclk_mux>, <&mcasp3_ahclkx_mux>;
clock-names = "fck", "ahclkx"; clock-names = "fck", "ahclkx";
status = "disabled"; status = "disabled";
}; };
mcasp4: mcasp@4846c000 {
compatible = "ti,dra7-mcasp-audio";
ti,hwmods = "mcasp4";
reg = <0x4846c000 0x2000>,
<0x48436000 0x1000>;
reg-names = "mpu","dat";
interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "tx", "rx";
dmas = <&edma_xbar 135 1>, <&edma_xbar 134 1>;
dma-names = "tx", "rx";
clocks = <&mcasp4_aux_gfclk_mux>, <&mcasp4_ahclkx_mux>;
clock-names = "fck", "ahclkx";
status = "disabled";
};
mcasp5: mcasp@48470000 {
compatible = "ti,dra7-mcasp-audio";
ti,hwmods = "mcasp5";
reg = <0x48470000 0x2000>,
<0x4843a000 0x1000>;
reg-names = "mpu","dat";
interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "tx", "rx";
dmas = <&edma_xbar 137 1>, <&edma_xbar 136 1>;
dma-names = "tx", "rx";
clocks = <&mcasp5_aux_gfclk_mux>, <&mcasp5_ahclkx_mux>;
clock-names = "fck", "ahclkx";
status = "disabled";
};
mcasp6: mcasp@48474000 {
compatible = "ti,dra7-mcasp-audio";
ti,hwmods = "mcasp6";
reg = <0x48474000 0x2000>,
<0x4844c000 0x1000>;
reg-names = "mpu","dat";
interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "tx", "rx";
dmas = <&edma_xbar 139 1>, <&edma_xbar 138 1>;
dma-names = "tx", "rx";
clocks = <&mcasp6_aux_gfclk_mux>, <&mcasp6_ahclkx_mux>;
clock-names = "fck", "ahclkx";
status = "disabled";
};
mcasp7: mcasp@48478000 {
compatible = "ti,dra7-mcasp-audio";
ti,hwmods = "mcasp7";
reg = <0x48478000 0x2000>,
<0x48450000 0x1000>;
reg-names = "mpu","dat";
interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "tx", "rx";
dmas = <&edma_xbar 141 1>, <&edma_xbar 140 1>;
dma-names = "tx", "rx";
clocks = <&mcasp7_aux_gfclk_mux>, <&mcasp7_ahclkx_mux>;
clock-names = "fck", "ahclkx";
status = "disabled";
};
mcasp8: mcasp@4847c000 {
compatible = "ti,dra7-mcasp-audio";
ti,hwmods = "mcasp8";
reg = <0x4847c000 0x2000>,
<0x48454000 0x1000>;
reg-names = "mpu","dat";
interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "tx", "rx";
dmas = <&edma_xbar 143 1>, <&edma_xbar 142 1>;
dma-names = "tx", "rx";
clocks = <&mcasp8_aux_gfclk_mux>, <&mcasp8_ahclkx_mux>;
clock-names = "fck", "ahclkx";
status = "disabled";
};
crossbar_mpu: crossbar@4a002a48 { crossbar_mpu: crossbar@4a002a48 {
compatible = "ti,irq-crossbar"; compatible = "ti,irq-crossbar";
reg = <0x4a002a48 0x130>; reg = <0x4a002a48 0x130>;
......
This diff is collapsed.
/*
* Copyright (C) 2016 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.
*/
#include "dra72-evm-common.dtsi"
#include <dt-bindings/net/ti-dp83867.h>
/ {
model = "TI DRA722 Rev C EVM";
memory {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0x80000000>; /* 2GB */
};
};
&tps65917_regulators {
ldo2_reg: ldo2 {
/* LDO2_OUT --> VDDA_1V8_PHY2 */
regulator-name = "ldo2";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
};
&hdmi {
vdda-supply = <&ldo2_reg>;
};
&pcf_gpio_21 {
interrupt-parent = <&gpio3>;
interrupts = <30 IRQ_TYPE_EDGE_FALLING>;
};
&mac {
mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_LOW>,
<&pcf_hdmi 9 GPIO_ACTIVE_LOW>, /* P11 */
<&pcf_hdmi 10 GPIO_ACTIVE_LOW>; /* P12 */
dual_emac;
};
&cpsw_emac0 {
phy_id = <&davinci_mdio>, <2>;
phy-mode = "rgmii-id";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
phy_id = <&davinci_mdio>, <3>;
phy-mode = "rgmii-id";
dual_emac_res_vlan = <2>;
};
&davinci_mdio {
dp83867_0: ethernet-phy@2 {
reg = <2>;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_NS>;
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
};
dp83867_1: ethernet-phy@3 {
reg = <3>;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_NS>;
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
};
};
This diff is collapsed.
This diff is collapsed.
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
*/ */
&prcm_clocks { &prcm_clocks {
sys_clkout2_src_gate: sys_clkout2_src_gate { sys_clkout2_src_gate: sys_clkout2_src_gate@70 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-no-wait-gate-clock"; compatible = "ti,composite-no-wait-gate-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
...@@ -17,7 +17,7 @@ sys_clkout2_src_gate: sys_clkout2_src_gate { ...@@ -17,7 +17,7 @@ sys_clkout2_src_gate: sys_clkout2_src_gate {
reg = <0x0070>; reg = <0x0070>;
}; };
sys_clkout2_src_mux: sys_clkout2_src_mux { sys_clkout2_src_mux: sys_clkout2_src_mux@70 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-mux-clock"; compatible = "ti,composite-mux-clock";
clocks = <&core_ck>, <&sys_ck>, <&func_96m_ck>, <&func_54m_ck>; clocks = <&core_ck>, <&sys_ck>, <&func_96m_ck>, <&func_54m_ck>;
...@@ -31,7 +31,7 @@ sys_clkout2_src: sys_clkout2_src { ...@@ -31,7 +31,7 @@ sys_clkout2_src: sys_clkout2_src {
clocks = <&sys_clkout2_src_gate>, <&sys_clkout2_src_mux>; clocks = <&sys_clkout2_src_gate>, <&sys_clkout2_src_mux>;
}; };
sys_clkout2: sys_clkout2 { sys_clkout2: sys_clkout2@70 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,divider-clock"; compatible = "ti,divider-clock";
clocks = <&sys_clkout2_src>; clocks = <&sys_clkout2_src>;
...@@ -41,7 +41,7 @@ sys_clkout2: sys_clkout2 { ...@@ -41,7 +41,7 @@ sys_clkout2: sys_clkout2 {
ti,index-power-of-two; ti,index-power-of-two;
}; };
dsp_gate_ick: dsp_gate_ick { dsp_gate_ick: dsp_gate_ick@810 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-interface-clock"; compatible = "ti,composite-interface-clock";
clocks = <&dsp_fck>; clocks = <&dsp_fck>;
...@@ -49,7 +49,7 @@ dsp_gate_ick: dsp_gate_ick { ...@@ -49,7 +49,7 @@ dsp_gate_ick: dsp_gate_ick {
reg = <0x0810>; reg = <0x0810>;
}; };
dsp_div_ick: dsp_div_ick { dsp_div_ick: dsp_div_ick@840 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-divider-clock"; compatible = "ti,composite-divider-clock";
clocks = <&dsp_fck>; clocks = <&dsp_fck>;
...@@ -65,7 +65,7 @@ dsp_ick: dsp_ick { ...@@ -65,7 +65,7 @@ dsp_ick: dsp_ick {
clocks = <&dsp_gate_ick>, <&dsp_div_ick>; clocks = <&dsp_gate_ick>, <&dsp_div_ick>;
}; };
iva1_gate_ifck: iva1_gate_ifck { iva1_gate_ifck: iva1_gate_ifck@800 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-gate-clock"; compatible = "ti,composite-gate-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
...@@ -73,7 +73,7 @@ iva1_gate_ifck: iva1_gate_ifck { ...@@ -73,7 +73,7 @@ iva1_gate_ifck: iva1_gate_ifck {
reg = <0x0800>; reg = <0x0800>;
}; };
iva1_div_ifck: iva1_div_ifck { iva1_div_ifck: iva1_div_ifck@840 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-divider-clock"; compatible = "ti,composite-divider-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
...@@ -96,7 +96,7 @@ iva1_ifck_div: iva1_ifck_div { ...@@ -96,7 +96,7 @@ iva1_ifck_div: iva1_ifck_div {
clock-div = <2>; clock-div = <2>;
}; };
iva1_mpu_int_ifck: iva1_mpu_int_ifck { iva1_mpu_int_ifck: iva1_mpu_int_ifck@800 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&iva1_ifck_div>; clocks = <&iva1_ifck_div>;
...@@ -104,7 +104,7 @@ iva1_mpu_int_ifck: iva1_mpu_int_ifck { ...@@ -104,7 +104,7 @@ iva1_mpu_int_ifck: iva1_mpu_int_ifck {
reg = <0x0800>; reg = <0x0800>;
}; };
wdt3_ick: wdt3_ick { wdt3_ick: wdt3_ick@210 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l4_ck>; clocks = <&l4_ck>;
...@@ -112,7 +112,7 @@ wdt3_ick: wdt3_ick { ...@@ -112,7 +112,7 @@ wdt3_ick: wdt3_ick {
reg = <0x0210>; reg = <0x0210>;
}; };
wdt3_fck: wdt3_fck { wdt3_fck: wdt3_fck@200 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&func_32k_ck>; clocks = <&func_32k_ck>;
...@@ -120,7 +120,7 @@ wdt3_fck: wdt3_fck { ...@@ -120,7 +120,7 @@ wdt3_fck: wdt3_fck {
reg = <0x0200>; reg = <0x0200>;
}; };
mmc_ick: mmc_ick { mmc_ick: mmc_ick@210 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l4_ck>; clocks = <&l4_ck>;
...@@ -128,7 +128,7 @@ mmc_ick: mmc_ick { ...@@ -128,7 +128,7 @@ mmc_ick: mmc_ick {
reg = <0x0210>; reg = <0x0210>;
}; };
mmc_fck: mmc_fck { mmc_fck: mmc_fck@200 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&func_96m_ck>; clocks = <&func_96m_ck>;
...@@ -136,7 +136,7 @@ mmc_fck: mmc_fck { ...@@ -136,7 +136,7 @@ mmc_fck: mmc_fck {
reg = <0x0200>; reg = <0x0200>;
}; };
eac_ick: eac_ick { eac_ick: eac_ick@210 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l4_ck>; clocks = <&l4_ck>;
...@@ -144,7 +144,7 @@ eac_ick: eac_ick { ...@@ -144,7 +144,7 @@ eac_ick: eac_ick {
reg = <0x0210>; reg = <0x0210>;
}; };
eac_fck: eac_fck { eac_fck: eac_fck@200 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&func_96m_ck>; clocks = <&func_96m_ck>;
...@@ -152,7 +152,7 @@ eac_fck: eac_fck { ...@@ -152,7 +152,7 @@ eac_fck: eac_fck {
reg = <0x0200>; reg = <0x0200>;
}; };
i2c1_fck: i2c1_fck { i2c1_fck: i2c1_fck@200 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&func_12m_ck>; clocks = <&func_12m_ck>;
...@@ -160,7 +160,7 @@ i2c1_fck: i2c1_fck { ...@@ -160,7 +160,7 @@ i2c1_fck: i2c1_fck {
reg = <0x0200>; reg = <0x0200>;
}; };
i2c2_fck: i2c2_fck { i2c2_fck: i2c2_fck@200 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&func_12m_ck>; clocks = <&func_12m_ck>;
...@@ -168,7 +168,7 @@ i2c2_fck: i2c2_fck { ...@@ -168,7 +168,7 @@ i2c2_fck: i2c2_fck {
reg = <0x0200>; reg = <0x0200>;
}; };
vlynq_ick: vlynq_ick { vlynq_ick: vlynq_ick@210 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&core_l3_ck>; clocks = <&core_l3_ck>;
...@@ -176,7 +176,7 @@ vlynq_ick: vlynq_ick { ...@@ -176,7 +176,7 @@ vlynq_ick: vlynq_ick {
reg = <0x0210>; reg = <0x0210>;
}; };
vlynq_gate_fck: vlynq_gate_fck { vlynq_gate_fck: vlynq_gate_fck@200 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-gate-clock"; compatible = "ti,composite-gate-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
...@@ -192,7 +192,7 @@ core_d18_ck: core_d18_ck { ...@@ -192,7 +192,7 @@ core_d18_ck: core_d18_ck {
clock-div = <18>; clock-div = <18>;
}; };
vlynq_mux_fck: vlynq_mux_fck { vlynq_mux_fck: vlynq_mux_fck@240 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-mux-clock"; compatible = "ti,composite-mux-clock";
clocks = <&func_96m_ck>, <&core_ck>, <&core_d2_ck>, <&core_d3_ck>, <&core_d4_ck>, <&dummy_ck>, <&core_d6_ck>, <&dummy_ck>, <&core_d8_ck>, <&core_d9_ck>, <&dummy_ck>, <&dummy_ck>, <&core_d12_ck>, <&dummy_ck>, <&dummy_ck>, <&dummy_ck>, <&core_d16_ck>, <&dummy_ck>, <&core_d18_ck>; clocks = <&func_96m_ck>, <&core_ck>, <&core_d2_ck>, <&core_d3_ck>, <&core_d4_ck>, <&dummy_ck>, <&core_d6_ck>, <&dummy_ck>, <&core_d8_ck>, <&core_d9_ck>, <&dummy_ck>, <&dummy_ck>, <&core_d12_ck>, <&dummy_ck>, <&dummy_ck>, <&dummy_ck>, <&core_d16_ck>, <&dummy_ck>, <&core_d18_ck>;
......
...@@ -7,7 +7,7 @@ memory { ...@@ -7,7 +7,7 @@ memory {
}; };
ocp { ocp {
i2c@0 { i2c0 {
compatible = "i2c-cbus-gpio"; compatible = "i2c-cbus-gpio";
gpios = <&gpio3 2 GPIO_ACTIVE_HIGH /* gpio66 clk */ gpios = <&gpio3 2 GPIO_ACTIVE_HIGH /* gpio66 clk */
&gpio3 1 GPIO_ACTIVE_HIGH /* gpio65 dat */ &gpio3 1 GPIO_ACTIVE_HIGH /* gpio65 dat */
......
...@@ -130,6 +130,10 @@ gpmc: gpmc@6800a000 { ...@@ -130,6 +130,10 @@ gpmc: gpmc@6800a000 {
gpmc,num-cs = <8>; gpmc,num-cs = <8>;
gpmc,num-waitpins = <4>; gpmc,num-waitpins = <4>;
ti,hwmods = "gpmc"; ti,hwmods = "gpmc";
interrupt-controller;
#interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;
}; };
mcbsp1: mcbsp@48074000 { mcbsp1: mcbsp@48074000 {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
*/ */
&scm_clocks { &scm_clocks {
mcbsp3_mux_fck: mcbsp3_mux_fck { mcbsp3_mux_fck: mcbsp3_mux_fck@78 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-mux-clock"; compatible = "ti,composite-mux-clock";
clocks = <&func_96m_ck>, <&mcbsp_clks>; clocks = <&func_96m_ck>, <&mcbsp_clks>;
...@@ -22,7 +22,7 @@ mcbsp3_fck: mcbsp3_fck { ...@@ -22,7 +22,7 @@ mcbsp3_fck: mcbsp3_fck {
clocks = <&mcbsp3_gate_fck>, <&mcbsp3_mux_fck>; clocks = <&mcbsp3_gate_fck>, <&mcbsp3_mux_fck>;
}; };
mcbsp4_mux_fck: mcbsp4_mux_fck { mcbsp4_mux_fck: mcbsp4_mux_fck@78 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-mux-clock"; compatible = "ti,composite-mux-clock";
clocks = <&func_96m_ck>, <&mcbsp_clks>; clocks = <&func_96m_ck>, <&mcbsp_clks>;
...@@ -36,7 +36,7 @@ mcbsp4_fck: mcbsp4_fck { ...@@ -36,7 +36,7 @@ mcbsp4_fck: mcbsp4_fck {
clocks = <&mcbsp4_gate_fck>, <&mcbsp4_mux_fck>; clocks = <&mcbsp4_gate_fck>, <&mcbsp4_mux_fck>;
}; };
mcbsp5_mux_fck: mcbsp5_mux_fck { mcbsp5_mux_fck: mcbsp5_mux_fck@78 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-mux-clock"; compatible = "ti,composite-mux-clock";
clocks = <&func_96m_ck>, <&mcbsp_clks>; clocks = <&func_96m_ck>, <&mcbsp_clks>;
...@@ -52,7 +52,7 @@ mcbsp5_fck: mcbsp5_fck { ...@@ -52,7 +52,7 @@ mcbsp5_fck: mcbsp5_fck {
}; };
&prcm_clocks { &prcm_clocks {
iva2_1_gate_ick: iva2_1_gate_ick { iva2_1_gate_ick: iva2_1_gate_ick@800 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-gate-clock"; compatible = "ti,composite-gate-clock";
clocks = <&dsp_fck>; clocks = <&dsp_fck>;
...@@ -60,7 +60,7 @@ iva2_1_gate_ick: iva2_1_gate_ick { ...@@ -60,7 +60,7 @@ iva2_1_gate_ick: iva2_1_gate_ick {
reg = <0x0800>; reg = <0x0800>;
}; };
iva2_1_div_ick: iva2_1_div_ick { iva2_1_div_ick: iva2_1_div_ick@840 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-divider-clock"; compatible = "ti,composite-divider-clock";
clocks = <&dsp_fck>; clocks = <&dsp_fck>;
...@@ -76,7 +76,7 @@ iva2_1_ick: iva2_1_ick { ...@@ -76,7 +76,7 @@ iva2_1_ick: iva2_1_ick {
clocks = <&iva2_1_gate_ick>, <&iva2_1_div_ick>; clocks = <&iva2_1_gate_ick>, <&iva2_1_div_ick>;
}; };
mdm_gate_ick: mdm_gate_ick { mdm_gate_ick: mdm_gate_ick@c10 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-interface-clock"; compatible = "ti,composite-interface-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
...@@ -84,7 +84,7 @@ mdm_gate_ick: mdm_gate_ick { ...@@ -84,7 +84,7 @@ mdm_gate_ick: mdm_gate_ick {
reg = <0x0c10>; reg = <0x0c10>;
}; };
mdm_div_ick: mdm_div_ick { mdm_div_ick: mdm_div_ick@c40 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-divider-clock"; compatible = "ti,composite-divider-clock";
clocks = <&core_ck>; clocks = <&core_ck>;
...@@ -98,7 +98,7 @@ mdm_ick: mdm_ick { ...@@ -98,7 +98,7 @@ mdm_ick: mdm_ick {
clocks = <&mdm_gate_ick>, <&mdm_div_ick>; clocks = <&mdm_gate_ick>, <&mdm_div_ick>;
}; };
mdm_osc_ck: mdm_osc_ck { mdm_osc_ck: mdm_osc_ck@c00 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&osc_ck>; clocks = <&osc_ck>;
...@@ -106,7 +106,7 @@ mdm_osc_ck: mdm_osc_ck { ...@@ -106,7 +106,7 @@ mdm_osc_ck: mdm_osc_ck {
reg = <0x0c00>; reg = <0x0c00>;
}; };
mcbsp3_ick: mcbsp3_ick { mcbsp3_ick: mcbsp3_ick@214 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l4_ck>; clocks = <&l4_ck>;
...@@ -114,7 +114,7 @@ mcbsp3_ick: mcbsp3_ick { ...@@ -114,7 +114,7 @@ mcbsp3_ick: mcbsp3_ick {
reg = <0x0214>; reg = <0x0214>;
}; };
mcbsp3_gate_fck: mcbsp3_gate_fck { mcbsp3_gate_fck: mcbsp3_gate_fck@204 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-gate-clock"; compatible = "ti,composite-gate-clock";
clocks = <&mcbsp_clks>; clocks = <&mcbsp_clks>;
...@@ -122,7 +122,7 @@ mcbsp3_gate_fck: mcbsp3_gate_fck { ...@@ -122,7 +122,7 @@ mcbsp3_gate_fck: mcbsp3_gate_fck {
reg = <0x0204>; reg = <0x0204>;
}; };
mcbsp4_ick: mcbsp4_ick { mcbsp4_ick: mcbsp4_ick@214 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l4_ck>; clocks = <&l4_ck>;
...@@ -130,7 +130,7 @@ mcbsp4_ick: mcbsp4_ick { ...@@ -130,7 +130,7 @@ mcbsp4_ick: mcbsp4_ick {
reg = <0x0214>; reg = <0x0214>;
}; };
mcbsp4_gate_fck: mcbsp4_gate_fck { mcbsp4_gate_fck: mcbsp4_gate_fck@204 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-gate-clock"; compatible = "ti,composite-gate-clock";
clocks = <&mcbsp_clks>; clocks = <&mcbsp_clks>;
...@@ -138,7 +138,7 @@ mcbsp4_gate_fck: mcbsp4_gate_fck { ...@@ -138,7 +138,7 @@ mcbsp4_gate_fck: mcbsp4_gate_fck {
reg = <0x0204>; reg = <0x0204>;
}; };
mcbsp5_ick: mcbsp5_ick { mcbsp5_ick: mcbsp5_ick@214 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l4_ck>; clocks = <&l4_ck>;
...@@ -146,7 +146,7 @@ mcbsp5_ick: mcbsp5_ick { ...@@ -146,7 +146,7 @@ mcbsp5_ick: mcbsp5_ick {
reg = <0x0214>; reg = <0x0214>;
}; };
mcbsp5_gate_fck: mcbsp5_gate_fck { mcbsp5_gate_fck: mcbsp5_gate_fck@204 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,composite-gate-clock"; compatible = "ti,composite-gate-clock";
clocks = <&mcbsp_clks>; clocks = <&mcbsp_clks>;
...@@ -154,7 +154,7 @@ mcbsp5_gate_fck: mcbsp5_gate_fck { ...@@ -154,7 +154,7 @@ mcbsp5_gate_fck: mcbsp5_gate_fck {
reg = <0x0204>; reg = <0x0204>;
}; };
mcspi3_ick: mcspi3_ick { mcspi3_ick: mcspi3_ick@214 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l4_ck>; clocks = <&l4_ck>;
...@@ -162,7 +162,7 @@ mcspi3_ick: mcspi3_ick { ...@@ -162,7 +162,7 @@ mcspi3_ick: mcspi3_ick {
reg = <0x0214>; reg = <0x0214>;
}; };
mcspi3_fck: mcspi3_fck { mcspi3_fck: mcspi3_fck@204 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&func_48m_ck>; clocks = <&func_48m_ck>;
...@@ -170,7 +170,7 @@ mcspi3_fck: mcspi3_fck { ...@@ -170,7 +170,7 @@ mcspi3_fck: mcspi3_fck {
reg = <0x0204>; reg = <0x0204>;
}; };
icr_ick: icr_ick { icr_ick: icr_ick@410 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&sys_ck>; clocks = <&sys_ck>;
...@@ -178,7 +178,7 @@ icr_ick: icr_ick { ...@@ -178,7 +178,7 @@ icr_ick: icr_ick {
reg = <0x0410>; reg = <0x0410>;
}; };
i2chs1_fck: i2chs1_fck { i2chs1_fck: i2chs1_fck@204 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap2430-interface-clock"; compatible = "ti,omap2430-interface-clock";
clocks = <&func_96m_ck>; clocks = <&func_96m_ck>;
...@@ -186,7 +186,7 @@ i2chs1_fck: i2chs1_fck { ...@@ -186,7 +186,7 @@ i2chs1_fck: i2chs1_fck {
reg = <0x0204>; reg = <0x0204>;
}; };
i2chs2_fck: i2chs2_fck { i2chs2_fck: i2chs2_fck@204 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap2430-interface-clock"; compatible = "ti,omap2430-interface-clock";
clocks = <&func_96m_ck>; clocks = <&func_96m_ck>;
...@@ -194,7 +194,7 @@ i2chs2_fck: i2chs2_fck { ...@@ -194,7 +194,7 @@ i2chs2_fck: i2chs2_fck {
reg = <0x0204>; reg = <0x0204>;
}; };
usbhs_ick: usbhs_ick { usbhs_ick: usbhs_ick@214 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&core_l3_ck>; clocks = <&core_l3_ck>;
...@@ -202,7 +202,7 @@ usbhs_ick: usbhs_ick { ...@@ -202,7 +202,7 @@ usbhs_ick: usbhs_ick {
reg = <0x0214>; reg = <0x0214>;
}; };
mmchs1_ick: mmchs1_ick { mmchs1_ick: mmchs1_ick@214 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l4_ck>; clocks = <&l4_ck>;
...@@ -210,7 +210,7 @@ mmchs1_ick: mmchs1_ick { ...@@ -210,7 +210,7 @@ mmchs1_ick: mmchs1_ick {
reg = <0x0214>; reg = <0x0214>;
}; };
mmchs1_fck: mmchs1_fck { mmchs1_fck: mmchs1_fck@204 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&func_96m_ck>; clocks = <&func_96m_ck>;
...@@ -218,7 +218,7 @@ mmchs1_fck: mmchs1_fck { ...@@ -218,7 +218,7 @@ mmchs1_fck: mmchs1_fck {
reg = <0x0204>; reg = <0x0204>;
}; };
mmchs2_ick: mmchs2_ick { mmchs2_ick: mmchs2_ick@214 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l4_ck>; clocks = <&l4_ck>;
...@@ -226,7 +226,7 @@ mmchs2_ick: mmchs2_ick { ...@@ -226,7 +226,7 @@ mmchs2_ick: mmchs2_ick {
reg = <0x0214>; reg = <0x0214>;
}; };
mmchs2_fck: mmchs2_fck { mmchs2_fck: mmchs2_fck@204 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&func_96m_ck>; clocks = <&func_96m_ck>;
...@@ -234,7 +234,7 @@ mmchs2_fck: mmchs2_fck { ...@@ -234,7 +234,7 @@ mmchs2_fck: mmchs2_fck {
reg = <0x0204>; reg = <0x0204>;
}; };
gpio5_ick: gpio5_ick { gpio5_ick: gpio5_ick@214 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l4_ck>; clocks = <&l4_ck>;
...@@ -242,7 +242,7 @@ gpio5_ick: gpio5_ick { ...@@ -242,7 +242,7 @@ gpio5_ick: gpio5_ick {
reg = <0x0214>; reg = <0x0214>;
}; };
gpio5_fck: gpio5_fck { gpio5_fck: gpio5_fck@204 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&func_32k_ck>; clocks = <&func_32k_ck>;
...@@ -250,7 +250,7 @@ gpio5_fck: gpio5_fck { ...@@ -250,7 +250,7 @@ gpio5_fck: gpio5_fck {
reg = <0x0204>; reg = <0x0204>;
}; };
mdm_intc_ick: mdm_intc_ick { mdm_intc_ick: mdm_intc_ick@214 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,omap3-interface-clock"; compatible = "ti,omap3-interface-clock";
clocks = <&l4_ck>; clocks = <&l4_ck>;
...@@ -258,7 +258,7 @@ mdm_intc_ick: mdm_intc_ick { ...@@ -258,7 +258,7 @@ mdm_intc_ick: mdm_intc_ick {
reg = <0x0214>; reg = <0x0214>;
}; };
mmchsdb1_fck: mmchsdb1_fck { mmchsdb1_fck: mmchsdb1_fck@204 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&func_32k_ck>; clocks = <&func_32k_ck>;
...@@ -266,7 +266,7 @@ mmchsdb1_fck: mmchsdb1_fck { ...@@ -266,7 +266,7 @@ mmchsdb1_fck: mmchsdb1_fck {
reg = <0x0204>; reg = <0x0204>;
}; };
mmchsdb2_fck: mmchsdb2_fck { mmchsdb2_fck: mmchsdb2_fck@204 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,wait-gate-clock"; compatible = "ti,wait-gate-clock";
clocks = <&func_32k_ck>; clocks = <&func_32k_ck>;
......
...@@ -63,7 +63,7 @@ scm_clocks: clocks { ...@@ -63,7 +63,7 @@ scm_clocks: clocks {
#size-cells = <0>; #size-cells = <0>;
}; };
pbias_regulator: pbias_regulator { pbias_regulator: pbias_regulator@230 {
compatible = "ti,pbias-omap2", "ti,pbias-omap"; compatible = "ti,pbias-omap2", "ti,pbias-omap";
reg = <0x230 0x4>; reg = <0x230 0x4>;
syscon = <&scm_conf>; syscon = <&scm_conf>;
...@@ -154,6 +154,10 @@ gpmc: gpmc@6e000000 { ...@@ -154,6 +154,10 @@ gpmc: gpmc@6e000000 {
gpmc,num-cs = <8>; gpmc,num-cs = <8>;
gpmc,num-waitpins = <4>; gpmc,num-waitpins = <4>;
ti,hwmods = "gpmc"; ti,hwmods = "gpmc";
interrupt-controller;
#interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;
}; };
mcbsp1: mcbsp@48074000 { mcbsp1: mcbsp@48074000 {
......
This diff is collapsed.
...@@ -390,6 +390,7 @@ nand@0,0 { ...@@ -390,6 +390,7 @@ nand@0,0 {
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */ <1 IRQ_TYPE_NONE>; /* termcount */
ti,nand-ecc-opt = "ham1"; ti,nand-ecc-opt = "ham1";
rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
nand-bus-width = <16>; nand-bus-width = <16>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
...@@ -57,3 +57,17 @@ csi2a_ep: endpoint { ...@@ -57,3 +57,17 @@ csi2a_ep: endpoint {
&modem { &modem {
compatible = "nokia,n9-modem"; compatible = "nokia,n9-modem";
}; };
&lis302 {
st,axis-x = <1>; /* LIS3_DEV_X */
st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */
st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */
st,min-limit-x = <(-46)>;
st,min-limit-y = <3>;
st,min-limit-z = <3>;
st,max-limit-x = <(-3)>;
st,max-limit-y = <46>;
st,max-limit-z = <46>;
};
This diff is collapsed.
This diff is collapsed.
...@@ -43,7 +43,7 @@ cpu@0 { ...@@ -43,7 +43,7 @@ cpu@0 {
}; };
}; };
pmu { pmu@54000000 {
compatible = "arm,cortex-a8-pmu"; compatible = "arm,cortex-a8-pmu";
reg = <0x54000000 0x800000>; reg = <0x54000000 0x800000>;
interrupts = <3>; interrupts = <3>;
...@@ -119,7 +119,7 @@ scm_conf: scm_conf@270 { ...@@ -119,7 +119,7 @@ scm_conf: scm_conf@270 {
#size-cells = <1>; #size-cells = <1>;
ranges = <0 0x270 0x330>; ranges = <0 0x270 0x330>;
pbias_regulator: pbias_regulator { pbias_regulator: pbias_regulator@2b0 {
compatible = "ti,pbias-omap3", "ti,pbias-omap"; compatible = "ti,pbias-omap3", "ti,pbias-omap";
reg = <0x2b0 0x4>; reg = <0x2b0 0x4>;
syscon = <&scm_conf>; syscon = <&scm_conf>;
...@@ -725,6 +725,8 @@ gpmc: gpmc@6e000000 { ...@@ -725,6 +725,8 @@ gpmc: gpmc@6e000000 {
#size-cells = <1>; #size-cells = <1>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;
}; };
usb_otg_hs: usb_otg_hs@480ab000 { usb_otg_hs: usb_otg_hs@480ab000 {
......
This diff is collapsed.
...@@ -55,7 +55,7 @@ ports { ...@@ -55,7 +55,7 @@ ports {
}; };
}; };
bandgap { bandgap@48002524 {
reg = <0x48002524 0x4>; reg = <0x48002524 0x4>;
compatible = "ti,omap34xx-bandgap"; compatible = "ti,omap34xx-bandgap";
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
......
This diff is collapsed.
...@@ -87,7 +87,7 @@ ports { ...@@ -87,7 +87,7 @@ ports {
}; };
}; };
bandgap { bandgap@48002524 {
reg = <0x48002524 0x4>; reg = <0x48002524 0x4>;
compatible = "ti,omap36xx-bandgap"; compatible = "ti,omap36xx-bandgap";
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
......
This diff is collapsed.
This diff is collapsed.
...@@ -17,7 +17,7 @@ memory { ...@@ -17,7 +17,7 @@ memory {
reg = <0x80000000 0x40000000>; /* 1 GB */ reg = <0x80000000 0x40000000>; /* 1 GB */
}; };
sound: sound@0 { sound: sound {
compatible = "ti,abe-twl6040"; compatible = "ti,abe-twl6040";
ti,model = "VAR-SOM-OM44"; ti,model = "VAR-SOM-OM44";
......
This diff is collapsed.
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
&prm_clocks { &prm_clocks {
bandgap_fclk: bandgap_fclk { bandgap_fclk: bandgap_fclk@1888 {
#clock-cells = <0>; #clock-cells = <0>;
compatible = "ti,gate-clock"; compatible = "ti,gate-clock";
clocks = <&sys_32k_ck>; clocks = <&sys_32k_ck>;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment