beagleboard / linux

The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux
http://beagleboard.org/source
Other
715 stars 566 forks source link

PocketBeagle devicetree conflict(?) between P1_31 and mmc0_sdwp #223

Closed ikarso closed 4 years ago

ikarso commented 4 years ago

According to the SRM & schematics the P1_31 are connected to PRU0.4 / ZCZ B12. But in the device tree for Linux kernel 5.4 the MMC0 has also a reference to the ZCZ B12 pin Line 91: AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKR, PIN_INPUT, MUX_MODE4) / (B12) mcasp0_aclkr.mmc0_sdwp /

https://github.com/beagleboard/linux/blob/5.4/arch/arm/boot/dts/am335x-pocketbeagle.dts

Is it any point to have the SD Write protect exposed on the header? On the Techlab cape the P1_31 are connected to MMA8453Q interrupt line2 and will be a little pain in the accelerator overlay to free the pin on the mmc0.

RobertCNelson commented 4 years ago

@ikarso, Yeah we rip it out:

https://github.com/beagleboard/BeagleBoard-DeviceTrees/commit/0ecfcfdfba3268708a0293a86b04bcd397cf1530

If you want to submit it mainline go ahead, i got behind on things so i didn't..

Regards,

pdp7 commented 4 years ago

@ikarso @RobertCNelson I see it is still there in mainline: https://elixir.bootlin.com/linux/latest/source/arch/arm/boot/dts/am335x-pocketbeagle.dts#L91

I'll submit https://github.com/beagleboard/BeagleBoard-DeviceTrees/commit/0ecfcfdfba3268708a0293a86b04bcd397cf1530 to the devicetree mailing list

pdp7 commented 4 years ago

I've posted the patch: [PATCH V2] ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect