Skip to content

Commit 5d7d06e

Browse files
darkxstmmind
authored andcommitted
ARM: dts: rockchip: Add Sonoff iHost Smart Home Hub
Sonoff iHost is gateway device designed to provide a Smart Home Hub, it is based on Rockchip RV1126. There is also a version with 2GB RAM based off the RV1109 dual core SoC. Features: - Rockchip RV1126 - 4GB DDR4 - 8GB eMMC - microSD slot - RMII Ethernet PHY - 1x USB 2.0 Host - 1x USB 2.0 OTG - Realtek RTL8723DS WiFi/BT - EFR32MG21 Silabs Zigbee radio - Speaker/Microphone This patch adds the initial device tree for this device, it is largely based off the device trees for mainline Edgeble Neu2 and downstream Rockchip rv1126-evb-v13 configs. It has been adapted with relevant peripheral and GPIO pins for the iHost. Signed-off-by: Tim Lunn <tim@feathertop.org> Link: https://lore.kernel.org/r/20231203124004.2676174-8-tim@feathertop.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 56bde00 commit 5d7d06e

4 files changed

Lines changed: 456 additions & 0 deletions

File tree

arch/arm/boot/dts/rockchip/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
dtb-$(CONFIG_ARCH_ROCKCHIP) += \
33
rv1108-elgin-r1.dtb \
44
rv1108-evb.dtb \
5+
rv1109-sonoff-ihost.dtb \
56
rv1126-edgeble-neu2-io.dtb \
7+
rv1126-sonoff-ihost.dtb \
68
rk3036-evb.dtb \
79
rk3036-kylin.dtb \
810
rk3066a-bqcurie2.dtb \
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2020 Rockchip Electronics Co., Ltd.
4+
*/
5+
6+
/dts-v1/;
7+
#include "rv1109.dtsi"
8+
#include "rv1126-sonoff-ihost.dtsi"
9+
10+
/ {
11+
model = "Sonoff iHost 2G";
12+
compatible = "itead,sonoff-ihost", "rockchip,rv1109";
13+
};
14+
15+
&cpu0 {
16+
cpu-supply = <&vdd_arm>;
17+
};
18+
19+
&cpu1 {
20+
cpu-supply = <&vdd_arm>;
21+
};
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2020 Rockchip Electronics Co., Ltd.
4+
*/
5+
6+
/dts-v1/;
7+
#include "rv1126.dtsi"
8+
#include "rv1126-sonoff-ihost.dtsi"
9+
10+
/ {
11+
model = "Sonoff iHost 4G";
12+
compatible = "itead,sonoff-ihost", "rockchip,rv1126";
13+
};
14+
15+
&cpu0 {
16+
cpu-supply = <&vdd_arm>;
17+
};
18+
19+
&cpu1 {
20+
cpu-supply = <&vdd_arm>;
21+
};
22+
23+
&cpu2 {
24+
cpu-supply = <&vdd_arm>;
25+
};
26+
27+
&cpu3 {
28+
cpu-supply = <&vdd_arm>;
29+
};

0 commit comments

Comments
 (0)