mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-31 23:32:17 +00:00
28 lines
595 B
Plaintext
28 lines
595 B
Plaintext
|
/dts-v1/;
|
||
|
/plugin/;
|
||
|
|
||
|
/* Pi3 uses a GPIO expander to drive the LEDs which can only be accessed
|
||
|
from the VPU. There is a special driver for this with a separate DT node,
|
||
|
which has the unfortunate consequence of breaking the act_led_gpio and
|
||
|
act_led_activelow dtparams.
|
||
|
|
||
|
This overlay changes the GPIO controller back to the standard one and
|
||
|
restores the dtparams.
|
||
|
*/
|
||
|
|
||
|
/{
|
||
|
compatible = "brcm,bcm2835";
|
||
|
|
||
|
fragment@0 {
|
||
|
target = <&act_led>;
|
||
|
frag0: __overlay__ {
|
||
|
gpios = <&gpio 0 0>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
__overrides__ {
|
||
|
gpio = <&frag0>,"gpios:4";
|
||
|
activelow = <&frag0>,"gpios:8";
|
||
|
};
|
||
|
};
|