Unverified Commit ef858821 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by GitHub
Browse files

Merge pull request #139 from Icenowy/v3s-spi

spi: add support for V3s SoC
parents 613e4bae b330eeb8
...@@ -154,6 +154,7 @@ static bool spi0_init(feldev_handle *dev) ...@@ -154,6 +154,7 @@ static bool spi0_init(feldev_handle *dev)
switch (soc_info->soc_id) { switch (soc_info->soc_id) {
case 0x1625: /* Allwinner A13 */ case 0x1625: /* Allwinner A13 */
case 0x1680: /* Allwinner H3 */ case 0x1680: /* Allwinner H3 */
case 0x1681: /* Allwinner V3s */
case 0x1718: /* Allwinner H5 */ case 0x1718: /* Allwinner H5 */
gpio_set_cfgpin(dev, PC, 0, SUNXI_GPC_SPI0); gpio_set_cfgpin(dev, PC, 0, SUNXI_GPC_SPI0);
gpio_set_cfgpin(dev, PC, 1, SUNXI_GPC_SPI0); gpio_set_cfgpin(dev, PC, 1, SUNXI_GPC_SPI0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment