* [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support
@ 2016-05-09 6:13 Lokesh Vutla
2016-05-09 6:13 ` [U-Boot] [PATCH 1/5] board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM Lokesh Vutla
` (5 more replies)
0 siblings, 6 replies; 14+ messages in thread
From: Lokesh Vutla @ 2016-05-09 6:13 UTC (permalink / raw)
To: u-boot
This series adds support for AM572x-IDK and FIT support on all AM57xx platforms.
Testing:
AM57xx-evm: http://pastebin.ubuntu.com/16315497/
AM572x-IDK: http://pastebin.ubuntu.com/16315517/
Lokesh Vutla (4):
board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM
board: am57xx: fit: add support for selecting dtb dynamically
ARM: AM57xx: Enable FIT
ti_omap5_common: Add right dtb file for AM572x-IDK
Schuyler Patton (1):
ARM: dts: AM572x-IDK Initial Support
arch/arm/cpu/armv7/omap5/Kconfig | 4 +-
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/am572x-idk.dts | 89 +++++++++++
arch/arm/dts/am57xx-idk-common.dtsi | 302 ++++++++++++++++++++++++++++++++++++
board/ti/am57xx/Kconfig | 2 +-
board/ti/am57xx/board.c | 14 ++
configs/am57xx_evm_defconfig | 6 +-
configs/am57xx_evm_nodt_defconfig | 2 +-
include/configs/ti_omap5_common.h | 2 +
9 files changed, 418 insertions(+), 6 deletions(-)
create mode 100644 arch/arm/dts/am572x-idk.dts
create mode 100644 arch/arm/dts/am57xx-idk-common.dtsi
--
2.7.4
^ permalink raw reply [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 1/5] board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM
2016-05-09 6:13 [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support Lokesh Vutla
@ 2016-05-09 6:13 ` Lokesh Vutla
2016-05-13 20:44 ` Tom Rini
2016-05-09 6:13 ` [U-Boot] [PATCH 2/5] board: am57xx: fit: add support for selecting dtb dynamically Lokesh Vutla
` (4 subsequent siblings)
5 siblings, 1 reply; 14+ messages in thread
From: Lokesh Vutla @ 2016-05-09 6:13 UTC (permalink / raw)
To: u-boot
board/am57xx supports all boards based on am57xx. Rename the taget
as TARGET_AM57XX_EVM.
Fixes: 74cc8b097d9af ("board: ti: beagle_x15: Rename to indicate support for TI am57xx evms")
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
arch/arm/cpu/armv7/omap5/Kconfig | 4 ++--
arch/arm/dts/Makefile | 2 +-
board/ti/am57xx/Kconfig | 2 +-
configs/am57xx_evm_defconfig | 2 +-
configs/am57xx_evm_nodt_defconfig | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/cpu/armv7/omap5/Kconfig b/arch/arm/cpu/armv7/omap5/Kconfig
index 026bf24..4fb5ef9 100644
--- a/arch/arm/cpu/armv7/omap5/Kconfig
+++ b/arch/arm/cpu/armv7/omap5/Kconfig
@@ -14,8 +14,8 @@ config TARGET_DRA7XX_EVM
bool "TI DRA7XX"
select TI_I2C_BOARD_DETECT
-config TARGET_BEAGLE_X15
- bool "BeagleBoard X15"
+config TARGET_AM57XX_EVM
+ bool "AM57XX"
select TI_I2C_BOARD_DETECT
endchoice
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index d1f8e22..d92c0f7 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -103,7 +103,7 @@ dtb-$(CONFIG_ARCH_SOCFPGA) += \
socfpga_cyclone5_sr1500.dtb
dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb
-dtb-$(CONFIG_TARGET_BEAGLE_X15) += am57xx-beagle-x15.dtb
+dtb-$(CONFIG_TARGET_AM57XX_EVM) += am57xx-beagle-x15.dtb
dtb-$(CONFIG_TARGET_STV0991) += stv0991.dtb
dtb-$(CONFIG_LS102XA) += ls1021a-qds-duart.dtb \
diff --git a/board/ti/am57xx/Kconfig b/board/ti/am57xx/Kconfig
index 87654f9..cead0f4 100644
--- a/board/ti/am57xx/Kconfig
+++ b/board/ti/am57xx/Kconfig
@@ -1,4 +1,4 @@
-if TARGET_BEAGLE_X15
+if TARGET_AM57XX_EVM
config SYS_BOARD
default "am57xx"
diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index 8fc3ebb..aedefb68 100644
--- a/configs/am57xx_evm_defconfig
+++ b/configs/am57xx_evm_defconfig
@@ -1,6 +1,6 @@
CONFIG_ARM=y
CONFIG_OMAP54XX=y
-CONFIG_TARGET_BEAGLE_X15=y
+CONFIG_TARGET_AM57XX_EVM=y
CONFIG_DM_SERIAL=y
CONFIG_DM_GPIO=y
CONFIG_SPL_STACK_R_ADDR=0x82000000
diff --git a/configs/am57xx_evm_nodt_defconfig b/configs/am57xx_evm_nodt_defconfig
index 47d103b..9c1b5ce 100644
--- a/configs/am57xx_evm_nodt_defconfig
+++ b/configs/am57xx_evm_nodt_defconfig
@@ -1,6 +1,6 @@
CONFIG_ARM=y
CONFIG_OMAP54XX=y
-CONFIG_TARGET_BEAGLE_X15=y
+CONFIG_TARGET_AM57XX_EVM=y
CONFIG_SPL=y
CONFIG_HUSH_PARSER=y
CONFIG_CMD_BOOTZ=y
--
2.7.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 2/5] board: am57xx: fit: add support for selecting dtb dynamically
2016-05-09 6:13 [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support Lokesh Vutla
2016-05-09 6:13 ` [U-Boot] [PATCH 1/5] board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM Lokesh Vutla
@ 2016-05-09 6:13 ` Lokesh Vutla
2016-05-13 20:44 ` Tom Rini
2016-05-09 6:13 ` [U-Boot] [PATCH 3/5] ARM: AM57xx: Enable FIT Lokesh Vutla
` (3 subsequent siblings)
5 siblings, 1 reply; 14+ messages in thread
From: Lokesh Vutla @ 2016-05-09 6:13 UTC (permalink / raw)
To: u-boot
FIT allows for a multiple dtb in a single image. SPL needs away to
detect the right dtb to be used. Adding support for the same for am57xx
platforms.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
board/ti/am57xx/board.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 86b8f6e..444e5fa 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -686,3 +686,15 @@ int board_early_init_f(void)
return 0;
}
#endif
+
+#ifdef CONFIG_SPL_LOAD_FIT
+int board_fit_config_name_match(const char *name)
+{
+ if (board_is_x15() && !strcmp(name, "am57xx-beagle-x15"))
+ return 0;
+ else if (board_is_am572x_evm() && !strcmp(name, "am57xx-beagle-x15"))
+ return 0;
+ else
+ return -1;
+}
+#endif
--
2.7.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 3/5] ARM: AM57xx: Enable FIT
2016-05-09 6:13 [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support Lokesh Vutla
2016-05-09 6:13 ` [U-Boot] [PATCH 1/5] board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM Lokesh Vutla
2016-05-09 6:13 ` [U-Boot] [PATCH 2/5] board: am57xx: fit: add support for selecting dtb dynamically Lokesh Vutla
@ 2016-05-09 6:13 ` Lokesh Vutla
2016-05-13 20:44 ` Tom Rini
2016-05-09 6:13 ` [U-Boot] [PATCH 4/5] ARM: dts: AM572x-IDK Initial Support Lokesh Vutla
` (2 subsequent siblings)
5 siblings, 1 reply; 14+ messages in thread
From: Lokesh Vutla @ 2016-05-09 6:13 UTC (permalink / raw)
To: u-boot
Enable FIT support for AM57xx platforms
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
configs/am57xx_evm_defconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index aedefb68..4e06641 100644
--- a/configs/am57xx_evm_defconfig
+++ b/configs/am57xx_evm_defconfig
@@ -32,3 +32,7 @@ CONFIG_DM_MMC=y
CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_BAR=y
CONFIG_SYS_NS16550=y
+CONFIG_FIT=y
+CONFIG_SPL_OF_LIBFDT=y
+CONFIG_SPL_LOAD_FIT=y
+CONFIG_OF_LIST="am57xx-beagle-x15"
--
2.7.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 4/5] ARM: dts: AM572x-IDK Initial Support
2016-05-09 6:13 [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support Lokesh Vutla
` (2 preceding siblings ...)
2016-05-09 6:13 ` [U-Boot] [PATCH 3/5] ARM: AM57xx: Enable FIT Lokesh Vutla
@ 2016-05-09 6:13 ` Lokesh Vutla
2016-05-13 20:44 ` Tom Rini
2016-05-09 6:13 ` [U-Boot] [PATCH 5/5] ti_omap5_common: Add right dtb file for AM572x-IDK Lokesh Vutla
2016-06-09 17:26 ` [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support Lokesh Vutla
5 siblings, 1 reply; 14+ messages in thread
From: Lokesh Vutla @ 2016-05-09 6:13 UTC (permalink / raw)
To: u-boot
From: Schuyler Patton <spatton@ti.com>
Add initial DTS support for AM572-IDK evm.
Signed-off-by: Schuyler Patton <spatton@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
- This is posted to Upstream Linux[1] and has been accepted.
[1] https://lkml.org/lkml/2016/4/12/847
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/am572x-idk.dts | 89 +++++++++++
arch/arm/dts/am57xx-idk-common.dtsi | 302 ++++++++++++++++++++++++++++++++++++
board/ti/am57xx/board.c | 2 +
configs/am57xx_evm_defconfig | 2 +-
5 files changed, 396 insertions(+), 2 deletions(-)
create mode 100644 arch/arm/dts/am572x-idk.dts
create mode 100644 arch/arm/dts/am57xx-idk-common.dtsi
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index d92c0f7..df09d15 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -103,7 +103,8 @@ dtb-$(CONFIG_ARCH_SOCFPGA) += \
socfpga_cyclone5_sr1500.dtb
dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb
-dtb-$(CONFIG_TARGET_AM57XX_EVM) += am57xx-beagle-x15.dtb
+dtb-$(CONFIG_TARGET_AM57XX_EVM) += am57xx-beagle-x15.dtb \
+ am572x-idk.dtb
dtb-$(CONFIG_TARGET_STV0991) += stv0991.dtb
dtb-$(CONFIG_LS102XA) += ls1021a-qds-duart.dtb \
diff --git a/arch/arm/dts/am572x-idk.dts b/arch/arm/dts/am572x-idk.dts
new file mode 100644
index 0000000..b340551
--- /dev/null
+++ b/arch/arm/dts/am572x-idk.dts
@@ -0,0 +1,89 @@
+/*
+ * 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";
+
+ chosen {
+ stdout-path = &uart3;
+ };
+
+ 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 GPIO_ACTIVE_LOW>; /* gpio 219 */
+};
diff --git a/arch/arm/dts/am57xx-idk-common.dtsi b/arch/arm/dts/am57xx-idk-common.dtsi
new file mode 100644
index 0000000..2805b68
--- /dev/null
+++ b/arch/arm/dts/am57xx-idk-common.dtsi
@@ -0,0 +1,302 @@
+/*
+ * 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 at 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>;
+};
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 444e5fa..f435f29 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -694,6 +694,8 @@ int board_fit_config_name_match(const char *name)
return 0;
else if (board_is_am572x_evm() && !strcmp(name, "am57xx-beagle-x15"))
return 0;
+ else if (board_is_am572x_idk() && !strcmp(name, "am572x-idk"))
+ return 0;
else
return -1;
}
diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index 4e06641..63a2028 100644
--- a/configs/am57xx_evm_defconfig
+++ b/configs/am57xx_evm_defconfig
@@ -35,4 +35,4 @@ CONFIG_SYS_NS16550=y
CONFIG_FIT=y
CONFIG_SPL_OF_LIBFDT=y
CONFIG_SPL_LOAD_FIT=y
-CONFIG_OF_LIST="am57xx-beagle-x15"
+CONFIG_OF_LIST="am57xx-beagle-x15 am572x-idk"
--
2.7.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 5/5] ti_omap5_common: Add right dtb file for AM572x-IDK
2016-05-09 6:13 [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support Lokesh Vutla
` (3 preceding siblings ...)
2016-05-09 6:13 ` [U-Boot] [PATCH 4/5] ARM: dts: AM572x-IDK Initial Support Lokesh Vutla
@ 2016-05-09 6:13 ` Lokesh Vutla
2016-05-13 20:44 ` Tom Rini
2016-06-09 17:26 ` [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support Lokesh Vutla
5 siblings, 1 reply; 14+ messages in thread
From: Lokesh Vutla @ 2016-05-09 6:13 UTC (permalink / raw)
To: u-boot
Add proper dtb file name for AM572x-IDK in env.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
include/configs/ti_omap5_common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
index b049be4..92e9099 100644
--- a/include/configs/ti_omap5_common.h
+++ b/include/configs/ti_omap5_common.h
@@ -104,6 +104,8 @@
"setenv fdtfile dra72-evm.dtb; fi;" \
"if test $board_name = beagle_x15; then " \
"setenv fdtfile am57xx-beagle-x15.dtb; fi;" \
+ "if test $board_name = am572x_idk; then " \
+ "setenv fdtfile am572x-idk.dtb; fi;" \
"if test $board_name = am57xx_evm; then " \
"setenv fdtfile am57xx-beagle-x15.dtb; fi;" \
"if test $fdtfile = undefined; then " \
--
2.7.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 1/5] board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM
2016-05-09 6:13 ` [U-Boot] [PATCH 1/5] board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM Lokesh Vutla
@ 2016-05-13 20:44 ` Tom Rini
0 siblings, 0 replies; 14+ messages in thread
From: Tom Rini @ 2016-05-13 20:44 UTC (permalink / raw)
To: u-boot
On Mon, May 09, 2016 at 11:43:26AM +0530, Lokesh Vutla wrote:
> board/am57xx supports all boards based on am57xx. Rename the taget
> as TARGET_AM57XX_EVM.
>
> Fixes: 74cc8b097d9af ("board: ti: beagle_x15: Rename to indicate support for TI am57xx evms")
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160513/29cc65b4/attachment.sig>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 2/5] board: am57xx: fit: add support for selecting dtb dynamically
2016-05-09 6:13 ` [U-Boot] [PATCH 2/5] board: am57xx: fit: add support for selecting dtb dynamically Lokesh Vutla
@ 2016-05-13 20:44 ` Tom Rini
0 siblings, 0 replies; 14+ messages in thread
From: Tom Rini @ 2016-05-13 20:44 UTC (permalink / raw)
To: u-boot
On Mon, May 09, 2016 at 11:43:27AM +0530, Lokesh Vutla wrote:
> FIT allows for a multiple dtb in a single image. SPL needs away to
> detect the right dtb to be used. Adding support for the same for am57xx
> platforms.
>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160513/7c73bc19/attachment.sig>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 3/5] ARM: AM57xx: Enable FIT
2016-05-09 6:13 ` [U-Boot] [PATCH 3/5] ARM: AM57xx: Enable FIT Lokesh Vutla
@ 2016-05-13 20:44 ` Tom Rini
0 siblings, 0 replies; 14+ messages in thread
From: Tom Rini @ 2016-05-13 20:44 UTC (permalink / raw)
To: u-boot
On Mon, May 09, 2016 at 11:43:28AM +0530, Lokesh Vutla wrote:
> Enable FIT support for AM57xx platforms
>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160513/7180a4d9/attachment.sig>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 4/5] ARM: dts: AM572x-IDK Initial Support
2016-05-09 6:13 ` [U-Boot] [PATCH 4/5] ARM: dts: AM572x-IDK Initial Support Lokesh Vutla
@ 2016-05-13 20:44 ` Tom Rini
0 siblings, 0 replies; 14+ messages in thread
From: Tom Rini @ 2016-05-13 20:44 UTC (permalink / raw)
To: u-boot
On Mon, May 09, 2016 at 11:43:29AM +0530, Lokesh Vutla wrote:
> From: Schuyler Patton <spatton@ti.com>
>
> Add initial DTS support for AM572-IDK evm.
>
> Signed-off-by: Schuyler Patton <spatton@ti.com>
> Signed-off-by: Nishanth Menon <nm@ti.com>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160513/d2993d10/attachment.sig>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 5/5] ti_omap5_common: Add right dtb file for AM572x-IDK
2016-05-09 6:13 ` [U-Boot] [PATCH 5/5] ti_omap5_common: Add right dtb file for AM572x-IDK Lokesh Vutla
@ 2016-05-13 20:44 ` Tom Rini
0 siblings, 0 replies; 14+ messages in thread
From: Tom Rini @ 2016-05-13 20:44 UTC (permalink / raw)
To: u-boot
On Mon, May 09, 2016 at 11:43:30AM +0530, Lokesh Vutla wrote:
> Add proper dtb file name for AM572x-IDK in env.
>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160513/1633c006/attachment.sig>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support
2016-05-09 6:13 [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support Lokesh Vutla
` (4 preceding siblings ...)
2016-05-09 6:13 ` [U-Boot] [PATCH 5/5] ti_omap5_common: Add right dtb file for AM572x-IDK Lokesh Vutla
@ 2016-06-09 17:26 ` Lokesh Vutla
2016-06-09 17:52 ` Tom Rini
5 siblings, 1 reply; 14+ messages in thread
From: Lokesh Vutla @ 2016-06-09 17:26 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 5/9/2016 11:43 AM, Lokesh Vutla wrote:
> This series adds support for AM572x-IDK and FIT support on all AM57xx platforms.
>
> Testing:
> AM57xx-evm: http://pastebin.ubuntu.com/16315497/
> AM572x-IDK: http://pastebin.ubuntu.com/16315517/
If you are ok with this series can you merge it?
Thanks and regards,
Lokesh
>
> Lokesh Vutla (4):
> board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM
> board: am57xx: fit: add support for selecting dtb dynamically
> ARM: AM57xx: Enable FIT
> ti_omap5_common: Add right dtb file for AM572x-IDK
>
> Schuyler Patton (1):
> ARM: dts: AM572x-IDK Initial Support
>
> arch/arm/cpu/armv7/omap5/Kconfig | 4 +-
> arch/arm/dts/Makefile | 3 +-
> arch/arm/dts/am572x-idk.dts | 89 +++++++++++
> arch/arm/dts/am57xx-idk-common.dtsi | 302 ++++++++++++++++++++++++++++++++++++
> board/ti/am57xx/Kconfig | 2 +-
> board/ti/am57xx/board.c | 14 ++
> configs/am57xx_evm_defconfig | 6 +-
> configs/am57xx_evm_nodt_defconfig | 2 +-
> include/configs/ti_omap5_common.h | 2 +
> 9 files changed, 418 insertions(+), 6 deletions(-)
> create mode 100644 arch/arm/dts/am572x-idk.dts
> create mode 100644 arch/arm/dts/am57xx-idk-common.dtsi
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support
2016-06-09 17:26 ` [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support Lokesh Vutla
@ 2016-06-09 17:52 ` Tom Rini
2016-06-10 4:07 ` Lokesh Vutla
0 siblings, 1 reply; 14+ messages in thread
From: Tom Rini @ 2016-06-09 17:52 UTC (permalink / raw)
To: u-boot
On Thu, Jun 09, 2016 at 10:56:09PM +0530, Lokesh Vutla wrote:
> Hi Tom,
>
> On 5/9/2016 11:43 AM, Lokesh Vutla wrote:
> >This series adds support for AM572x-IDK and FIT support on all AM57xx platforms.
> >
> >Testing:
> >AM57xx-evm: http://pastebin.ubuntu.com/16315497/
> >AM572x-IDK: http://pastebin.ubuntu.com/16315517/
>
> If you are ok with this series can you merge it?
Hmm, oops. I had marked this as superseded by accident. I'm about to
push the changes for moving BOOTDELAY into Kconfig and that means a
re-sync on defconfigs, can you please pick up my reviewed-by from before
and re-post once that's live? Sorry & thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160609/412c2433/attachment.sig>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support
2016-06-09 17:52 ` Tom Rini
@ 2016-06-10 4:07 ` Lokesh Vutla
0 siblings, 0 replies; 14+ messages in thread
From: Lokesh Vutla @ 2016-06-10 4:07 UTC (permalink / raw)
To: u-boot
On Thursday 09 June 2016 11:22 PM, Tom Rini wrote:
> On Thu, Jun 09, 2016 at 10:56:09PM +0530, Lokesh Vutla wrote:
>
>> Hi Tom,
>>
>> On 5/9/2016 11:43 AM, Lokesh Vutla wrote:
>>> This series adds support for AM572x-IDK and FIT support on all AM57xx platforms.
>>>
>>> Testing:
>>> AM57xx-evm: http://pastebin.ubuntu.com/16315497/
>>> AM572x-IDK: http://pastebin.ubuntu.com/16315517/
>>
>> If you are ok with this series can you merge it?
>
> Hmm, oops. I had marked this as superseded by accident. I'm about to
> push the changes for moving BOOTDELAY into Kconfig and that means a
> re-sync on defconfigs, can you please pick up my reviewed-by from before
> and re-post once that's live? Sorry & thanks!
Just posted the updated series.
Thanks and regards,
Lokesh
>
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2016-06-10 4:07 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-09 6:13 [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support Lokesh Vutla
2016-05-09 6:13 ` [U-Boot] [PATCH 1/5] board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM Lokesh Vutla
2016-05-13 20:44 ` Tom Rini
2016-05-09 6:13 ` [U-Boot] [PATCH 2/5] board: am57xx: fit: add support for selecting dtb dynamically Lokesh Vutla
2016-05-13 20:44 ` Tom Rini
2016-05-09 6:13 ` [U-Boot] [PATCH 3/5] ARM: AM57xx: Enable FIT Lokesh Vutla
2016-05-13 20:44 ` Tom Rini
2016-05-09 6:13 ` [U-Boot] [PATCH 4/5] ARM: dts: AM572x-IDK Initial Support Lokesh Vutla
2016-05-13 20:44 ` Tom Rini
2016-05-09 6:13 ` [U-Boot] [PATCH 5/5] ti_omap5_common: Add right dtb file for AM572x-IDK Lokesh Vutla
2016-05-13 20:44 ` Tom Rini
2016-06-09 17:26 ` [U-Boot] [PATCH 0/5] ARM: AM57xx: Enable fit support Lokesh Vutla
2016-06-09 17:52 ` Tom Rini
2016-06-10 4:07 ` Lokesh Vutla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox