arm/dts: OMAP4: Add Variscite OMAP4 System-On-Modeule support
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 arm/dts: OMAP4: Add Variscite OMAP4 System-On-Modeule support
Hi Tony,
This is the updated DTS patch for Vatiscite OMAP4 SOM support
Regatds,
Uri Yosef
--- arch/arm/boot/dts/omap4-var_som.dts | 96 +++++++++++++++++++++++++++++++++++ 1 files changed, 96 insertions(+), 0 deletions(-) create mode 100644 arch/arm/boot/dts/omap4-var_som.dts
arch/arm/boot/dts/omap4-var_som.dts new file +96 -0
@@ -0,0 +1,96 @@ +/* + * Copyright (C) 2012 Variscite Ltd. - http://www.variscite.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/ "omap4.dtsi" + +/ { + model = "Variscite OMAP4 SOM"; + compatible = "var,omap4-var_som", "ti,omap4430", "ti,omap4"; + + memory { + device_type = "memory"; + reg = <0x80000000 0x40000000>; /* 1 GB */ + }; + + vdd_eth: fixedregulator at 0 { + compatible = "regulator-fixed"; + regulator-name = "VDD_ETH"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + enable-active-high; + regulator-boot-on; + }; +}; + +&i2c1 { + clock-frequency = <400000>; + + twl: twl at 48 { + reg = <0x48>; + /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */ + interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ + interrupt-parent = <&gic>; + }; +}; + +/include/ "twl6030.dtsi" + +&i2c2 { + clock-frequency = <400000>; +}; + +&i2c3 { + clock-frequency = <400000>; + + /* + * Temperature Sensor + * http://www.ti.com/lit/ds/symlink/tmp105.pdf + */ + tmp105 at 49 { + compatible = "ti,tmp105"; + reg = <0x49>; + }; +}; + +&i2c4 { + clock-frequency = <400000>; +}; + +&mcspi1 { + eth at 0 { + compatible = "ks8851"; + spi-max-frequency = <24000000>; + reg = <0>; + interrupt-parent = <&gpio6>; + interrupts = <11>; /* gpio line 171 */ + vdd-supply = <&vdd_eth>; + }; +}; + +&mmc1 { + vmmc-supply = <&vmmc>; + ti,bus-width = <8>; + ti,non-removable; +}; + +&mmc2 { + status = "disable"; +}; + +&mmc3 { + status = "disable"; +}; + +&mmc4 { + status = "disable"; +}; + +&mmc5 { + ti,bus-width = <4>; +};
Signature · 1 line
1.7.5.4
Hi,
Quoted 3 lines · Uri Yosef
Hi Tony,
This is the updated DTS patch for Vatiscite OMAP4 SOM support
Looks OK to me, but can you please repost one more time with devicetree-discuss at lists.ozlabs.org in Cc so people have a chance to ack this patch there?
Thanks,
Tony
Quoted 109 lines
arch/arm/boot/dts/omap4-var_som.dts | 96 +++++++++++++++++++++++++++++++++++ 1 files changed, 96 insertions(+), 0 deletions(-) create mode 100644 arch/arm/boot/dts/omap4-var_som.dtsarch/arm/boot/dts/omap4-var_som.dts new file +96
-0@@ -0,0 +1,96 @@ +/* + * Copyright (C) 2012 Variscite Ltd. - http://www.variscite.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/ "omap4.dtsi" + +/ { + model = "Variscite OMAP4 SOM"; + compatible = "var,omap4-var_som", "ti,omap4430", "ti,omap4"; + + memory { + device_type = "memory"; + reg = <0x80000000 0x40000000>; /* 1 GB */ + }; + + vdd_eth: fixedregulator at 0 { + compatible = "regulator-fixed"; + regulator-name = "VDD_ETH"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + enable-active-high; + regulator-boot-on; + }; +}; + +&i2c1 { + clock-frequency = <400000>; + + twl: twl at 48 { + reg = <0x48>; + /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */ + interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ + interrupt-parent = <&gic>; + }; +}; + +/include/ "twl6030.dtsi" + +&i2c2 { + clock-frequency = <400000>; +}; + +&i2c3 { + clock-frequency = <400000>; + + /* + * Temperature Sensor + * http://www.ti.com/lit/ds/symlink/tmp105.pdf + */ + tmp105 at 49 { + compatible = "ti,tmp105"; + reg = <0x49>; + }; +}; + +&i2c4 { + clock-frequency = <400000>; +}; + +&mcspi1 { + eth at 0 { + compatible = "ks8851"; + spi-max-frequency = <24000000>; + reg = <0>; + interrupt-parent = <&gpio6>; + interrupts = <11>; /* gpio line 171 */ + vdd-supply = <&vdd_eth>; + }; +}; + +&mmc1 { + vmmc-supply = <&vmmc>; + ti,bus-width = <8>; + ti,non-removable; +}; + +&mmc2 { + status = "disable"; +}; + +&mmc3 { + status = "disable"; +}; + +&mmc4 { + status = "disable"; +}; + +&mmc5 { + ti,bus-width = <4>; +};Signature · 1 line
1.7.5.4
PATCH 1/1 arm/dts: OMAP4: Add Variscite OMAP4 System-On-Modeule support
CCed devicetree-discuss at lists.ozlabs.org.
Quoted 12 lines · Tony Lindgren
Hi,
Quoted 3 lines · Uri Yosef
Hi Tony,
This is the updated DTS patch for Vatiscite OMAP4 SOM support
Looks OK to me, but can you please repost one more time with devicetree-discuss at lists.ozlabs.org in Cc so people have a chance to ack this patch there?
Thanks,
Uri
Quoted 104 lines
Quoted 2 lines
arch/arm/boot/dts/omap4-var_som.dts | 96+++++++++++++++++++++++++++++++++++
Review
Quoted 4 lines
1 files changed, 96 insertions(+), 0 deletions(-) create mode 100644 arch/arm/boot/dts/omap4-var_som.dts(quoted diff) +0
-0
b/arch/arm/boot/dts/omap4-var_som.dtsQuoted 96 lines
new file mode 100644
index 0000000..d41161darch/arm/boot/dts/omap4-var_som.dts new file +91
-0@@ -0,0 +1,96 @@ +/* + * Copyright (C) 2012 Variscite Ltd. - http://www.variscite.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/ "omap4.dtsi" + +/ { + model = "Variscite OMAP4 SOM"; + compatible = "var,omap4-var_som", "ti,omap4430", "ti,omap4"; + + memory { + device_type = "memory"; + reg = <0x80000000 0x40000000>; /* 1 GB */ + }; + + vdd_eth: fixedregulator at 0 { + compatible = "regulator-fixed"; + regulator-name = "VDD_ETH"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + enable-active-high; + regulator-boot-on; + }; +}; + +&i2c1 { + clock-frequency = <400000>; + + twl: twl at 48 { + reg = <0x48>; + /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */ + interrupts = <0 7 4>; /* IRQ_SYS_1N cascaded to gic */ + interrupt-parent = <&gic>; + }; +}; + +/include/ "twl6030.dtsi" + +&i2c2 { + clock-frequency = <400000>; +}; + +&i2c3 { + clock-frequency = <400000>; + + /* + * Temperature Sensor + * http://www.ti.com/lit/ds/symlink/tmp105.pdf + */ + tmp105 at 49 { + compatible = "ti,tmp105"; + reg = <0x49>; + }; +}; + +&i2c4 { + clock-frequency = <400000>; +}; + +&mcspi1 { + eth at 0 { + compatible = "ks8851"; + spi-max-frequency = <24000000>; + reg = <0>; + interrupt-parent = <&gpio6>; + interrupts = <11>; /* gpio line 171 */ + vdd-supply = <&vdd_eth>; + }; +}; + +&mmc1 { + vmmc-supply = <&vmmc>; + ti,bus-width = <8>; + ti,non-removable; +}; + +&mmc2 { + status = "disable"; +}; + +&mmc3 { + status = "disable"; +}; + +&mmc4 { + status = "disable";
Quoted 9 lines
Quoted 8 lines
arch/arm/boot/dts/omap4-var_som.dts new file +5
-1+}; + +&mmc5 { + ti,bus-width = <4>; +}; --1.7.5.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120606/cdc458d7/attachment-0001.html>
Quoted 14 lines · Uri Yosef
CCed devicetree-discuss at lists.ozlabs.org.
Quoted 10 lines · Tony Lindgren
Hi,
Quoted 3 lines · Uri Yosef
Hi Tony,
This is the updated DTS patch for Vatiscite OMAP4 SOM support
Looks OK to me, but can you please repost one more time with devicetree-discuss at lists.ozlabs.org in Cc so people have a chance to ack this patch there?
Applying into dt branch with disable updated to disabled as was done in for other boards.
Regards,
Tony