forked from radxa-pkg/radxa-overlays
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update some overlays for radxa cm5 io
Signed-off-by: Ken Wang <[email protected]>
- Loading branch information
Showing
5 changed files
with
115 additions
and
16 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
92 changes: 92 additions & 0 deletions
92
arch/arm64/boot/dts/rockchip/overlays/radxa-cm5-io-allnet-5inch-display.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,92 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/interrupt-controller/irq.h> | ||
#include <dt-bindings/gpio/gpio.h> | ||
#include <dt-bindings/pinctrl/rockchip.h> | ||
|
||
/ { | ||
metadata { | ||
title = "Enable ALLNET 5inch DSI Display on DSI0"; | ||
compatible = "radxa,cm5-io"; | ||
category = "display"; | ||
exclusive = "dsi0"; | ||
description = "Enable ALLNET 5inch DSI Display on DSI0."; | ||
}; | ||
}; | ||
|
||
&dsi0 { | ||
status = "okay"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
rockchip,lane-rate = <605>; | ||
|
||
dsi0_panel: dsi-panel@0 { | ||
compatible = "raspits,tc358762-5inch"; | ||
reg = <0x0>; | ||
status = "okay"; | ||
|
||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
port@0 { | ||
reg = <0>; | ||
panel_in_dsi0: endpoint { | ||
remote-endpoint = <&dsi0_out_panel>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
port@1 { | ||
reg = <1>; | ||
dsi0_out_panel: endpoint { | ||
remote-endpoint = <&panel_in_dsi0>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
&i2c7 { | ||
status = "okay"; | ||
pinctrl-0 = <&i2c7m2_xfer>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
raspits_ft5426: raspits_ft5426@38 { | ||
compatible = "raspits_ft5426"; | ||
reg = <0x38>; | ||
}; | ||
|
||
chipone_icn8952: chipone_icn8952@30 { | ||
compatible = "chipone_icn8505"; | ||
reg = <0x30>; | ||
}; | ||
|
||
rockpi_mcu: rockpi-mcu@45 { | ||
compatible = "rockpi_mcu"; | ||
reg = <0x45>; | ||
}; | ||
}; | ||
|
||
&mipi_dcphy0 { | ||
status = "okay"; | ||
}; | ||
|
||
&route_dsi0 { | ||
status = "okay"; | ||
connect = <&vp3_out_dsi0>; | ||
}; | ||
|
||
&dsi0_in_vp2 { | ||
status = "disabled"; | ||
}; | ||
|
||
&dsi0_in_vp3 { | ||
status = "okay"; | ||
}; |
12 changes: 12 additions & 0 deletions
12
arch/arm64/boot/dts/rockchip/overlays/radxa-cm5-io-dwc3-host.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,12 @@ | ||
#include "rk3588-dwc3-host.dts" | ||
|
||
/ { | ||
metadata { | ||
compatible = "radxa,cm5-io"; | ||
}; | ||
}; | ||
|
||
&vbus5v0_typec { | ||
regulator-always-on; | ||
regulator-boot-on; | ||
}; |
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