Skip to contentSkip to conversation

ARM: dts: Add basic devices for AM3517-craneboard

PATCH New Nishanth Menon 2 participants 7 messages Dec 9, 2013 – Jan 29, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: Add basic devices for AM3517-craneboard

Craneboard is a hardware development platform based on the Sitara AM3517 ARM Cortex - A8 microprocessor device - see [1] for more details. Add basic devices for craneboard as replacement for the board file scheduled for removal as part of device tree conversion

[1] http://craneboard.org

---
Based on:
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
branch: omap-for-v3.14/omap3-board-removal 736e812 ARM: OMAP2+: Remove unused platform init code and headers

Bootlog: http://pastebin.mozilla.org/3744412

 arch/arm/boot/dts/Makefile              |    1 +
 arch/arm/boot/dts/am3517-craneboard.dts |  174 +++++++++++++++++++++++++++++++
 2 files changed, 175 insertions(+)
 create mode 100644 arch/arm/boot/dts/am3517-craneboard.dts
arch/arm/boot/dts/Makefile +1 -0
index fc37bca..ad155fc 100644
@@ -205,6 +205,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	am335x-boneblack.dtb \
 	am335x-nano.dtb \
 	am335x-base0033.dtb \
+	am3517-craneboard.dtb \
 	am3517-evm.dtb \
 	am3517_mt_ventoux.dtb \
 	am43x-epos-evm.dtb \
arch/arm/boot/dts/am3517-craneboard.dts new file +174 -0

174 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ARM: dts: Add basic devices for AM3517-craneboard

Quoted 9 lines · Nishanth Menon

Craneboard is a hardware development platform based on the Sitara AM3517 ARM Cortex - A8 microprocessor device - see [1] for more details. Add basic devices for craneboard as replacement for the board file scheduled for removal as part of device tree conversion

[1] http://craneboard.org

---

gentle ping.. had'nt seen a response on this patch. Could we queue this up for v3.14-rc1?

Quoted 204 lines

Based on:
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
branch: omap-for-v3.14/omap3-board-removal 736e812 ARM: OMAP2+: Remove unused platform init code and headers

Bootlog: http://pastebin.mozilla.org/3744412

 arch/arm/boot/dts/Makefile              |    1 +
 arch/arm/boot/dts/am3517-craneboard.dts |  174 +++++++++++++++++++++++++++++++
 2 files changed, 175 insertions(+)
 create mode 100644 arch/arm/boot/dts/am3517-craneboard.dts
arch/arm/boot/dts/Makefile +1 -0
index fc37bca..ad155fc 100644
@@ -205,6 +205,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	am335x-boneblack.dtb \
 	am335x-nano.dtb \
 	am335x-base0033.dtb \
+	am3517-craneboard.dtb \
 	am3517-evm.dtb \
 	am3517_mt_ventoux.dtb \
 	am43x-epos-evm.dtb \
