[U-Boot] [PATCH 2/7] tegra: fdt: Add extra I2C definitions for U-Boot

Simon Glass sjg at chromium.org
Mon Dec 26 19:11:46 CET 2011


Add U-Boot's peripheral ID and pinmux selection to the Tegra20
device tree file.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
 arch/arm/dts/tegra20.dtsi |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi
index 27e3127..41ee0b2 100644
--- a/arch/arm/dts/tegra20.dtsi
+++ b/arch/arm/dts/tegra20.dtsi
@@ -18,6 +18,9 @@
 		compatible = "nvidia,tegra20-i2c";
 		reg = <0x7000C000 0x100>;
 		interrupts = < 70 >;
+		u-boot,pinmux = <0>;
+		speed = <100000>;
+		u-boot,periph-id = <12>;	// PERIPH_ID_I2C1
 	};
 
 	i2c at 7000c400 {
@@ -26,6 +29,9 @@
 		compatible = "nvidia,tegra20-i2c";
 		reg = <0x7000C400 0x100>;
 		interrupts = < 116 >;
+		u-boot,pinmux = <1>;
+		speed = <100000>;
+		u-boot,periph-id = <54>;	// PERIPH_ID_I2C2
 	};
 
 	i2c at 7000c500 {
@@ -34,6 +40,9 @@
 		compatible = "nvidia,tegra20-i2c";
 		reg = <0x7000C500 0x100>;
 		interrupts = < 124 >;
+		u-boot,pinmux = <0>;
+		speed = <100000>;
+		u-boot,periph-id = <67>;	// PERIPH_ID_I2C3
 	};
 
 	i2c at 7000d000 {
@@ -42,6 +51,9 @@
 		compatible = "nvidia,tegra20-i2c";
 		reg = <0x7000D000 0x200>;
 		interrupts = < 85 >;
+		u-boot,pinmux = <0>;
+		speed = <100000>;
+		u-boot,periph-id = <47>;	// PERIPH_ID_DVC_I2C
 	};
 
 	i2s at 70002800 {
-- 
1.7.3.1



More information about the U-Boot mailing list