[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240705021520.2737568-1-chris.packham@alliedtelesis.co.nz>
Date: Fri, 5 Jul 2024 14:15:11 +1200
From: Chris Packham <chris.packham@...iedtelesis.co.nz>
To: tglx@...utronix.de,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
tsbogend@...ha.franken.de,
daniel.lezcano@...aro.org,
paulburton@...nel.org,
peterz@...radead.org,
mail@...ger-koblitz.de,
bert@...t.com,
john@...ozen.org,
sander@...nheule.net
Cc: linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
linux-mips@...r.kernel.org,
kabel@...nel.org,
ericwouds@...il.com,
Chris Packham <chris.packham@...iedtelesis.co.nz>
Subject: [PATCH v4 0/9] mips: Support for RTL9302C
This series adds basic support for the RTL9302C reference board. Currently the
focus is on the CPU block stuff. I hope to get around to the DSA switch driver
eventually but this is a small start that lets me boot a mainline kernel on the
board I have. I initialiy started with code from openwrt but have paired it
down to just the clocksource driver and devicetree.
The first two patches in this series are fixing some complaints from make
dtbs_check for some existing realtek dts files. They can be applied on their
own if desired.
Chris Packham (9):
mips: dts: realtek: use "serial" instead of "uart" in node name
mips: dts: realtek: add device_type property to cpu node
dt-bindings: vendor-prefixes: Add Cameo Communications
dt-bindings: mips: realtek: Add rtl930x-soc compatible
dt-bindings: timer: Add schema for realtek,otto-timer
dt-bindings: interrupt-controller: realtek,rtl-intc: Add rtl9300-intc
clocksource: realtek: Add timer driver for rtl-otto platforms
mips: generic: add fdt fixup for Realtek reference board
mips: dts: realtek: Add RTL9302C board
.../realtek,rtl-intc.yaml | 20 +-
.../devicetree/bindings/mips/realtek-rtl.yaml | 4 +
.../bindings/timer/realtek,otto-timer.yaml | 63 ++++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
arch/mips/boot/dts/realtek/Makefile | 1 +
.../cameo-rtl9302c-2x-rtl8224-2xge.dts | 73 +++++
arch/mips/boot/dts/realtek/rtl838x.dtsi | 1 +
arch/mips/boot/dts/realtek/rtl83xx.dtsi | 4 +-
arch/mips/boot/dts/realtek/rtl930x.dtsi | 79 +++++
arch/mips/generic/Makefile | 1 +
arch/mips/generic/board-realtek.c | 79 +++++
drivers/clocksource/Kconfig | 10 +
drivers/clocksource/Makefile | 1 +
drivers/clocksource/timer-rtl-otto.c | 291 ++++++++++++++++++
include/linux/cpuhotplug.h | 1 +
15 files changed, 627 insertions(+), 3 deletions(-)
create mode 100644 Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml
create mode 100644 arch/mips/boot/dts/realtek/cameo-rtl9302c-2x-rtl8224-2xge.dts
create mode 100644 arch/mips/boot/dts/realtek/rtl930x.dtsi
create mode 100644 arch/mips/generic/board-realtek.c
create mode 100644 drivers/clocksource/timer-rtl-otto.c
--
2.45.2
Powered by blists - more mailing lists