From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5AC9C433DB for ; Tue, 19 Jan 2021 14:21:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 765232312D for ; Tue, 19 Jan 2021 14:21:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732504AbhASORO (ORCPT ); Tue, 19 Jan 2021 09:17:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732576AbhASJW0 (ORCPT ); Tue, 19 Jan 2021 04:22:26 -0500 Received: from yawp.biot.com (yawp.biot.com [IPv6:2a01:4f8:10a:8e::fce2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A981C0613C1 for ; Tue, 19 Jan 2021 01:21:46 -0800 (PST) Received: from debian-spamd by yawp.biot.com with sa-checked (Exim 4.93) (envelope-from ) id 1l1nCq-00EDvb-IR for linux-mips@vger.kernel.org; Tue, 19 Jan 2021 10:21:44 +0100 Received: from [2a02:578:460c:1:ae1f:6bff:fed1:9ca8] (helo=sumner.biot.com) by yawp.biot.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l1nCP-00EDri-E3; Tue, 19 Jan 2021 10:21:17 +0100 Received: from bert by sumner.biot.com with local (Exim 4.93) (envelope-from ) id 1l1nCO-000mDG-V7; Tue, 19 Jan 2021 10:21:16 +0100 From: Bert Vermeulen To: Thomas Bogendoerfer , Rob Herring , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sander Vanheule , John Crispin , Birger Koblitz Cc: Bert Vermeulen Subject: [PATCH v4 0/5] Add support for Realtek RTL838x/RTL839x switch SoCs Date: Tue, 19 Jan 2021 10:21:04 +0100 Message-Id: <20210119092109.185282-1-bert@biot.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org v4: - Device tree bindings for SoC in separate patch. - Removed ioremap.h, and declare physical address bases in device tree. v3: - all code removed, the base system is now only device tree files and docs and some build config. - ioremap.h restored to the v1 version, with hardcoded I/O ranges, since I got flak on changing that as suggested. This brings it in line with other systems in arch/mips/generic. v2: - Removed all new arch/mips/ code, using arch/mips/generic/ instead. - Use device tree ranges instead of hardcoded addresses for ioremap. - Moved IRQ driver to drivers/irqchip/ - Removed reset handling code, will be replaced by device tree config. - All SoC family id code moved to new soc driver. - Header moved to realtek/ instead of mach-realtek/ - As more of the base system now depends on device tree, a sample dts for the Cisco SG220-26 switch is included. This will be further filled out, and bindings documented, as drivers get merged. Bert Vermeulen (5): dt-bindings: mips: Add support for RTL83xx SoC series Add support for Realtek RTL838x/RTL839x switch SoCs MIPS: Add Realtek RTL838x/RTL839x support as generic MIPS system dt-bindings: Add Cisco prefix to vendor list mips: dts: Add support for Cisco SG220-26 switch .../devicetree/bindings/mips/realtek-rtl.yaml | 24 ++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/mips/Kconfig | 31 ++++++++++ arch/mips/boot/dts/Makefile | 1 + arch/mips/boot/dts/realtek/Makefile | 2 + arch/mips/boot/dts/realtek/cisco_sg220-26.dts | 25 ++++++++ arch/mips/boot/dts/realtek/rtl838x.dtsi | 21 +++++++ arch/mips/boot/dts/realtek/rtl83xx.dtsi | 59 +++++++++++++++++++ 8 files changed, 165 insertions(+) create mode 100644 Documentation/devicetree/bindings/mips/realtek-rtl.yaml create mode 100644 arch/mips/boot/dts/realtek/Makefile create mode 100644 arch/mips/boot/dts/realtek/cisco_sg220-26.dts create mode 100644 arch/mips/boot/dts/realtek/rtl838x.dtsi create mode 100644 arch/mips/boot/dts/realtek/rtl83xx.dtsi -- 2.25.1