The Allwinner T113-s3 (sun8i) SoC features a dual-core Cortex-A7 ARM CPU and 128MB of DDR3 memory in the same physical package. It supports industrial temperature ranges. Most of the IP blocks are shared with the D1/D1s core. There are multiple variants of the SoC, which may vary in the included memory size, with some of them including a C906 RISC-V co-processor. Boards supported: - MangoPi MQDual T113 - wireless-only (RTL8723DS) - MYIR MYD-YT113 eMMC - 1Gbit ethernet (Motorcomm YT8531 PHY) - 4GByte eMMC - M.2-type slot for 4G/5G cards, plus 2x SIM slot - USB 2.0 ports - GPIO/I2C/SPI/CAN ports - FNLink 6131 (rtl8733bu) wifi module - MYIR MYD-YT113 SPI - Same as above but with 256Mbyte SPI-NAND flash instead of eMMC - Rongpin RP-T113 - 100Mbit ethernet (ICplus IP101GR PHY) - miniPCIe slot for 4G cards, plus 1x SIM slot - 3x USB 2.0 ports - RTL8723BS wireless - HYM8563 RTC - GPIO/I2C/SPI/CAN ports - Olimex T113-Olinuxino - 100Mbit ethernet (ICplus IP101GR) - UEXT connector (GPIO/I2C/SPI ports) - 1x USB 2.0 - audio jack, LEDC Installation: Use the standard sunxi installation to an SD-card. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
44 lines
1.0 KiB
Diff
44 lines
1.0 KiB
Diff
From: Zoltan HERPAI <wigyori@uid0.hu>
|
|
Subject: riscv: dts: allwinner: sunxi: add LED to Olinuxino T113
|
|
Date: Sun, 29 Oct 2023 16:26:59 -0500
|
|
|
|
Add LED controller support for the T113 Olinuxino, connected to PG13.
|
|
|
|
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
|
|
|
|
.../boot/dts/allwinner/sun20i-d1-lichee-rv-dock.dts | 12 ++++++++++++
|
|
arch/riscv/boot/dts/allwinner/sun20i-d1-nezha.dts | 13 +++++++++++++
|
|
2 files changed, 25 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/allwinner/sun8i-t113s-olinuxino.dts
|
|
+++ b/arch/arm/boot/dts/allwinner/sun8i-t113s-olinuxino.dts
|
|
@@ -145,6 +145,11 @@
|
|
vcc-pe-supply = <®_avdd2v8>;
|
|
vcc-pf-supply = <®_3v3>;
|
|
vcc-pg-supply = <®_3v3>;
|
|
+
|
|
+ ledc_pg13_pin: ledc-pg13-pin {
|
|
+ pins = "PG13";
|
|
+ function = "ledc";
|
|
+ };
|
|
};
|
|
|
|
®_usb1_vbus {
|
|
@@ -208,3 +213,16 @@
|
|
spi-max-frequency = <40000000>;
|
|
};
|
|
};
|
|
+
|
|
+&ledc {
|
|
+ pinctrl-0 = <&ledc_pg13_pin>;
|
|
+ pinctrl-names = "default";
|
|
+ status = "okay";
|
|
+
|
|
+ multi-led@0 {
|
|
+ reg = <0x0>;
|
|
+ color = <LED_COLOR_ID_RGB>;
|
|
+ function = LED_FUNCTION_STATUS;
|
|
+ };
|
|
+};
|
|
+
|