Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2639055pxb; Tue, 19 Jan 2021 02:14:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3mpJTvQ5EWWxXeYXDHOhplJluK5nXM98DQfKJObEo3aLEoVH+v6tK+zEA7BafgbIytBRd X-Received: by 2002:a05:6402:524f:: with SMTP id t15mr948838edd.158.1611051258655; Tue, 19 Jan 2021 02:14:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611051258; cv=none; d=google.com; s=arc-20160816; b=f+M1jj+DqmsESK9XNna8sSSZZAvsBRQn3CTNVgiAuYNU5E71BNaxAhjACJTirrGoxe 7hZodtvetjXX931WDUtlzeTCV5neBPfVlFiHXsXI4Zf+byXmj3iKv/6+2kH7WHdLLW8b Mylsr27J60iH7hSFkJGfo1dbVaFIkuPP4U2msxrvUo6tRKQ/WPGzOsH15XXUURZOjgkE mQPxmXMI3nw3k0a0MkxsMK2zMh/u6Pw9mTFEx+pAQozar+KLJbqwISxo/+3siSSqPpo4 8JLkOOXy5EHBlugUQSDlpMfNtuwjYwXPZs9N4lUQzBjRkz+CAP8hS72mklNAjlxYh+cC g2CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=mQ0HU5O6OX5KvB0tyqLiOJzTGOUbzfipo2Te6JML9SM=; b=sBekvdKPl239gpxe+E1cQwjS/G8ACC/ExNcCEQefO3QkoPisYTBKdZYgRaU1CKYFMA 3a5IcU3tb1oFyATMqWcWmZfsmt9+dCSeTiv8vCv1OQUrdYlNJHwLInarEFtFxC6j24V8 kGV7mosV5xqCfeHtnjVLKlTRttRfsNBdiqAcAXFabUxr/ULRdWAHGe1xLa/4SUpXA8g5 xqQRCrRaCjGxh76KxnyTqFkDTB6QJlq2umwdnvPcGrnV3v6f27U4XJaPy4p0UYLuScPR xWVTFwln56eO/dv5tYJpykNyqFhTJQTfpTkuIJzqXo0kWNFLuK1A+QoHJ2U0dL3xipjB f11A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr22si477718ejc.388.2021.01.19.02.13.47; Tue, 19 Jan 2021 02:14:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388182AbhASJqE (ORCPT + 99 others); Tue, 19 Jan 2021 04:46:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732626AbhASJXO (ORCPT ); Tue, 19 Jan 2021 04:23:14 -0500 Received: from yawp.biot.com (yawp.biot.com [IPv6:2a01:4f8:10a:8e::fce2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17C7CC06179C for ; Tue, 19 Jan 2021 01:21:55 -0800 (PST) Received: from debian-spamd by yawp.biot.com with sa-checked (Exim 4.93) (envelope-from ) id 1l1nCu-00EDwv-SR for linux-kernel@vger.kernel.org; Tue, 19 Jan 2021 10:21:53 +0100 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on yawp X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.4 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-kernel@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