[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250321134633.2155141-1-cjd@cjdns.fr>
Date: Fri, 21 Mar 2025 13:46:25 +0000
From: Caleb James DeLisle <cjd@...ns.fr>
To: linux-mips@...r.kernel.org
Cc: Thomas Gleixner <tglx@...utronix.de>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
benjamin.larsson@...exis.eu,
Caleb James DeLisle <cjd@...ns.fr>
Subject: [PATCH v1 0/8] Add EcoNet EN751221 MIPS platform support
EcoNet MIPS SoCs are big endian machines based on 34Kc and 1004Kc
processors. They are found in xDSL and xPON modems, and contain PCM
(VoIP), Ethernet, USB, GPIO, I2C, SPI (Flash), UART, and PCIe.
The EcoNet MIPS SoCs are divided broadly into two families, the
EN751221 family based on the 34Kc, and the EN751627 family based on
the 1004Kc. Individual SoCs within a family are roughly the same, but
with different peripherals.
This patchset adds very basic "boots to a console" support for the
EN751221 family. EN751627 support and additional drivers will come in
a future patchset.
Note that while EcoNet is similar to Airoha (AN7513, AN7581) in terms
of peripherals, it is different because Airoha is based on ARM.
This patchset is against mips-next.
Caleb James DeLisle (8):
dt-bindings: vendor-prefixes: Add EcoNet
dt-bindings: interrupt-controller: Add EcoNet EN751221 INTC
irqchip: Add EcoNet EN751221 INTC
dt-bindings: timer: Add EcoNet HPT CPU Timer
clocksource/drivers: Add EcoNet Timer HPT driver
dt-bindings: mips: Add EcoNet platform binding
mips: Add EcoNet MIPS platform support
MAINTAINERS: Add EcoNet MIPS platform entry
.../econet,en751221-intc.yaml | 77 +++++
.../devicetree/bindings/mips/econet.yaml | 27 ++
.../bindings/timer/econet,timer-hpt.yaml | 58 ++++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 12 +
arch/mips/Kbuild.platforms | 1 +
arch/mips/Kconfig | 25 ++
arch/mips/boot/compressed/uart-16550.c | 5 +
arch/mips/boot/dts/Makefile | 1 +
arch/mips/boot/dts/econet/Makefile | 2 +
arch/mips/boot/dts/econet/en751221.dtsi | 62 ++++
.../boot/dts/econet/en751221_test_image.dts | 19 ++
arch/mips/econet/Kconfig | 42 +++
arch/mips/econet/Makefile | 2 +
arch/mips/econet/Platform | 5 +
arch/mips/econet/init.c | 78 +++++
drivers/clocksource/Kconfig | 8 +
drivers/clocksource/Makefile | 1 +
drivers/clocksource/timer-econet-hpt.c | 221 ++++++++++++++
drivers/irqchip/Kconfig | 5 +
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-econet-en751221.c | 280 ++++++++++++++++++
22 files changed, 934 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/econet,en751221-intc.yaml
create mode 100644 Documentation/devicetree/bindings/mips/econet.yaml
create mode 100644 Documentation/devicetree/bindings/timer/econet,timer-hpt.yaml
create mode 100644 arch/mips/boot/dts/econet/Makefile
create mode 100644 arch/mips/boot/dts/econet/en751221.dtsi
create mode 100644 arch/mips/boot/dts/econet/en751221_test_image.dts
create mode 100644 arch/mips/econet/Kconfig
create mode 100644 arch/mips/econet/Makefile
create mode 100644 arch/mips/econet/Platform
create mode 100644 arch/mips/econet/init.c
create mode 100644 drivers/clocksource/timer-econet-hpt.c
create mode 100644 drivers/irqchip/irq-econet-en751221.c
--
2.30.2
Powered by blists - more mailing lists