Skip to content

Commit

Permalink
overlays: Fix miniuart-bt "krnbt" parameter
Browse files Browse the repository at this point in the history
Although superficially appealing, an overlay parameter that targets a
label in the base DTB is not currently supported. Instead it is
necessary to create a fragment targeting the label which is patched
by the parameter.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
  • Loading branch information
pelwell authored and popcornmix committed Jul 13, 2020
1 parent 02c7fb4 commit 9f0c698
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,13 @@
};
};

fragment@7 {
target = <&minibt>;
minibt_frag: __overlay__ {
};
};

__overrides__ {
krnbt = <&minibt>,"status";
krnbt = <&minibt_frag>,"status";
};
};

0 comments on commit 9f0c698

Please sign in to comment.