From patchwork Fri Jan 11 22:31:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 1023801 X-Patchwork-Delegate: daniel.schwierzeck@googlemail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=microchip.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43bz8V6pvwz9s9h for ; Sat, 12 Jan 2019 10:09:30 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id B0602C21D4A; Fri, 11 Jan 2019 23:09:27 +0000 (UTC) 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=BAD_ENC_HEADER, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id EBACBC22261; Fri, 11 Jan 2019 23:05:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A2A1BC22272; Fri, 11 Jan 2019 23:05:50 +0000 (UTC) Received: from NAM05-BY2-obe.outbound.protection.outlook.com (mail-eopbgr710066.outbound.protection.outlook.com [40.107.71.66]) by lists.denx.de (Postfix) with ESMTPS id 02656C221F7 for ; Fri, 11 Jan 2019 23:05:34 +0000 (UTC) Received: from BN6PR19CA0074.namprd19.prod.outlook.com (2603:10b6:404:133::12) by BYAPR19MB2982.namprd19.prod.outlook.com (2603:10b6:a03:13d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.18; Fri, 11 Jan 2019 23:05:28 +0000 Received: from BL2FFO11FD007.protection.gbl (2a01:111:f400:7c09::139) by BN6PR19CA0074.outlook.office365.com (2603:10b6:404:133::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.14 via Frontend Transport; Fri, 11 Jan 2019 23:05:27 +0000 Authentication-Results: spf=softfail (sender IP is 208.19.100.23) smtp.mailfrom=microchip.com; lists.denx.de; dkim=none (message not signed) header.d=none;lists.denx.de; dmarc=none action=none header.from=microchip.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning microchip.com discourages use of 208.19.100.23 as permitted sender) Received: from AVMBX3.microsemi.net (208.19.100.23) by BL2FFO11FD007.mail.protection.outlook.com (10.173.161.3) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.1471.13 via Frontend Transport; Fri, 11 Jan 2019 23:05:27 +0000 Received: from AVMBX3.microsemi.net (10.100.34.33) by AVMBX3.microsemi.net (10.100.34.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1531.3; Fri, 11 Jan 2019 14:35:21 -0800 Received: from xrelay.vitesse.com (10.9.45.188) by avmbx3.microsemi.net (10.100.34.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1531.3 via Frontend Transport; Fri, 11 Jan 2019 14:35:21 -0800 Received: from soft-dev3.microsemi.net (soft-dev3.microsemi.net [10.205.27.16]) by xrelay.vitesse.com (8.13.8/8.13.8) with ESMTP id x0BMWMCq018804; Fri, 11 Jan 2019 14:35:10 -0800 From: Horatiu Vultur To: Date: Fri, 11 Jan 2019 23:31:17 +0100 Message-ID: <1547245880-23438-4-git-send-email-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1547245880-23438-1-git-send-email-horatiu.vultur@microchip.com> References: <1547245880-23438-1-git-send-email-horatiu.vultur@microchip.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131917215277185453; (5a93feec-e11d-4f7b-166a-08d09f1f276b); () X-Forefront-Antispam-Report: CIP:208.19.100.23; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(346002)(39860400002)(376002)(136003)(2980300002)(199004)(189003)(498600001)(51416003)(81156014)(316002)(356004)(336012)(16586007)(48376002)(44832011)(106466001)(107886003)(53936002)(76176011)(86362001)(6916009)(105596002)(53416004)(305945005)(47776003)(5660300001)(486006)(2351001)(4326008)(446003)(50466002)(126002)(8676002)(69596002)(2906002)(50226002)(97736004)(26005)(77096007)(68736007)(14444005)(476003)(2616005)(11346002)(81166006)(36756003)(8936002)(54906003); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR19MB2982; H:AVMBX3.microsemi.net; FPR:; SPF:SoftFail; LANG:en; PTR:InfoDomainNonexistent; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD007; 1:TZWElWgQHHp8/W12JgaY+gXrAOfrjqSsPTPx3c/wBFAlkL5W7Y35BTCl62jlMIIbgaZDp03VkAl0OTdzT5b/LJAltHPEdtK8gkfvHmBYrCJBgGy8YcECHdr/NDeW0Gbq X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 13288928-02cd-4733-703a-08d6781946c8 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(5600109)(711020)(2017052603328); SRVR:BYAPR19MB2982; X-Microsoft-Exchange-Diagnostics: 1; BYAPR19MB2982; 3:+PqN4z298TfgppCYwln7HTuFQ4xA56C0PRCNxFAfvOSQJ2OiEM4ImYFZNXhVhAHopTwAF8v+M+/qAE4yzuK5czPBw1O+x3AWWmZ0OFMBfmaCDsfTSxJGSxgjOhWPRxQIh1UKQrj5W88KQfiquRViHUQ476mnQc41SIlC7L11MyMs/+KlB7wL6DWGRJWKY/KHkGfnSjLMdkBw3PkFkSl0bEtQ+/CG9RjtJWAqOq6r4gDE32/LU4j0lQnu5k+bVtFyjkCIPoGGMnZzSnhVz/qVGaLIejOEffZmQ72CQGrDSekVGyvkpmt1qnWobruP+SgGKbIBerRAyFNwmmga++OU0CdkvlFabOc4Gw26w53+znsCDCpLTOp7t4jFDE1bQesM; 25:pesVtcvBVWerKkNX7ZPxS//gizXa9GMwEVh3+hZJEybanANybv1O2nfQBte84SinIPaU88wR0e/i1ws0P/XU/fQlkqJwEIK38EwGXqYTQV2VImncmc4NrCdD3lLbyt2mfGsd8JtR5+u4WaLwQcNBLM474uxjv3b9TxKoli+baooCvk1LP//sY5rMVVWps7lmOOykWdhrhB60JP0I7mkyp+HQagOrWiceTYTTb/7/2HqVo54IlIIOw4/txrxthCLUIjQXTuIOEv0flNxdIeZgC+0gOi+I5nc/X5ZDKwD2QKB3xwXLBYX8fqDjttsDGmMxpZaI/gY3y6h+WGhVQIl6kw== X-MS-TrafficTypeDiagnostic: BYAPR19MB2982: X-Microsoft-Exchange-Diagnostics: 1; BYAPR19MB2982; 31:yLBhG5weDYhWMdtcEjnO7aGSKrssah905evIbv87o23MsVm9BGO57c9o7OjX8XerGshVeUue6EkQVa/CbNkWi/FPqzcuIWn193xagx6ZNovzf/4BPgnt/QLfJLVDFMap0bPYkc5nMGIg7VHg+Uk70+0DuUG3es8px+HCmVH0phUWRo3AWsYgi2anH4iDA7BzlcRobF6EZaIBvlxa11Ik5q4rdKTO90piyEGfB6htJzg=; 4:8/FfKuRzOuCdAWCnZTa09xFn485BRadFpFD/NacFerDn6EerXVe6GypXkt3Ah60dXJieunUj96Ynq5xcMEdJvfckfsoirFL3fQpwSedSK0bYBdVGDxoUP/CWeEsC0YAgbbSBPqrbrZ2q05dyofhvTDGTpniZjo7ue/pcLltNZ1FXtJN8ZMuPMLpqIeUjFTkrVNvtNFfnVkPGy7IuOKi++0Ys03sDCMmu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WSzQwxfTJpj48xa7FF7v8OOBKXjTrsj1MVQskTlP/JS+SVTr+Ov9MNmTxmfNliBtN/XNpsh8awJ4lYPN0Ig7RCn0rlKEvaCzjoP93OlU3T55fcQ==; 5:ACZzPov31/qTgePxc/+6tSxSCrDjbCukJbVFAJ5Lv5Jj4qJQJ9KAoI1shL3t8wndAHbu/5pokkyCNeG74iZwQsMsKigLshShNHkD9noKO4XwCUWoD4RjMRDLXz7jfSaV82yydMchlAaEct34LK+dj9rkBQVy8qpnJee26kwgmDML9ZgtPoqeW4RnMz181XZj8zEAIP2/7aXc8UzMYmzNAg==; 7:4ILEtf4Z8loXE90rj6zAvHlX70S0q0urNy4Qb1lNYmgy7WxClXD5sZXK47mJSB7kINK7cL4UN3PDZnDNXSQEfE8Wy+4wleBI3+hvibMjbLyBo++PU0SLb2iLkfOcY+vKIW+q6SOyH55oh2FKwbNtaQ== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2019 23:05:27.4997 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 13288928-02cd-4733-703a-08d6781946c8 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[208.19.100.23]; Helo=[AVMBX3.microsemi.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR19MB2982 Subject: [U-Boot] [PATCH v6 3/6] MSCC: Add device tree for Jaguar2 board X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 +++++++++++++++++ arch/mips/dts/mscc,jr2.dtsi | 187 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 262 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb110.dts create mode 100644 arch/mips/dts/mscc,jr2.dtsi diff --git a/MAINTAINERS b/MAINTAINERS index 495d3e5..f05c36b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -521,6 +521,7 @@ F: arch/mips/mach-mscc/ F: arch/mips/dts/luton* F: arch/mips/dts/mscc* F: arch/mips/dts/ocelot* +F: arch/mips/dts/jr2* F: board/mscc/ F: configs/mscc* F: drivers/gpio/mscc_sgpio.c diff --git a/arch/mips/dts/jr2_pcb110.dts b/arch/mips/dts/jr2_pcb110.dts new file mode 100644 index 0000000..ddc30ff --- /dev/null +++ b/arch/mips/dts/jr2_pcb110.dts @@ -0,0 +1,74 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 Microsemi Corporation + */ + +/dts-v1/; +#include "mscc,jr2.dtsi" + +/ { + model = "Jaguar2 Cu8-Sfp16 PCB110 Reference Board"; + compatible = "mscc,jr2-pcb110", "mscc,jr2"; + + aliases { + spi0 = &spi0; + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + gpio-leds { + compatible = "gpio-leds"; + + status_green { + label = "pcb110:green:status"; + gpios = <&gpio 12 0>; + default-state = "on"; + }; + + status_red { + label = "pcb110:red:status"; + gpios = <&gpio 13 0>; + default-state = "off"; + }; + }; +}; + +&uart0 { + status = "okay"; +}; + +&spi0 { + status = "okay"; + spi-flash@0 { + compatible = "spi-flash"; + spi-max-frequency = <18000000>; /* input clock */ + reg = <0>; /* CS0 */ + }; +}; + +&gpio { + /* SPIO only use DO, CLK, no inputs */ + sgpio1_pins: sgpio1-pins { + pins = "GPIO_4", "GPIO_5"; + function = "sg1"; + }; +}; + +&sgpio { + status = "okay"; + sgpio-ports = <0x00ffffff>; +}; + +&sgpio1 { + status = "okay"; + sgpio-ports = <0x00ff0000>; +}; + +&sgpio2 { + status = "okay"; + sgpio-ports = <0x3f00ffff>; + gpio-ranges = <&sgpio2 0 0 96>; +}; diff --git a/arch/mips/dts/mscc,jr2.dtsi b/arch/mips/dts/mscc,jr2.dtsi new file mode 100644 index 0000000..0900926 --- /dev/null +++ b/arch/mips/dts/mscc,jr2.dtsi @@ -0,0 +1,187 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 Microsemi Corporation + */ + +/ { + #address-cells = <1>; + #size-cells = <1>; + compatible = "mscc,jr2"; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + compatible = "mips,mips24KEc"; + device_type = "cpu"; + clocks = <&cpu_clk>; + reg = <0>; + }; + }; + + aliases { + serial0 = &uart0; + }; + + cpuintc: interrupt-controller@0 { + #address-cells = <0>; + #interrupt-cells = <1>; + interrupt-controller; + compatible = "mti,cpu-interrupt-controller"; + }; + + cpu_clk: cpu-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <500000000>; + }; + + ahb_clk: ahb-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <250000000>; + }; + + ahb { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x70000000 0x2000000>; + + interrupt-parent = <&intc>; + + cpu_ctrl: syscon@0 { + compatible = "mscc,jr2-cpu-syscon", "syscon"; + reg = <0x0 0x2c>; + }; + + intc: interrupt-controller@70 { + compatible = "mscc,jr2-icpu-intr"; + reg = <0x70 0x94>; + #interrupt-cells = <1>; + interrupt-controller; + interrupt-parent = <&cpuintc>; + interrupts = <2>; + }; + + uart0: serial@100000 { + pinctrl-0 = <&uart_pins>; + pinctrl-names = "default"; + compatible = "ns16550a"; + reg = <0x100000 0x20>; + interrupts = <6>; + clocks = <&ahb_clk>; + reg-io-width = <4>; + reg-shift = <2>; + + status = "disabled"; + }; + + uart2: serial@100800 { + pinctrl-0 = <&uart2_pins>; + pinctrl-names = "default"; + compatible = "ns16550a"; + reg = <0x100800 0x20>; + interrupts = <7>; + clocks = <&ahb_clk>; + reg-io-width = <4>; + reg-shift = <2>; + + status = "disabled"; + }; + + spi0: spi-master@101000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "snps,dw-apb-ssi"; + reg = <0x101000 0x40>; + num-chipselect = <4>; + bus-num = <0>; + reg-io-width = <4>; + reg-shift = <2>; + spi-max-frequency = <18000000>; /* input clock */ + clocks = <&ahb_clk>; + + status = "disabled"; + }; + + reset@1010008 { + compatible = "mscc,jr2-chip-reset"; + reg = <0x1010008 0x4>; + }; + + gpio: pinctrl@1070034 { + compatible = "mscc,jaguar2-pinctrl"; + reg = <0x1010038 0x90>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&gpio 0 0 64>; + + sgpio_pins: sgpio-pins { + pins = "GPIO_0", "GPIO_1", "GPIO_2", "GPIO_3"; + function = "sg0"; + }; + + sgpio1_pins: sgpio1-pins { + pins = "GPIO_4", "GPIO_5", "GPIO_12", "GPIO_13"; + function = "sg1"; + }; + + sgpio2_pins: sgpio2-pins { + pins = "GPIO_30", "GPIO_31", + "GPIO_32", "GPIO_33"; + function = "sg2"; + }; + + uart_pins: uart-pins { + pins = "GPIO_10", "GPIO_11"; + function = "uart"; + }; + + uart2_pins: uart2-pins { + pins = "GPIO_24", "GPIO_25"; + function = "uart2"; + }; + }; + + sgpio: gpio@1010150 { + compatible = "mscc,ocelot-sgpio"; + status = "disabled"; + pinctrl-0 = <&sgpio_pins>; + pinctrl-names = "default"; + reg = <0x1010150 0x100>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&sgpio 0 0 64>; + gpio-bank-name = "sgpio0_"; + sgpio-clock = <0x14>; + }; + + sgpio1: gpio@101025c { + compatible = "mscc,ocelot-sgpio"; + status = "disabled"; + pinctrl-0 = <&sgpio1_pins>; + pinctrl-names = "default"; + reg = <0x101025c 0x100>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&sgpio1 0 0 64>; + gpio-bank-name = "sgpio1_"; + sgpio-clock = <0x14>; + }; + + sgpio2: gpio@1010368 { + compatible = "mscc,ocelot-sgpio"; + status = "disabled"; + pinctrl-0 = <&sgpio2_pins>; + pinctrl-names = "default"; + reg = <0x1010368 0x100>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&sgpio2 0 0 64>; + gpio-bank-name = "sgpio2_"; + sgpio-clock = <0x14>; + }; + }; +};