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.
Merge pull request radxa-pkg#195 from Radxa-Alvin/main
add radxa zero3 disabled wireless and ethernet overlay
- Loading branch information
Showing
3 changed files
with
72 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
31 changes: 31 additions & 0 deletions
31
arch/arm64/boot/dts/rockchip/overlays/radxa-zero3-disabled-ethernet.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,31 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/gpio/gpio.h> | ||
#include <dt-bindings/pinctrl/rockchip.h> | ||
|
||
|
||
/ { | ||
metadata { | ||
title = "Disabled Zero 3W Ethernet"; | ||
compatible = "radxa,zero3"; | ||
category = "misc"; | ||
description = "Disabled Zero 3W Ethernet."; | ||
}; | ||
|
||
fragment@0 { | ||
target = <&mdio1>; | ||
|
||
__overlay__ { | ||
status = "disabled"; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&gmac1>; | ||
|
||
__overlay__ { | ||
status = "disabled"; | ||
}; | ||
}; | ||
}; |
39 changes: 39 additions & 0 deletions
39
arch/arm64/boot/dts/rockchip/overlays/radxa-zero3-disabled-wireless.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,39 @@ | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
#include <dt-bindings/gpio/gpio.h> | ||
#include <dt-bindings/pinctrl/rockchip.h> | ||
|
||
|
||
/ { | ||
metadata { | ||
title = "Disabled Zero 3E Wireless"; | ||
compatible = "radxa,zero3"; | ||
category = "misc"; | ||
description = "Disabled Zero 3E Wireless."; | ||
}; | ||
|
||
fragment@0 { | ||
target = <&uart1>; | ||
|
||
__overlay__ { | ||
status = "disabled"; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&wireless_wlan>; | ||
|
||
__overlay__ { | ||
status = "disabled"; | ||
}; | ||
}; | ||
|
||
fragment@2 { | ||
target = <&sdio_pwrseq>; | ||
|
||
__overlay__ { | ||
status = "disabled"; | ||
}; | ||
}; | ||
}; |