Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1149975/?format=api
{ "id": 1149975, "url": "http://patchwork.ozlabs.org/api/patches/1149975/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190820093536.39407-11-Zhiqiang.Hou@nxp.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20190820093536.39407-11-Zhiqiang.Hou@nxp.com>", "list_archive_url": null, "date": "2019-08-20T09:35:32", "name": "[U-Boot,PATCHv2,10/14] powerpc: Enable device tree support for P4080DS", "commit_ref": null, "pull_url": null, "state": "awaiting-upstream", "archived": false, "hash": "35a293fd62810a3ea5816c39b95c065111cfa91d", "submitter": { "id": 67929, "url": "http://patchwork.ozlabs.org/api/people/67929/?format=api", "name": "Z.Q. Hou", "email": "zhiqiang.hou@nxp.com" }, "delegate": { "id": 2467, "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api", "username": "prabhu_kush", "first_name": "Prabhakar", "last_name": "Kushwaha", "email": "prabhakar@freescale.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190820093536.39407-11-Zhiqiang.Hou@nxp.com/mbox/", "series": [ { "id": 126154, "url": "http://patchwork.ozlabs.org/api/series/126154/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=126154", "date": "2019-08-20T09:35:22", "name": "powerpc: Enable device tree support", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/126154/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1149975/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1149975/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=nxp.com" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 46CQww28Tcz9s4Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 20 Aug 2019 19:49:03 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid ACDE7C21FAF; Tue, 20 Aug 2019 09:47:52 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 073CEC21F81;\n\tTue, 20 Aug 2019 09:46:15 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 3204AC21F81; Tue, 20 Aug 2019 09:46:03 +0000 (UTC)", "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n\tby lists.denx.de (Postfix) with ESMTPS id E0FF5C21F88\n\tfor <u-boot@lists.denx.de>; Tue, 20 Aug 2019 09:46:00 +0000 (UTC)", "from inva020.nxp.com (localhost [127.0.0.1])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id AC5EF1A043C;\n\tTue, 20 Aug 2019 11:46:00 +0200 (CEST)", "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 35F5C1A0421;\n\tTue, 20 Aug 2019 11:45:54 +0200 (CEST)", "from titan.ap.freescale.net (TITAN.ap.freescale.net\n\t[10.192.208.233])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id A2FD940327;\n\tTue, 20 Aug 2019 17:45:42 +0800 (SGT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=0.0 required=5.0 tests=KHOP_BIG_TO_CC\n\tautolearn=unavailable autolearn_force=no version=3.4.0", "From": "Hou Zhiqiang <Zhiqiang.Hou@nxp.com>", "To": "u-boot@lists.denx.de, prabhakar.kushwaha@nxp.com, wd@denx.de,\n\tShengzhou.Liu@nxp.com, priyanka.jain@nxp.com, sjg@chromium.org,\n\tmarek.vasut+renesas@gmail.com, sr@denx.de, jagdish.gediya@nxp.com,\n\tbmeng.cn@gmail.com, york.sun@nxp.com, Jiafei.Pan@nxp.com,\n\tXiaowei.Bao@nxp.com", "Date": "Tue, 20 Aug 2019 09:35:32 +0000", "Message-Id": "<20190820093536.39407-11-Zhiqiang.Hou@nxp.com>", "X-Mailer": "git-send-email 2.9.5", "In-Reply-To": "<20190820093536.39407-1-Zhiqiang.Hou@nxp.com>", "References": "<20190820093536.39407-1-Zhiqiang.Hou@nxp.com>", "X-Virus-Scanned": "ClamAV using ClamSMTP", "Cc": "Hou Zhiqiang <Zhiqiang.Hou@nxp.com>", "Subject": "[U-Boot] [PATCHv2 10/14] powerpc: Enable device tree support for\n\tP4080DS", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "Add device tree for P4080DS board and enable CONFIG_OF_CONTROL\nso that device tree can be compiled.\n\nSigned-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>\n---\nV2:\n - No change.\n\n arch/powerpc/dts/Makefile | 1 +\n arch/powerpc/dts/p4080.dtsi | 83 ++++++++++++++++++++++++++++++++++++++\n arch/powerpc/dts/p4080ds.dts | 18 +++++++++\n configs/P4080DS_SDCARD_defconfig | 3 ++\n configs/P4080DS_SPIFLASH_defconfig | 3 ++\n configs/P4080DS_defconfig | 3 ++\n 6 files changed, 111 insertions(+)\n create mode 100644 arch/powerpc/dts/p4080.dtsi\n create mode 100644 arch/powerpc/dts/p4080ds.dts", "diff": "diff --git a/arch/powerpc/dts/Makefile b/arch/powerpc/dts/Makefile\nindex fe2d4e4..ffd929c 100644\n--- a/arch/powerpc/dts/Makefile\n+++ b/arch/powerpc/dts/Makefile\n@@ -5,6 +5,7 @@ dtb-$(CONFIG_TARGET_P1020RDB_PD) += p1020rdb-pd.dtb\n dtb-$(CONFIG_TARGET_P2020RDB) += p2020rdb-pc.dtb p2020rdb-pc_36b.dtb\n dtb-$(CONFIG_TARGET_P2041RDB) += p2041rdb.dtb\n dtb-$(CONFIG_TARGET_P3041DS) += p3041ds.dtb\n+dtb-$(CONFIG_TARGET_P4080DS) += p4080ds.dtb\n dtb-$(CONFIG_TARGET_T1024RDB) += t1024rdb.dtb\n dtb-$(CONFIG_TARGET_T1042D4RDB) += t1042d4rdb.dtb\n dtb-$(CONFIG_TARGET_T2080QDS) += t2080qds.dtb\ndiff --git a/arch/powerpc/dts/p4080.dtsi b/arch/powerpc/dts/p4080.dtsi\nnew file mode 100644\nindex 0000000..7c8dbae\n--- /dev/null\n+++ b/arch/powerpc/dts/p4080.dtsi\n@@ -0,0 +1,83 @@\n+// SPDX-License-Identifier: GPL-2.0+ OR X11\n+/*\n+ * P4080/P4040 Silicon/SoC Device Tree Source (pre include)\n+ *\n+ * Copyright 2011 - 2015 Freescale Semiconductor Inc.\n+ * Copyright 2019 NXP\n+ */\n+\n+/dts-v1/;\n+\n+/include/ \"e500mc_power_isa.dtsi\"\n+\n+/ {\n+\tcompatible = \"fsl,P4080\";\n+\t#address-cells = <2>;\n+\t#size-cells = <2>;\n+\tinterrupt-parent = <&mpic>;\n+\n+\tcpus {\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <0>;\n+\n+\t\tcpu0: PowerPC,e500mc@0 {\n+\t\t\tdevice_type = \"cpu\";\n+\t\t\treg = <0>;\n+\t\t\tfsl,portid-mapping = <0x80000000>;\n+\t\t};\n+\t\tcpu1: PowerPC,e500mc@1 {\n+\t\t\tdevice_type = \"cpu\";\n+\t\t\treg = <1>;\n+\t\t\tfsl,portid-mapping = <0x40000000>;\n+\t\t};\n+\t\tcpu2: PowerPC,e500mc@2 {\n+\t\t\tdevice_type = \"cpu\";\n+\t\t\treg = <2>;\n+\t\t\tfsl,portid-mapping = <0x20000000>;\n+\t\t};\n+\t\tcpu3: PowerPC,e500mc@3 {\n+\t\t\tdevice_type = \"cpu\";\n+\t\t\treg = <3>;\n+\t\t\tfsl,portid-mapping = <0x10000000>;\n+\t\t};\n+\t\tcpu4: PowerPC,e500mc@4 {\n+\t\t\tdevice_type = \"cpu\";\n+\t\t\treg = <4>;\n+\t\t\tfsl,portid-mapping = <0x08000000>;\n+\t\t};\n+\t\tcpu5: PowerPC,e500mc@5 {\n+\t\t\tdevice_type = \"cpu\";\n+\t\t\treg = <5>;\n+\t\t\tfsl,portid-mapping = <0x04000000>;\n+\t\t};\n+\t\tcpu6: PowerPC,e500mc@6 {\n+\t\t\tdevice_type = \"cpu\";\n+\t\t\treg = <6>;\n+\t\t\tfsl,portid-mapping = <0x02000000>;\n+\t\t};\n+\t\tcpu7: PowerPC,e500mc@7 {\n+\t\t\tdevice_type = \"cpu\";\n+\t\t\treg = <7>;\n+\t\t\tfsl,portid-mapping = <0x01000000>;\n+\t\t};\n+\t};\n+\n+\tsoc: soc@ffe000000 {\n+\t\tranges = <0x00000000 0xf 0xfe000000 0x1000000>;\n+\t\treg = <0xf 0xfe000000 0 0x00001000>;\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <1>;\n+\t\tdevice_type = \"soc\";\n+\t\tcompatible = \"simple-bus\";\n+\n+\t\tmpic: pic@40000 {\n+\t\t\tinterrupt-controller;\n+\t\t\t#address-cells = <0>;\n+\t\t\t#interrupt-cells = <4>;\n+\t\t\treg = <0x40000 0x40000>;\n+\t\t\tcompatible = \"fsl,mpic\", \"chrp,open-pic\";\n+\t\t\tdevice_type = \"open-pic\";\n+\t\t\tclock-frequency = <0x0>;\n+\t\t};\n+\t};\n+};\ndiff --git a/arch/powerpc/dts/p4080ds.dts b/arch/powerpc/dts/p4080ds.dts\nnew file mode 100644\nindex 0000000..15a0f66\n--- /dev/null\n+++ b/arch/powerpc/dts/p4080ds.dts\n@@ -0,0 +1,18 @@\n+// SPDX-License-Identifier: GPL-2.0+ OR X11\n+/*\n+ * P4080DS Device Tree Source\n+ *\n+ * Copyright 2011 - 2015 Freescale Semiconductor Inc.\n+ * Copyright 2019 NXP\n+ */\n+\n+/include/ \"p4080.dtsi\"\n+\n+/ {\n+\tmodel = \"fsl,P4080DS\";\n+\tcompatible = \"fsl,P4080DS\";\n+\t#address-cells = <2>;\n+\t#size-cells = <2>;\n+\tinterrupt-parent = <&mpic>;\n+\n+};\ndiff --git a/configs/P4080DS_SDCARD_defconfig b/configs/P4080DS_SDCARD_defconfig\nindex b67e12a..0aaf09a 100644\n--- a/configs/P4080DS_SDCARD_defconfig\n+++ b/configs/P4080DS_SDCARD_defconfig\n@@ -1,7 +1,10 @@\n CONFIG_PPC=y\n CONFIG_SYS_TEXT_BASE=0xFFF40000\n CONFIG_MPC85xx=y\n+CONFIG_MPC85XX_HAVE_RESET_VECTOR=y\n CONFIG_TARGET_P4080DS=y\n+CONFIG_DEFAULT_DEVICE_TREE=\"p4080ds\"\n+CONFIG_OF_CONTROL=y\n CONFIG_FIT=y\n CONFIG_FIT_VERBOSE=y\n CONFIG_OF_BOARD_SETUP=y\ndiff --git a/configs/P4080DS_SPIFLASH_defconfig b/configs/P4080DS_SPIFLASH_defconfig\nindex b108367..3a91df2 100644\n--- a/configs/P4080DS_SPIFLASH_defconfig\n+++ b/configs/P4080DS_SPIFLASH_defconfig\n@@ -1,7 +1,10 @@\n CONFIG_PPC=y\n CONFIG_SYS_TEXT_BASE=0xFFF40000\n CONFIG_MPC85xx=y\n+CONFIG_MPC85XX_HAVE_RESET_VECTOR=y\n CONFIG_TARGET_P4080DS=y\n+CONFIG_DEFAULT_DEVICE_TREE=\"p4080ds\"\n+CONFIG_OF_CONTROL=y\n CONFIG_FIT=y\n CONFIG_FIT_VERBOSE=y\n CONFIG_OF_BOARD_SETUP=y\ndiff --git a/configs/P4080DS_defconfig b/configs/P4080DS_defconfig\nindex ee4f51d..d89d69f 100644\n--- a/configs/P4080DS_defconfig\n+++ b/configs/P4080DS_defconfig\n@@ -1,7 +1,10 @@\n CONFIG_PPC=y\n CONFIG_SYS_TEXT_BASE=0xEFF40000\n CONFIG_MPC85xx=y\n+CONFIG_MPC85XX_HAVE_RESET_VECTOR=y\n CONFIG_TARGET_P4080DS=y\n+CONFIG_DEFAULT_DEVICE_TREE=\"p4080ds\"\n+CONFIG_OF_CONTROL=y\n CONFIG_FIT=y\n CONFIG_FIT_VERBOSE=y\n CONFIG_OF_BOARD_SETUP=y\n", "prefixes": [ "U-Boot", "PATCHv2", "10/14" ] }