arch/arm/boot/dts/am3517-craneboard.dts new file +174 -0
new file mode 100644
index 0000000..2d40b3f
@@ -0,0 +1,174 @@
+/*
+ * See craneboard.org for more details
+ *
+ * Copyright (C) 2013 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 "am3517.dtsi"
+
+/ {
+	model = "TI AM3517 CraneBoard (TMDSEVM3517)";
+	compatible = "ti,am3517-craneboard", "ti,am3517", "ti,omap3";
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x10000000>;	/* 256 MB */
+	};
+
+	vbat: fixedregulator at 0 {
+		compatible = "regulator-fixed";
+		regulator-name = "vbat";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
+	};
+};
+
+&davinci_emac {
+	status = "okay";
+};
+
+&davinci_mdio {
+	status = "okay";
+};
+
+&i2c1 {
+	clock-frequency = <2600000>;
+
+	tps: tps at 2d {
+		reg = <0x2d>;
+	};
+};
+
+&i2c2 {
+	clock-frequency = <400000>;
+	/* goes to expansion connector */
+	status = "disabled";
+};
+
+&i2c3 {
+	clock-frequency = <400000>;
+	/* goes to expansion connector */
+	status = "disabled";
+};
+
+&mmc1 {
+	vmmc-supply = <&vdd2_reg>;
+	bus-width = <8>;
+};
+
+&mmc2 {
+	/* goes to expansion connector */
+	status = "disabled";
+};
+
+&mmc3 {
+	/* goes to expansion connector */
+	status = "disabled";
+};
+
+#include "tps65910.dtsi"
+
+&omap3_pmx_core {
+	tps_pins: pinmux_tps_pins {
+		pinctrl-single,pins = <
+			0x1b0 (PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq.sys_nirq */
+		>;
+	};
+};
+
+&tps {
+	pinctrl-names = "default";
+	pinctrl-0 = <&tps_pins>;
+
+	interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+	interrupt-parent = <&intc>;
+
+	ti,en-ck32k-xtal;
+
+	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 at 0 {
+			regulator-always-on;
+		};
+
+		vio_reg: regulator at 1 {
+			regulator-always-on;
+		};
+
+		/*
+		 * Unused:
+		 * VDIG1=2.7V,300mA max
+		 * VDIG2=1.8V,300mA max
+		 */
+
+		vpll_reg: regulator at 7 {
+			/* VDDS_DPLL_1V8 */
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+			regulator-always-on;
+		};
+
+		vaux1_reg: regulator at 9 {
+			/* VDDS_SRAM_1V8 */
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+			regulator-always-on;
+		};
+
+		vaux2_reg: regulator at 10 {
+			/* VDDA1P8V_USBPHY */
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+			regulator-always-on;
+		};
+
+		/* VAUX33 unused */
+
+		vdac_reg: regulator at 8 {
+			/* VDDA_DAC_1V8 */
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+			regulator-always-on;
+		};
+
+		vmmc_reg: regulator at 12 {
+			/* VDDA3P3V_USBPHY */
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			regulator-always-on;
+		};
+
+		vdd1_reg: regulator at 2 {
+			/* VDD_CORE */
+			regulator-name = "vdd_core";
+			regulator-min-microvolt = <1200000>;
+			regulator-max-microvolt = <1200000>;
+			regulator-boot-on;
+			regulator-always-on;
+		};
+
+		vdd2_reg: regulator at 3 {
+			/* VDDSHV_3V3 */
+			regulator-name = "vdd_shv";
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			regulator-always-on;
+		};
+
+		/* VDD3 unused */
+	};
+};
Signature · 2 lines
Regards,
Nishanth Menon
#2 lore raw

PATCH 1/1 ARM: dts: Add basic devices for AM3517-craneboard

Hi Nishanth,

Quoted 6 lines · Nishanth Menon
Quoted 5 lines · Nishanth Menon

Craneboard is a hardware development platform based on the Sitara AM3517 ARM Cortex - A8 microprocessor device - see [1] for more details. Add basic devices for craneboard as replacement for the board file scheduled for removal as part of device tree conversion

Quoted 7 lines
Quoted 4 lines

[1] http://craneboard.org

---

gentle ping.. had'nt seen a response on this patch. Could we queue this up for v3.14-rc1?

Yep, it looks good to me.
But if you don't mind I'll start pushing my branch after Xmas :-).

Thanks,
Benoit

Quoted 206 lines
Quoted 204 lines

Based on:
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
branch: omap-for-v3.14/omap3-board-removal 736e812 ARM: OMAP2+: Remove unused platform init code and headers

Bootlog: http://pastebin.mozilla.org/3744412

  arch/arm/boot/dts/Makefile              |    1 +
  arch/arm/boot/dts/am3517-craneboard.dts |  174 +++++++++++++++++++++++++++++++
  2 files changed, 175 insertions(+)

create mode 100644 arch/arm/boot/dts/am3517-craneboard.dts

arch/arm/boot/dts/Makefile +1 -0
index fc37bca..ad155fc 100644
@@ -205,6 +205,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
  	am335x-boneblack.dtb \
  	am335x-nano.dtb \
  	am335x-base0033.dtb \
+	am3517-craneboard.dtb \
  	am3517-evm.dtb \
  	am3517_mt_ventoux.dtb \
  	am43x-epos-evm.dtb \
