mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Clockwork Tech manufactures several SoMs for their RasPi CM3-compatible "ClockworkPi" mainboard. Their R-01 SoM features the Allwinner D1 SoC. The R-01 contains only the CPU, DRAM, and always-on voltage regulation; it does not merit a separate devicetree. The ClockworkPi mainboard features analog audio, a MIPI-DSI panel, USB host and peripheral ports, an Ampak AP6256 WiFi/Bluetooth module, and an X-Powers AXP228 PMIC for managing a Li-ion battery. The DevTerm is a complete system which extends the ClockworkPi mainboard with a MIPI-DSI panel and a pair of expansion boards. These expansion boards provide a fan, a USB keyboard, speakers, and a thermal printer. Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20240622150731.1105901-4-wens@kernel.org Signed-off-by: Chen-Yu Tsai <wens@csie.org>
36 lines
951 B
Text
36 lines
951 B
Text
// SPDX-License-Identifier: (GPL-2.0+ or MIT)
|
|
// Copyright (C) 2022 Samuel Holland <samuel@sholland.org>
|
|
|
|
#include "sun20i-d1-clockworkpi-v3.14.dts"
|
|
|
|
/ {
|
|
model = "Clockwork DevTerm (R-01)";
|
|
compatible = "clockwork,r-01-devterm-v3.14",
|
|
"clockwork,r-01-clockworkpi-v3.14",
|
|
"allwinner,sun20i-d1";
|
|
|
|
fan {
|
|
compatible = "gpio-fan";
|
|
gpios = <&pio 3 10 GPIO_ACTIVE_HIGH>; /* PD10/GPIO41 */
|
|
gpio-fan,speed-map = <0 0>,
|
|
<6000 1>;
|
|
#cooling-cells = <2>;
|
|
};
|
|
|
|
i2c-gpio-0 {
|
|
compatible = "i2c-gpio";
|
|
sda-gpios = <&pio 3 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PD14/GPIO44 */
|
|
scl-gpios = <&pio 3 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PD15/GPIO45 */
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
adc@54 {
|
|
compatible = "ti,adc101c";
|
|
reg = <0x54>;
|
|
interrupt-parent = <&pio>;
|
|
interrupts = <4 12 IRQ_TYPE_LEVEL_LOW>; /* PE12/GPIO35 */
|
|
vref-supply = <®_dldo2>;
|
|
#io-channel-cells = <1>;
|
|
};
|
|
};
|
|
};
|