spacemit: overlays: use the &label form
Some checks are pending
Infrastructure: Dispatch to fork / 📢 Run repository dispatch on fork (push) Waiting to run
Infrastructure: Mirror to Codeberg / codeberg (push) Waiting to run
Maintenance: Label merge conflicts / Needs rebase (push) Waiting to run
Maintenance: Security scan / Scorecards analysis (push) Waiting to run

Rewrite the 13 overlays of spacemit-6.6 and of spacemit-6.18 from
fragment@N { target = <&x>; __overlay__ { ... }; }; to &x { ... };
as in mainline.

Each .dtbo is unchanged: cpp + dtc -@, decompiled with -s, compares
equal before and after. kernel-dtb for bananapif3, legacy and current:
all 44 .dtb, .dtbo and .scr files are byte-identical to the build
before the rename.
This commit is contained in:
Igor Velkov 2026-11-26 20:01:27 +02:00
parent 9f4b813b5a
commit 2604999cff
26 changed files with 216 additions and 402 deletions

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&flexcan0>;
__overlay__ {
status = "okay";
};
};
};
&flexcan0 {
status = "okay";
};

View file

@ -3,74 +3,44 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&backsensor>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&ccic0>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&ccic1>;
__overlay__ {
status = "okay";
};
};
fragment@3 {
target = <&ccic2>;
__overlay__ {
status = "okay";
};
};
fragment@4 {
target = <&cpp>;
__overlay__ {
status = "okay";
};
};
fragment@5 {
target = <&csiphy0>;
__overlay__ {
status = "okay";
};
};
fragment@6 {
target = <&csiphy2>;
__overlay__ {
status = "okay";
};
};
fragment@7 {
target = <&frontsensor>;
__overlay__ {
status = "okay";
};
};
fragment@8 {
target = <&isp>;
__overlay__ {
status = "okay";
};
};
fragment@9 {
target = <&vi>;
__overlay__ {
status = "okay";
};
};
};
&backsensor {
status = "okay";
};
&ccic0 {
status = "okay";
};
&ccic1 {
status = "okay";
};
&ccic2 {
status = "okay";
};
&cpp {
status = "okay";
};
&csiphy0 {
status = "okay";
};
&csiphy2 {
status = "okay";
};
&frontsensor {
status = "okay";
};
&isp {
status = "okay";
};
&vi {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&i2c3>;
__overlay__ {
status = "okay";
};
};
};
&i2c3 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&i2c4>;
__overlay__ {
status = "okay";
};
};
};
&i2c4 {
status = "okay";
};

View file

@ -6,28 +6,16 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&dpu_online2_dsi>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&dsi2>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&touchscreen>;
__overlay__ {
status = "okay";
};
};
};
&dpu_online2_dsi {
status = "okay";
};
&dsi2 {
status = "okay";
};
&touchscreen {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&pwm7>;
__overlay__ {
status = "okay";
};
};
};
&pwm7 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&rpwm9>;
__overlay__ {
status = "okay";
};
};
};
&rpwm9 {
status = "okay";
};

View file

@ -3,11 +3,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&qspi>;
__overlay__ {
status = "disabled";
};
};
};
&qspi {
status = "disabled";
};

View file

@ -6,32 +6,20 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&i2c4>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&pwm7>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&spi3>;
__overlay__ {
status = "okay";
};
};
fragment@3 {
target = <&uart5>;
__overlay__ {
status = "okay";
};
};
};
&i2c4 {
status = "okay";
};
&pwm7 {
status = "okay";
};
&spi3 {
status = "okay";
};
&uart5 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&spi3>;
__overlay__ {
status = "okay";
};
};
};
&spi3 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&uart5>;
__overlay__ {
status = "okay";
};
};
};
&uart5 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&uart8>;
__overlay__ {
status = "okay";
};
};
};
&uart8 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&uart9>;
__overlay__ {
status = "okay";
};
};
};
&uart9 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&flexcan0>;
__overlay__ {
status = "okay";
};
};
};
&flexcan0 {
status = "okay";
};

View file

@ -3,74 +3,44 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&backsensor>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&ccic0>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&ccic1>;
__overlay__ {
status = "okay";
};
};
fragment@3 {
target = <&ccic2>;
__overlay__ {
status = "okay";
};
};
fragment@4 {
target = <&cpp>;
__overlay__ {
status = "okay";
};
};
fragment@5 {
target = <&csiphy0>;
__overlay__ {
status = "okay";
};
};
fragment@6 {
target = <&csiphy2>;
__overlay__ {
status = "okay";
};
};
fragment@7 {
target = <&frontsensor>;
__overlay__ {
status = "okay";
};
};
fragment@8 {
target = <&isp>;
__overlay__ {
status = "okay";
};
};
fragment@9 {
target = <&vi>;
__overlay__ {
status = "okay";
};
};
};
&backsensor {
status = "okay";
};
&ccic0 {
status = "okay";
};
&ccic1 {
status = "okay";
};
&ccic2 {
status = "okay";
};
&cpp {
status = "okay";
};
&csiphy0 {
status = "okay";
};
&csiphy2 {
status = "okay";
};
&frontsensor {
status = "okay";
};
&isp {
status = "okay";
};
&vi {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&i2c3>;
__overlay__ {
status = "okay";
};
};
};
&i2c3 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&i2c4>;
__overlay__ {
status = "okay";
};
};
};
&i2c4 {
status = "okay";
};

View file

@ -6,28 +6,16 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&dpu_online2_dsi>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&dsi2>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&touchscreen>;
__overlay__ {
status = "okay";
};
};
};
&dpu_online2_dsi {
status = "okay";
};
&dsi2 {
status = "okay";
};
&touchscreen {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&pwm7>;
__overlay__ {
status = "okay";
};
};
};
&pwm7 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&rpwm9>;
__overlay__ {
status = "okay";
};
};
};
&rpwm9 {
status = "okay";
};

View file

@ -3,11 +3,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&qspi>;
__overlay__ {
status = "disabled";
};
};
};
&qspi {
status = "disabled";
};

View file

@ -6,32 +6,20 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&i2c4>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&pwm7>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&spi3>;
__overlay__ {
status = "okay";
};
};
fragment@3 {
target = <&uart5>;
__overlay__ {
status = "okay";
};
};
};
&i2c4 {
status = "okay";
};
&pwm7 {
status = "okay";
};
&spi3 {
status = "okay";
};
&uart5 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&spi3>;
__overlay__ {
status = "okay";
};
};
};
&spi3 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&uart5>;
__overlay__ {
status = "okay";
};
};
};
&uart5 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&uart8>;
__overlay__ {
status = "okay";
};
};
};
&uart8 {
status = "okay";
};

View file

@ -6,12 +6,8 @@
/ {
compatible = "spacemit,k1-x";
fragment@0 {
target = <&uart9>;
__overlay__ {
status = "okay";
};
};
};
&uart9 {
status = "okay";
};