lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1348070880-23390-2-git-send-email-panto@antoniou-consulting.com>
Date:	Wed, 19 Sep 2012 19:07:59 +0300
From:	Pantelis Antoniou <panto@...oniou-consulting.com>
To:	Shubhrajyoti D <shubhrajyoti@...com>
Cc:	linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
	Matt Porter <mporter@...com>,
	Koen Kooi <koen@...inion.thruhere.net>,
	Benoit Cousson <b-cousson@...com>,
	Tony Lindgren <tony@...mide.com>,
	Pantelis Antoniou <panto@...oniou-consulting.com>
Subject: [PATCH 1/2] arm/dts: AM33XX: I2C DT bindings for the bone.

Add I2C DT bindings for the beaglebone.
This includes bindings for the EEPROMs on both I2C busses.

Note that this requires a pinmux node in am33xx.dtsi,
introduced from 47acae37fa0d11dd8fba58f8825ac3a2baeab903
"arm/dts: AM33XX: Add basic pinctrl device tree data"

Signed-off-by: Pantelis Antoniou <panto@...oniou-consulting.com>
---
 arch/arm/boot/dts/am335x-bone.dts | 43 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
index 91eee97..ce19ea0 100644
--- a/arch/arm/boot/dts/am335x-bone.dts
+++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -24,7 +24,17 @@
 		reg = <0x80000000 0x10000000>; /* 256 MB */
 	};
 
+	am3358_pinmux: pinmux@...10800 {
+		i2c3_pins: pinmux_i2c3_pins {
+			pinctrl-single,pins = <
+				0x178 0x73 	/* uart1_ctsn.i2c2_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */
+				0x17c 0x73	/* uart1_rtsn.i2c2_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */
+			>;
+		};
+	};
+
 	ocp {
+
 		uart1: serial@...09000 {
 			status = "okay";
 		};
@@ -37,6 +47,39 @@
 				reg = <0x24>;
 			};
 
+			baseboard_eeprom: baseboard_eeprom@50 {
+				compatible = "at,24c256";
+				reg = <0x50>;
+			};
+
+		};
+
+		i2c3: i2c@...9c000 {
+			status = "okay";
+			pinctrl-names = "default";
+			pinctrl-0 = <&i2c3_pins>;
+
+			clock-frequency = <100000>;
+
+			cape_eeprom_0: cape_eeprom_0@54 {
+				compatible = "at,24c256";
+				reg = <0x54>;
+			};
+
+			cape_eeprom_1: cape_eeprom_1@55 {
+				compatible = "at,24c256";
+				reg = <0x55>;
+			};
+
+			cape_eeprom_2: cape_eeprom_2@56 {
+				compatible = "at,24c256";
+				reg = <0x56>;
+			};
+
+			cape_eeprom_3: cape_eeprom_3@57 {
+				compatible = "at,24c256";
+				reg = <0x57>;
+			};
 		};
 	};
 };
-- 
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