Skip to content

Commit 58f127a

Browse files
committed
change space to tabs
Signed-off-by: Cavon Lee <[email protected]>
1 parent 6174ae4 commit 58f127a

File tree

2 files changed

+63
-63
lines changed

2 files changed

+63
-63
lines changed

arch/arm/boot/dts/overlays/sunfounder-pipower3-overlay.dts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
/plugin/;
33

44
/ {
5-
compatible = "brcm,bcm2835";
5+
compatible = "brcm,bcm2835";
66

7-
fragment@0 {
8-
target-path = "/chosen";
9-
__overlay__ {
10-
power: power {
11-
hat_current_supply = <5000>;
12-
};
13-
};
14-
};
15-
fragment@1 {
16-
target = <&i2c1>;
17-
__overlay__ {
18-
status = "okay";
19-
};
20-
};
21-
fragment@2 {
7+
fragment@0 {
8+
target-path = "/chosen";
9+
__overlay__ {
10+
power: power {
11+
hat_current_supply = <5000>;
12+
};
13+
};
14+
};
15+
fragment@1 {
16+
target = <&i2c1>;
17+
__overlay__ {
18+
status = "okay";
19+
};
20+
};
21+
fragment@2 {
2222
target-path = "/";
2323
__overlay__ {
2424
power_ctrl: power_ctrl {
@@ -28,16 +28,16 @@
2828
};
2929
};
3030
};
31-
fragment@3 {
31+
fragment@3 {
3232
target = <&gpio>;
3333
__overlay__ {
3434
power_ctrl_pins: power_ctrl_pins {
3535
brcm,pins = <26>;
3636
brcm,function = <1>; // out
3737
};
3838
};
39-
};
40-
__overrides__ {
41-
poweroff_pin = <&power_ctrl>,"gpios:4",<&power_ctrl_pins>,"brcm,pins:0";
42-
};
39+
};
40+
__overrides__ {
41+
poweroff_pin = <&power_ctrl>,"gpios:4",<&power_ctrl_pins>,"brcm,pins:0";
42+
};
4343
};

arch/arm/boot/dts/overlays/sunfounder-pironman5-overlay.dts

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,50 @@
22
/plugin/;
33

44
/ {
5-
compatible = "brcm,bcm2835";
5+
compatible = "brcm,bcm2835";
66

7-
fragment@0 {
8-
target = <&i2c1>;
9-
__overlay__ {
10-
status = "okay";
11-
};
12-
};
13-
fragment@1 {
14-
target = <&spi0>;
15-
__overlay__ {
16-
status = "okay";
17-
};
18-
};
19-
fragment@2 {
20-
target-path = "/";
21-
__overlay__ {
22-
gpio_ir: ir-receiver@d {
23-
compatible = "gpio-ir-receiver";
24-
pinctrl-names = "default";
25-
pinctrl-0 = <&gpio_ir_pins>;
7+
fragment@0 {
8+
target = <&i2c1>;
9+
__overlay__ {
10+
status = "okay";
11+
};
12+
};
13+
fragment@1 {
14+
target = <&spi0>;
15+
__overlay__ {
16+
status = "okay";
17+
};
18+
};
19+
fragment@2 {
20+
target-path = "/";
21+
__overlay__ {
22+
gpio_ir: ir-receiver@d {
23+
compatible = "gpio-ir-receiver";
24+
pinctrl-names = "default";
25+
pinctrl-0 = <&gpio_ir_pins>;
2626

27-
// pin number, high or low
28-
gpios = <&gpio 13 1>;
27+
// pin number, high or low
28+
gpios = <&gpio 13 1>;
2929

30-
// parameter for keymap name
31-
linux,rc-map-name = "rc-rc6-mce";
30+
// parameter for keymap name
31+
linux,rc-map-name = "rc-rc6-mce";
3232

33-
status = "okay";
34-
};
35-
};
36-
};
37-
fragment@3 {
38-
target = <&gpio>;
39-
__overlay__ {
40-
gpio_ir_pins: gpio_ir_pins@d {
41-
brcm,pins = <13>;
42-
brcm,function = <0>;
43-
brcm,pull = <2>;
44-
};
45-
};
46-
};
47-
__overrides__ {
48-
ir = <&gpio_ir>,"status";
49-
ir_pins = <&gpio_ir>,"gpios:4", <&gpio_ir>,"reg:0", <&gpio_ir_pins>,"brcm,pins:0", <&gpio_ir_pins>,"reg:0";
50-
};
33+
status = "okay";
34+
};
35+
};
36+
};
37+
fragment@3 {
38+
target = <&gpio>;
39+
__overlay__ {
40+
gpio_ir_pins: gpio_ir_pins@d {
41+
brcm,pins = <13>;
42+
brcm,function = <0>;
43+
brcm,pull = <2>;
44+
};
45+
};
46+
};
47+
__overrides__ {
48+
ir = <&gpio_ir>,"status";
49+
ir_pins = <&gpio_ir>,"gpios:4", <&gpio_ir>,"reg:0", <&gpio_ir_pins>,"brcm,pins:0", <&gpio_ir_pins>,"reg:0";
50+
};
5151
};

0 commit comments

Comments
 (0)