arch/arm/boot/dts/am3517-craneboard.dts new file +174 -0
new file mode 100644
index 0000000..2d40b3f
@@ -0,0 +1,174 @@
+/*
+ * See craneboard.org for more details
+ *
+ * Copyright (C) 2013 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 "am3517.dtsi"
+
+/ {
+	model = "TI AM3517 CraneBoard (TMDSEVM3517)";
+	compatible = "ti,am3517-craneboard", "ti,am3517", "ti,omap3";
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x10000000>;	/* 256 MB */
+	};
+
+	vbat: fixedregulator at 0 {
+		compatible = "regulator-fixed";
+		regulator-name = "vbat";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
+	};
+};
+
+&davinci_emac {
+	status = "okay";
+};
+
+&davinci_mdio {
+	status = "okay";
+};
+
+&i2c1 {
+	clock-frequency = <2600000>;
+
+	tps: tps at 2d {
+		reg = <0x2d>;
+	};
+};
+
+&i2c2 {
+	clock-frequency = <400000>;
+	/* goes to expansion connector */
+	status = "disabled";
+};
+
+&i2c3 {
+	clock-frequency = <400000>;
+	/* goes to expansion connector */
+	status = "disabled";
+};
+
+&mmc1 {
+	vmmc-supply = <&vdd2_reg>;
+	bus-width = <8>;
+};
+
+&mmc2 {
+	/* goes to expansion connector */
+	status = "disabled";
+};
+
+&mmc3 {
+	/* goes to expansion connector */
+	status = "disabled";
+};
+
+#include "tps65910.dtsi"
+
+&omap3_pmx_core {
+	tps_pins: pinmux_tps_pins {
+		pinctrl-single,pins = <
+			0x1b0 (PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq.sys_nirq */
+		>;
+	};
+};
+
+&tps {
+	pinctrl-names = "default";
+	pinctrl-0 = <&tps_pins>;
+
+	interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+	interrupt-parent = <&intc>;
+
+	ti,en-ck32k-xtal;
+
+	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 at 0 {
+			regulator-always-on;
+		};
+
+		vio_reg: regulator at 1 {
+			regulator-always-on;
+		};
+
+		/*
+		 * Unused:
+		 * VDIG1=2.7V,300mA max
+		 * VDIG2=1.8V,300mA max
+		 */
+
+		vpll_reg: regulator at 7 {
+			/* VDDS_DPLL_1V8 */
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+			regulator-always-on;
+		};
+
+		vaux1_reg: regulator at 9 {
+			/* VDDS_SRAM_1V8 */
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+			regulator-always-on;
+		};
+
+		vaux2_reg: regulator at 10 {
+			/* VDDA1P8V_USBPHY */
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+			regulator-always-on;
+		};
+
+		/* VAUX33 unused */
+
+		vdac_reg: regulator at 8 {
+			/* VDDA_DAC_1V8 */
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
+			regulator-always-on;
+		};
+
+		vmmc_reg: regulator at 12 {
+			/* VDDA3P3V_USBPHY */
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			regulator-always-on;
+		};
+
+		vdd1_reg: regulator at 2 {
+			/* VDD_CORE */
+			regulator-name = "vdd_core";
+			regulator-min-microvolt = <1200000>;
+			regulator-max-microvolt = <1200000>;
+			regulator-boot-on;
+			regulator-always-on;
+		};
+
+		vdd2_reg: regulator at 3 {
+			/* VDDSHV_3V3 */
+			regulator-name = "vdd_shv";
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			regulator-always-on;
+		};
+
+		/* VDD3 unused */
+	};
+};
Signature · 4 lines
Beno?t Cousson
BayLibre
Embedded Linux Technology Lab
www.baylibre.com
#3 lore raw

PATCH 1/1 ARM: dts: Add basic devices for AM3517-craneboard

Quoted 9 lines · Benoit Cousson
Quoted 8 lines · Nishanth Menon
Quoted 7 lines · Nishanth Menon

Craneboard is a hardware development platform based on the Sitara AM3517 ARM Cortex - A8 microprocessor device - see [1] for more details. Add basic devices for craneboard as replacement for the board file scheduled for removal as part of device tree conversion

[1] http://craneboard.org

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

