SPI input is always 0 with BeagleBoneBlack Anstrom images

I am not sure, if someone else will see this, so maybe I’ll have to start a new Thread, but anyway I wanted to try it here first:
I have the same problem, like Alan had, I tryed setting the SCLK as an Input, but the problem is still there. i checked on an oscilloscope and every signal looks fine. Could someone please have a look at my .dts file, because I am quite new to DeviceTreeOverlay and not tottally sure, if there isn’t a mistake in it.

`

/dts-v1/;
/plugin/;

/ {
compatible = “ti,beaglebone”, “ti,beaglebone-black”;

/* identification */
part-number = “BB-SPI1-01”;

/* version */
version = “00A0”;

/* state the resources this cape uses /
exclusive-use =
/
the pin header uses */
“P9.31”,
“P9.29”,
“P9.30”,
“P9.28”,
// “P9.13”,
// “P9.12”,
“spi1”;

fragment@0 {
target = <&am33xx_pinmux>;
overlay {
pinctrl_spi1: pinctrl_spi1_pins {
pinctrl-single,pins = <
0x190 0x33 /* P9_31 = mcasp0_aclkx.spi1_sclk , INPUT_PULLUP | MODE3 /
0x194 0x33 /
P9_29 = mcasp0_fsx.spi1_d0 , INPUT_PULLUP | MODE3 /
0x198 0x13 /
P9_30 = mcasp0_axr0.spi1_d1 , OUTPUT_PULLUP | MODE3 /
0x19c 0x13 /
P9_28 = mcasp0_ahclkr.spi1_cs0 , OUTPUT_PULLUP | MODE3 /
// 0x164 0x12 /
P9_42 = GPIO0_7 = eCAP0_in_PWM0_out.gpio0[7] , OUTPUT_PULLUP | MODE2 */

;
};
};
};

fragment@1 {
target = <&spi1>;
overlay {
#address-cells = <1>;
#size-cells = <0>;
status = “okay”;
pinctrl-names = “default”;
pinctrl-0 = <&pinctrl_spi1>;
cs-gpios = <&gpio4 17 0>, <&gpio1 7 0>;

spi1_0{
#address-cells = <1>;
#size-cells = <0>;
compatible = “spidev”;
reg = <0>;
spi-max-frequency = <16000000>;
spi-cpha;
};
/spi1_1{
#address-cells = <1>;
#size-cells = <0>;
compatible = “spidev”;
reg = <1>;
spi-max-frequency = <16000000>;
// Mode 0 (CPOL = 0, CPHA = 0)
};
/
};
};
};

`

PS: I use spidev, if that does somehow matter

Rafael,

I’m not sure if this’ll help, but I got it working with this as my dts file (am335x-boneblack.dts)

`

/*

am335x-bone-common.dtsi (8.87 KB)

am33xx.dtsi (14.2 KB)

skeleton.dtsi (297 Bytes)