RFE for next ROCK64
#5
The SPI pins should be reworked:
  • Embedded SPI-NOR flash (GD25Q128) should stay on SPI "pin multiplex 2" to be boot compatible with u-boot DTS and bootable from internal BOOTROM without modification and NOT connected to pinheader. This is usable for booting and upgrading SPI-NOR flash from u-boot (and after multiplexer switch from linux). "pinheader/switch" from previous post to suppress CSN0 to embedded SPI-NOR flash is not needed.
    • CLK == spi2_clk == GPIO3_A0 == spi0m2_clk
    • MISO == spi2_rxd == GPIO3_A2 == spi0m2_rx
    • MOSI == spi2_txd == GPIO3_A1 == spi0m2_tx
    • CS == spi2_csn0 == GPIO3_B0 == spi0m2_cs0
  • SPI "pin multiplex 0" will be used in linux and connected to pinheader. This will also change linux DTS for Rock64 (rk3328-rock64.dts) (and probably routing data to switch multiplex back to zero must be added (check GRF_COM_IOMUX/grf_con_spi_io_sel in TRM)):
    Code:
    &spi0 {
        status = "okay";
        pinctrl-0 = <&spi0m0_clk &spi0m0_tx &spi0m0_rx &spi0m0_cs0 &spi0m0_cs1>;
        spidev@0 {
            compatible="rockchip,spidev";
            reg=<0>;
            spi-max-frequency=<50000000>;
        };
        spidev@1 {
            compatible="rockchip,spidev";
            reg=<1>;
            spi-max-frequency=<50000000>;
        };
    };
    • CLK == spi0_clk == GPIO2_B0 == spi0m0_clk == pin 23
    • MOSI == spi0_txd == GPIO2_B2 == spi0m0_tx == pin 19
    • MISO == spi0_rxd == GPIO2_B1 == spi0m0_rx == pin 21
    • CS0 == spi0_csn0 == GPIO2_B3 == spi0m0_cs0 == pin 24
    • CS1 == spi0_csn1 == GPIO2_B4 == spi0m0_cs1 == pin 26 (already routed)

Impossible. There are none of SPI multiplex 0 (GPIO2_B0-3) pins outside RK3328 chip with cheap BGA395 package ! Sad
I left this community in Aug 2019 due to PINE64 refusal to produce/deliver ROCK64-1G version 3 after more than one year of changing statuses to "planning", "evaluating", "releasing", "availability", "estimated availability" and finally "no schedule" Angry. ROCK64 is dead platform without any advantage. Buy Raspberry PI 4 !
Away


Messages In This Thread
RFE for next ROCK64 - by mcerveny - 07-06-2018, 04:19 PM
RE: RFE for next ROCK64 - by qux - 08-07-2018, 06:50 AM
RE: RFE for next ROCK64 - by tllim - 08-08-2018, 12:38 AM
RE: RFE for next ROCK64 - by qux - 08-08-2018, 06:13 AM
RE: RFE for next ROCK64 - by mcerveny - 08-18-2018, 02:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio @ Debian 12 dmitrymyadzelets 2 1,110 04-08-2024, 06:47 AM
Last Post: dmitrymyadzelets
  OpenWRT on the Rock64 CanadianBacon 14 10,771 04-03-2024, 08:48 AM
Last Post: helpmerock
  Rock64 bricked shawwwn 7 7,014 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 6,013 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 741 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 2,706 04-29-2023, 04:24 AM
Last Post: newestssd
  Rock64 board not working, no HDMI no Ethernet. EDited 3 4,284 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 2,963 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 1,054 11-28-2022, 02:18 PM
Last Post: Macgyver
  my rock64 dosen't work rookie_267 0 1,248 10-07-2022, 07:50 PM
Last Post: rookie_267

Forum Jump:


Users browsing this thread: 2 Guest(s)