---

gentle ping.. had'nt seen a response on this patch. Could we queue this up for v3.14-rc1?

Yep, it looks good to me.

Thanks benoit.

Quoted 1 line

But if you don't mind I'll start pushing my branch after Xmas :-).

As long as Tony is ok with it, I have no issues either - will be great to have dt only boot in .14-rc1 though.
Regards,
Nishanth Menon

#4 lore raw

PATCH 1/1 ARM: dts: Add basic devices for AM3517-craneboard

Quoted 16 lines · Nishanth Menon
Quoted 15 lines · Benoit Cousson
Quoted 13 lines · Nishanth Menon
Quoted 9 lines · Nishanth Menon

Craneboard is a hardware development platform based on the Sitara AM3517 ARM Cortex - A8 microprocessor device - see [1] for more details. Add basic devices for craneboard as replacement for the board file scheduled for removal as part of device tree conversion

[1] http://craneboard.org

---

gentle ping.. had'nt seen a response on this patch. Could we queue this up for v3.14-rc1?

Quoted 7 lines
Quoted 1 line

Yep, it looks good to me.

Thanks benoit.

Quoted 1 line

But if you don't mind I'll start pushing my branch after Xmas :-).

As long as Tony is ok with it, I have no issues either - will be great to have dt only boot in .14-rc1 though.

Good point, it is already -rc4.

OK, I'll just queued it and pushed it to for_3.14/dts.

Regards,
Benoit

Signature · 4 lines
Beno?t Cousson
BayLibre
Embedded Linux Technology Lab
www.baylibre.com
#5 lore raw

PATCH 1/1 ARM: dts: Add basic devices for AM3517-craneboard

Benoit,

Quoted 20 lines · Benoit Cousson
Quoted 19 lines · Nishanth Menon
Quoted 9 lines · Benoit Cousson
Quoted 8 lines · Nishanth Menon
Quoted 7 lines · Nishanth Menon

Craneboard is a hardware development platform based on the Sitara AM3517 ARM Cortex - A8 microprocessor device - see [1] for more details. Add basic devices for craneboard as replacement for the board file scheduled for removal as part of device tree conversion

[1] http://craneboard.org

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

---

gentle ping.. had'nt seen a response on this patch. Could we queue this up for v3.14-rc1?

Yep, it looks good to me.

Thanks benoit.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

But if you don't mind I'll start pushing my branch after Xmas :-).

As long as Tony is ok with it, I have no issues either - will be great to have dt only boot in .14-rc1 though.

Good point, it is already -rc4.

OK, I'll just queued it and pushed it to for_3.14/dts.

I dont see this in next-20140120 yet - wondering if Tony or you have plans for one of .14 rcs OR if this is queued for .15.

Signature · 2 lines
Regards,
Nishanth Menon
#6 lore raw

PATCH 1/1 ARM: dts: Add basic devices for AM3517-craneboard

Quoted 28 lines · Nishanth Menon

Benoit,

Quoted 25 lines · Benoit Cousson
Quoted 23 lines · Nishanth Menon
Quoted 9 lines · Benoit Cousson
Quoted 8 lines · Nishanth Menon
Quoted 7 lines · Nishanth Menon

Craneboard is a hardware development platform based on the Sitara AM3517 ARM Cortex - A8 microprocessor device - see [1] for more details. Add basic devices for craneboard as replacement for the board file scheduled for removal as part of device tree conversion

[1] http://craneboard.org

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

---

gentle ping.. had'nt seen a response on this patch. Could we queue this up for v3.14-rc1?

Yep, it looks good to me.

Thanks benoit.

Quoted 1 line

But if you don't mind I'll start pushing my branch after Xmas :-).

As long as Tony is ok with it, I have no issues either - will be great to have dt only boot in .14-rc1 though.

Quoted 6 lines
Quoted 3 lines

Good point, it is already -rc4.

OK, I'll just queued it and pushed it to for_3.14/dts.

I dont see this in next-20140120 yet - wondering if Tony or you have plans for one of .14 rcs OR if this is queued for .15.

gentle ping yet again :(

Signature · 2 lines
Regards,
Nishanth Menon