ARM: dts: Add am335x-bonegreen
PATCH 1/1 ARM: dts: Add am335x-bonegreen
SeeedStudio BeagleBone Green (BBG) is clone of the BeagleBone Black (BBB) minus the HDMI port and addition of two Grove connectors (i2c2 and usart2).
This board can be identified by the 1A value after A335BNLT (BBB) in the at24 eeprom:
1A: [aa 55 33 ee 41 33 33 35 42 4e 4c 54 1a 00 00 00 |.U3.A335BNLT....|]
http://beagleboard.org/green
http://www.seeedstudio.com/wiki/Beaglebone_green
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/am335x-bonegreen.dts | 53 ++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 arch/arm/boot/dts/am335x-bonegreen.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -446,6 +446,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \ am335x-base0033.dtb \ am335x-bone.dtb \ am335x-boneblack.dtb \ + am335x-bonegreen.dtb \ am335x-sl50.dtb \ am335x-evm.dtb \ am335x-evmsk.dtb \
arch/arm/boot/dts/am335x-bonegreen.dts new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.5.3
PATCH 1/1 ARM: dts: Add am335x-bonegreen
Quoted 80 lines · Robert Nelson
SeeedStudio BeagleBone Green (BBG) is clone of the BeagleBone Black (BBB) minus the HDMI port and addition of two Grove connectors (i2c2 and usart2).
This board can be identified by the 1A value after A335BNLT (BBB) in the at24 eeprom:
1A: [aa 55 33 ee 41 33 33 35 42 4e 4c 54 1a 00 00 00 |.U3.A335BNLT....|]http://beagleboard.org/green
http://www.seeedstudio.com/wiki/Beaglebone_greenSigned-off-by Robert Nelson <[email protected]>CC Tony Lindgren <[email protected]>CC Jason Kridner <[email protected]>--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/am335x-bonegreen.dts | 53 ++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 arch/arm/boot/dts/am335x-bonegreen.dtsarch/arm/boot/dts/Makefile +1
-0@@ -446,6 +446,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \ am335x-base0033.dtb \ am335x-bone.dtb \ am335x-boneblack.dtb \ + am335x-bonegreen.dtb \ am335x-sl50.dtb \ am335x-evm.dtb \ am335x-evmsk.dtb \arch/arm/boot/dts/am335x-bonegreen.dts new file +43
-0@@ -0,0 +1,53 @@ +/* + * Copyright (C) 2012 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 "am33xx.dtsi" +#include "am335x-bone-common.dtsi" + +/ { + model = "TI AM335x BeagleBone Green"; + compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; +}; + +&ldo3_reg { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; +}; + +&mmc1 { + vmmc-supply = <&vmmcsd_fixed>; +}; + +&mmc2 { + vmmc-supply = <&vmmcsd_fixed>; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_pins>; + bus-width = <8>; + status = "okay"; +}; + +&am33xx_pinmux { + uart2_pins: uart2_pins { + pinctrl-single,pins = < + 0x150 (PIN_INPUT | MUX_MODE1) /* spi0_sclk.uart2_rxd */ + 0x154 (PIN_OUTPUT | MUX_MODE1) /* spi0_d0.uart2_txd */ + >; + }; +};
arch/arm/boot/dts/am335x-bonegreen.dts line 53
Quoted 10 lines
arch/arm/boot/dts/am335x-bonegreen.dts new file +10
-0+ +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + status = "okay"; +}; + +&rtc { + system-power-controller; +};
Would still work when https://patchwork.kernel.org/patch/6394821/ gets in?
Signature · 2 lines
Regards, Nishanth Menon
PATCH 1/1 ARM: dts: Add am335x-bonegreen
Quoted 86 lines · Nishanth Menon
Quoted 85 lines · Robert Nelson
SeeedStudio BeagleBone Green (BBG) is clone of the BeagleBone Black (BBB) minus the HDMI port and addition of two Grove connectors (i2c2 and usart2).
This board can be identified by the 1A value after A335BNLT (BBB) in the at24 eeprom:
1A: [aa 55 33 ee 41 33 33 35 42 4e 4c 54 1a 00 00 00 |.U3.A335BNLT....|]http://beagleboard.org/green
http://www.seeedstudio.com/wiki/Beaglebone_greenSigned-off-by Robert Nelson <[email protected]>CC Tony Lindgren <[email protected]>CC Jason Kridner <[email protected]>--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/am335x-bonegreen.dts | 53 ++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 arch/arm/boot/dts/am335x-bonegreen.dtsarch/arm/boot/dts/Makefile +1
-0@@ -446,6 +446,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \ am335x-base0033.dtb \ am335x-bone.dtb \ am335x-boneblack.dtb \ + am335x-bonegreen.dtb \ am335x-sl50.dtb \ am335x-evm.dtb \ am335x-evmsk.dtb \arch/arm/boot/dts/am335x-bonegreen.dts new file +49
-0@@ -0,0 +1,53 @@ +/* + * Copyright (C) 2012 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 "am33xx.dtsi" +#include "am335x-bone-common.dtsi" + +/ { + model = "TI AM335x BeagleBone Green"; + compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; +}; + +&ldo3_reg { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; +}; + +&mmc1 { + vmmc-supply = <&vmmcsd_fixed>; +}; + +&mmc2 { + vmmc-supply = <&vmmcsd_fixed>; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_pins>; + bus-width = <8>; + status = "okay"; +}; + +&am33xx_pinmux { + uart2_pins: uart2_pins { + pinctrl-single,pins = < + 0x150 (PIN_INPUT | MUX_MODE1) /* spi0_sclk.uart2_rxd */ + 0x154 (PIN_OUTPUT | MUX_MODE1) /* spi0_d0.uart2_txd */ + >; + }; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + status = "okay"; +};
Quoted 8 lines
arch/arm/boot/dts/am335x-bonegreen.dts line 53
Quoted 5 lines
arch/arm/boot/dts/am335x-bonegreen.dts new file +4
-0+ +&rtc { + system-power-controller; +};Would still work when https://patchwork.kernel.org/patch/6394821/ gets in?
That will still work, but we need to extend the board identification to "board-name" + "board-revision", as the Green choose the "A335BNLT" board name in the eeprom to remain compatible with older 3.8.x images from last year.. (most of the clones i've talked too want to support the old image too)...
So with the 1st byte of the board-revision:
All BeagleBone Black's have: 0x30
Seeed's using 0x1A (with the potential to increment the A)
Regards,
Signature · 2 lines
Robert Nelson https://rcn-ee.com/
PATCH 1/1 ARM: dts: Add am335x-bonegreen
Quoted 9 lines
Quoted 2 lines
Would still work when https://patchwork.kernel.org/patch/6394821/ gets in?
That will still work, but we need to extend the board identification to "board-name" + "board-revision", as the Green choose the "A335BNLT" board name in the eeprom to remain compatible with older 3.8.x images from last year.. (most of the clones i've talked too want to support the old image too)...
Quoted 3 lines
So with the 1st byte of the board-revision:
All BeagleBone Black's have:0x30
Seeed's using0x1A(with the potential to increment the A)
I should add, we have an official-ish list at the top of (1), to help keep track of this...
1: https://github.com/beagleboard/image-builder/blob/master/readme.md
Regards,
Signature · 2 lines
Robert Nelson https://rcn-ee.com/
PATCH 1/1 ARM: dts: Add am335x-bonegreen
In reply to Robert NelsonQuoted 8 lines · Robert Nelson
SeeedStudio BeagleBone Green (BBG) is clone of the BeagleBone Black (BBB) minus the HDMI port and addition of two Grove connectors (i2c2 and usart2).
This board can be identified by the 1A value after A335BNLT (BBB) in the at24 eeprom:
1A: [aa 55 33 ee 41 33 33 35 42 4e 4c 54 1a 00 00 00 |.U3.A335BNLT....|]http://beagleboard.org/green
http://www.seeedstudio.com/wiki/Beaglebone_green
Thanks applying into omap-for-v4.4/dt.
Tony