-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: rockchip: Add support for Khadas Edge/Edge-V/Captain boards
Add devicetree support for Khadas Edge/Edge-V/Captain boards. Khadas Edge is an expandable Rockchip RK3399 board with goldfinger. Khadas Captain is the carrier board for Khadas Edge. Khadas Edge-V is a Khadas VIM form factor Rockchip RK3399 board. Signed-off-by: Nick Xie <nick@khadas.com> [edge-captain and edge-v contain different components that are supposed to get added in future patches, so should stay separate while looking somewhat similar right now] Signed-off-by: Heiko Stuebner <heiko@sntech.de>
- Loading branch information
Showing
6 changed files
with
882 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
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
27 changes: 27 additions & 0 deletions
27
arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-captain.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,27 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
* Copyright (c) 2019 Shenzhen Wesion Technology Co., Ltd. | ||
* (https://www.khadas.com) | ||
*/ | ||
|
||
/dts-v1/; | ||
#include "rk3399-khadas-edge.dtsi" | ||
|
||
/ { | ||
model = "Khadas Edge-Captain"; | ||
compatible = "khadas,edge-captain", "rockchip,rk3399"; | ||
}; | ||
|
||
&gmac { | ||
status = "okay"; | ||
}; | ||
|
||
&pcie_phy { | ||
status = "okay"; | ||
}; | ||
|
||
&pcie0 { | ||
ep-gpios = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; | ||
num-lanes = <4>; | ||
status = "okay"; | ||
}; |
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,27 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
* Copyright (c) 2019 Shenzhen Wesion Technology Co., Ltd. | ||
* (https://www.khadas.com) | ||
*/ | ||
|
||
/dts-v1/; | ||
#include "rk3399-khadas-edge.dtsi" | ||
|
||
/ { | ||
model = "Khadas Edge-V"; | ||
compatible = "khadas,edge-v", "rockchip,rk3399"; | ||
}; | ||
|
||
&gmac { | ||
status = "okay"; | ||
}; | ||
|
||
&pcie_phy { | ||
status = "okay"; | ||
}; | ||
|
||
&pcie0 { | ||
ep-gpios = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; | ||
num-lanes = <4>; | ||
status = "okay"; | ||
}; |
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,13 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
* Copyright (c) 2019 Shenzhen Wesion Technology Co., Ltd. | ||
* (https://www.khadas.com) | ||
*/ | ||
|
||
/dts-v1/; | ||
#include "rk3399-khadas-edge.dtsi" | ||
|
||
/ { | ||
model = "Khadas Edge"; | ||
compatible = "khadas,edge", "rockchip,rk3399"; | ||
}; |
Oops, something went wrong.