From owner-svn-src-all@FreeBSD.ORG Mon Feb 24 12:45:04 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92756799; Mon, 24 Feb 2014 12:45:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6433B119E; Mon, 24 Feb 2014 12:45:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1OCj4AD011595; Mon, 24 Feb 2014 12:45:04 GMT (envelope-from loos@svn.freebsd.org) Received: (from loos@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1OCj4fK011590; Mon, 24 Feb 2014 12:45:04 GMT (envelope-from loos@svn.freebsd.org) Message-Id: <201402241245.s1OCj4fK011590@svn.freebsd.org> From: Luiz Otavio O Souza Date: Mon, 24 Feb 2014 12:45:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262440 - head/sys/boot/fdt/dts X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 12:45:04 -0000 Author: loos Date: Mon Feb 24 12:45:03 2014 New Revision: 262440 URL: http://svnweb.freebsd.org/changeset/base/262440 Log: Enable the second and the third I2C controllers on Beaglebone-black. The first I2C controller is only used to manage the on-board devices (PMIC and HDMI framer) and its bus is not exposed on the expasion headers. With this change the following pins on the P9 expansion headers are now reserved as I2C pins: Pin 17 - I2C1 SCL Pin 18 - I2C1 SDA Pin 19 - I2C2 SCL Pin 20 - I2C2 SDA The I2C2 is the bus that should be used to read the contents of cape eeproms. Approved by: adrian (mentor, implicit) Modified: head/sys/boot/fdt/dts/am335x.dtsi head/sys/boot/fdt/dts/beaglebone-black.dts Modified: head/sys/boot/fdt/dts/am335x.dtsi ============================================================================== --- head/sys/boot/fdt/dts/am335x.dtsi Mon Feb 24 10:44:42 2014 (r262439) +++ head/sys/boot/fdt/dts/am335x.dtsi Mon Feb 24 12:45:03 2014 (r262440) @@ -210,6 +210,26 @@ i2c-device-id = <0>; }; + i2c1: i2c@4802a000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "ti,i2c"; + reg =< 0x4802a000 0x1000 >; + interrupts = <71>; + interrupt-parent = <&AINTC>; + i2c-device-id = <1>; + }; + + i2c2: i2c@4819c000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "ti,i2c"; + reg =< 0x4819c000 0x1000 >; + interrupts = <30>; + interrupt-parent = <&AINTC>; + i2c-device-id = <2>; + }; + pwm@48300000 { compatible = "ti,am335x-pwm"; #address-cells = <1>; Modified: head/sys/boot/fdt/dts/beaglebone-black.dts ============================================================================== --- head/sys/boot/fdt/dts/beaglebone-black.dts Mon Feb 24 10:44:42 2014 (r262439) +++ head/sys/boot/fdt/dts/beaglebone-black.dts Mon Feb 24 12:45:03 2014 (r262440) @@ -52,6 +52,12 @@ /* I2C0 */ "I2C0_SDA", "I2C0_SDA","i2c", "I2C0_SCL", "I2C0_SCL","i2c", + /* I2C1 */ + "SPI0_D1", "I2C1_SDA", "i2c", + "SPI0_CS0", "I2C1_SCL", "i2c", + /* I2C2 */ + "UART1_CTSn", "I2C2_SDA", "i2c", + "UART1_RTSn", "I2C2_SCL", "i2c", /* Ethernet */ "MII1_RX_ER", "gmii1_rxerr", "input_pulldown", "MII1_TX_EN", "gmii1_txen", "output",