-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add th1520-lichee-cluster-4a dts support (8G/16G)
- Loading branch information
1 parent
14442bc
commit 51aed0c
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
dtb-$(CONFIG_ARCH_THEAD) += th1520-lichee-pi-4a.dtb th1520-beaglev-ahead.dtb | ||
dtb-$(CONFIG_ARCH_THEAD) += th1520-lichee-pi-4a-16g.dtb | ||
dtb-$(CONFIG_ARCH_THEAD) += th1520-lichee-cluster-4a.dtb th1520-lichee-cluster-4a-16g.dtb |
18 changes: 18 additions & 0 deletions
18
arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a-16g.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
/* | ||
* Copyright (C) 2024 NekoRouter <[email protected]> | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "th1520-lichee-cluster-4a.dts" | ||
|
||
/ { | ||
model = "Sipeed Lichee Cluster 4A 16G"; | ||
compatible = "sipeed,lichee-cluster-4a", "sipeed,lichee-module-4a", "thead,th1520"; | ||
|
||
memory@0 { | ||
device_type = "memory"; | ||
reg = <0x0 0x00000000 0x4 0x00000000>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// SPDX-License-Identifier: (GPL-2.0 OR MIT) | ||
/* | ||
* Copyright (C) 2024 NekoRouter <[email protected]> | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "th1520-lichee-pi-4a.dts" | ||
|
||
/ { | ||
model = "Sipeed Lichee Cluster 4A"; | ||
compatible = "sipeed,lichee-cluster-4a", "sipeed,lichee-module-4a", "thead,th1520"; | ||
|
||
/delete-node/ regulator-hub_5v; | ||
|
||
/delete-node/ regulator-vcc5v_usb; | ||
|
||
/delete-node/ regulator-hub_5v; | ||
|
||
/delete-node/ regulator-vcc5v_usb; | ||
|
||
/delete-node/ wireless-wlan; | ||
|
||
/delete-node/ wireless-bluetooth; | ||
|
||
/delete-node/ soc_wcn33_en; | ||
}; | ||
|
||
&i2c0 { | ||
status = "okay"; | ||
|
||
/delete-node/ gpio@18; | ||
}; | ||
|
||
&i2c3 { | ||
status = "okay"; | ||
|
||
/delete-node/ gpio@18; | ||
}; | ||
|
||
&usb_dwc3 { | ||
/delete-node/ hub@1; | ||
|
||
/delete-node/ hub@2; | ||
}; |