* [PATCH] arm: dts: Enable beaglebone cape-manager
@ 2015-05-13 8:04 Pantelis Antoniou
[not found] ` <1431504292-32132-1-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Pantelis Antoniou @ 2015-05-13 8:04 UTC (permalink / raw)
To: Benoit Cousson
Cc: Tony Lindgren, Rob Herring, Grant Likely, Matt Porter, Koen Kooi,
Robert Nelson, Srinivas Kandagatla, Guenter Roeck,
Geert Uytterhoeven, devicetree, linux-omap, linux-arm-kernel,
linux-kernel, Pantelis Antoniou, Pantelis Antoniou
Enable the cape manager on the beaglebone family of boards.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
---
arch/arm/boot/dts/am335x-bone-common.dtsi | 42 +++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 236b7db..28d9764 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -375,3 +375,45 @@
&sham {
status = "okay";
};
+
+/* the cape manager */
+/ {
+ bone_capemgr {
+ compatible = "ti,bone-capemgr";
+ status = "okay";
+
+ eeprom = <&baseboard_data>;
+
+ /* map board revisions to compatible definitions */
+ baseboardmaps {
+ baseboard_beaglebone: board@0 {
+ board-name = "A335BONE";
+ compatible-name = "ti,beaglebone";
+ };
+
+ baseboard_beaglebone_black: board@1 {
+ board-name = "A335BNLT";
+ compatible-name = "ti,beaglebone-black";
+ };
+ };
+
+ /* only 4 slots defined */
+ slots {
+ slot@0 {
+ eeprom = <&cape0_data>;
+ };
+
+ slot@1 {
+ eeprom = <&cape1_data>;
+ };
+
+ slot@2 {
+ eeprom = <&cape2_data>;
+ };
+
+ slot@3 {
+ eeprom = <&cape3_data>;
+ };
+ };
+ };
+};
--
1.7.12
^ permalink raw reply related [flat|nested] 2+ messages in thread[parent not found: <1431504292-32132-1-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>]
* Re: [PATCH] arm: dts: Enable beaglebone cape-manager [not found] ` <1431504292-32132-1-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org> @ 2015-05-14 15:39 ` Tony Lindgren 0 siblings, 0 replies; 2+ messages in thread From: Tony Lindgren @ 2015-05-14 15:39 UTC (permalink / raw) To: Pantelis Antoniou Cc: Benoit Cousson, Rob Herring, Grant Likely, Matt Porter, Koen Kooi, Robert Nelson, Srinivas Kandagatla, Guenter Roeck, Geert Uytterhoeven, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Pantelis Antoniou * Pantelis Antoniou <pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org> [150513 01:06]: > Enable the cape manager on the beaglebone family of boards. I don't think we have the "ti,bone-capemgr" binding in use yet in Linux next? An ack from the DT people would be good to have here for the binding. Regards, Tony > Signed-off-by: Pantelis Antoniou <pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org> > --- > arch/arm/boot/dts/am335x-bone-common.dtsi | 42 +++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > > diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi > index 236b7db..28d9764 100644 > --- a/arch/arm/boot/dts/am335x-bone-common.dtsi > +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi > @@ -375,3 +375,45 @@ > &sham { > status = "okay"; > }; > + > +/* the cape manager */ > +/ { > + bone_capemgr { > + compatible = "ti,bone-capemgr"; > + status = "okay"; > + > + eeprom = <&baseboard_data>; > + > + /* map board revisions to compatible definitions */ > + baseboardmaps { > + baseboard_beaglebone: board@0 { > + board-name = "A335BONE"; > + compatible-name = "ti,beaglebone"; > + }; > + > + baseboard_beaglebone_black: board@1 { > + board-name = "A335BNLT"; > + compatible-name = "ti,beaglebone-black"; > + }; > + }; > + > + /* only 4 slots defined */ > + slots { > + slot@0 { > + eeprom = <&cape0_data>; > + }; > + > + slot@1 { > + eeprom = <&cape1_data>; > + }; > + > + slot@2 { > + eeprom = <&cape2_data>; > + }; > + > + slot@3 { > + eeprom = <&cape3_data>; > + }; > + }; > + }; > +}; > -- > 1.7.12 > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-14 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-13 8:04 [PATCH] arm: dts: Enable beaglebone cape-manager Pantelis Antoniou
[not found] ` <1431504292-32132-1-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-05-14 15:39 ` Tony Lindgren
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).