Skip to contentSkip to conversation

powerpc/fsl-booke: Add initial silicon device tree for

PATCH Applied Kumar Gala 1 participant 2 messages Mar 7, 2013 – Mar 12, 2013

Subsystems (2)
lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH v2 5/8 powerpc/fsl-booke: Add initial silicon device tree for

Enable a baseline T4240 SoC to boot. There are several things missing from the device trees for T4240:

* Proper PAMU topology information
* DPAA related nodes (Qman, Bman, Fman, Rman, DCE)
* Prefetch Manager
* Thermal monitor unit
* Interlaken

---
* Added thread ids to cpu nodes
* removed clock-frequency from PCI nodes as we dont use it

 arch/powerpc/boot/dts/fsl/qoriq-gpio-1.dtsi |   41 ++++
 arch/powerpc/boot/dts/fsl/qoriq-gpio-2.dtsi |   41 ++++
 arch/powerpc/boot/dts/fsl/qoriq-gpio-3.dtsi |   41 ++++
 arch/powerpc/boot/dts/fsl/t4240si-post.dtsi |  307 +++++++++++++++++++++++++++
 arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi  |  127 +++++++++++
 5 files changed, 557 insertions(+)
 create mode 100644 arch/powerpc/boot/dts/fsl/qoriq-gpio-1.dtsi
 create mode 100644 arch/powerpc/boot/dts/fsl/qoriq-gpio-2.dtsi
 create mode 100644 arch/powerpc/boot/dts/fsl/qoriq-gpio-3.dtsi
 create mode 100644 arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
 create mode 100644 arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi
arch/powerpc/boot/dts/fsl/qoriq-gpio-1.dtsi new file +41 -0
new file mode 100644
index 0000000..c2f9cda
@@ -0,0 +1,41 @@
+/*
+ * QorIQ GPIO device tree stub [ controller @ offset 0x131000 ]
+ *
+ * Copyright 2013 Freescale Semiconductor Inc.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *     * Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer in the
+ *       documentation and/or other materials provided with the distribution.
+ *     * Neither the name of Freescale Semiconductor nor the
+ *       names of its contributors may be used to endorse or promote products
+ *       derived from this software without specific prior written permission.
+ *
+ *
+ * ALTERNATIVELY, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") as published by the Free Software
+ * Foundation, either version 2 of that License or (at your option) any
+ * later version.
+ *
+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+gpio1: gpio@131000 {
+	compatible = "fsl,qoriq-gpio";
+	reg = <0x131000 0x1000>;
+	interrupts = <54 2 0 0>;
+	#gpio-cells = <2>;
+	gpio-controller;
+};
arch/powerpc/boot/dts/fsl/qoriq-gpio-2.dtsi new file +41 -0

41 lines not on this page · raw message

arch/powerpc/boot/dts/fsl/qoriq-gpio-3.dtsi new file +41 -0

41 lines not on this page · raw message

arch/powerpc/boot/dts/fsl/t4240si-post.dtsi new file +307 -0

307 lines not on this page · raw message

arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi new file +127 -0

127 lines not on this page · raw message

Signature · 1 line
1.7.9.7
author Applied
#1 lore raw
Quoted 22 lines · Kumar Gala

Enable a baseline T4240 SoC to boot. There are several things missing from the device trees for T4240:
=20
* Proper PAMU topology information
* DPAA related nodes (Qman, Bman, Fman, Rman, DCE)
* Prefetch Manager
* Thermal monitor unit
* Interlaken
=20

Quoted 8 lines

---
* Added thread ids to cpu nodes
* removed clock-frequency from PCI nodes as we dont use it =20

arch/powerpc/boot/dts/fsl/qoriq-gpio-1.dtsi |   41 ++++
arch/powerpc/boot/dts/fsl/qoriq-gpio-2.dtsi |   41 ++++
arch/powerpc/boot/dts/fsl/qoriq-gpio-3.dtsi |   41 ++++
arch/powerpc/boot/dts/fsl/t4240si-post.dtsi |  307 =

+++++++++++++++++++++++++++

Quoted 7 lines

arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi | 127 +++++++++++

5 files changed, 557 insertions(+)

create mode 100644 arch/powerpc/boot/dts/fsl/qoriq-gpio-1.dtsi create mode 100644 arch/powerpc/boot/dts/fsl/qoriq-gpio-2.dtsi create mode 100644 arch/powerpc/boot/dts/fsl/qoriq-gpio-3.dtsi create mode 100644 arch/powerpc/boot/dts/fsl/t4240si-post.dtsi create mode 100644 arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi

applied to next

- k=