Skip to content

Commit 97dc6fc

Browse files
committed
Change sclk to input
1 parent 7e1f6d0 commit 97dc6fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

overlays/ADAFRUIT-SPI0-00-00A0.dts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
__overlay__ {
2424
spi0_pins_s0: spi0_pins_s0 {
2525
pinctrl-single,pins = <
26-
0x150 0x10 /* spi0_sclk, OUTPUT_PULLUP | MODE0 */
26+
0x150 0x30 /* spi0_sclk, INPUT_PULLUP | MODE0 */
2727
0x154 0x30 /* spi0_d0, INPUT_PULLUP | MODE0 */
2828
0x158 0x10 /* spi0_d1, OUTPUT_PULLUP | MODE0 */
2929
0x15c 0x10 /* spi0_cs0, OUTPUT_PULLUP | MODE0 */
@@ -43,9 +43,11 @@
4343
pinctrl-0 = <&spi0_pins_s0>;
4444

4545
spidev@1 {
46+
#address-cells = <1>;
47+
#size-cells = <0>;
4648
spi-max-frequency = <24000000>;
4749
reg = <0>;
48-
compatible = "spidev";
50+
compatible = "linux,spidev";
4951
};
5052
};
5153
};

0 commit comments

Comments
 (0)