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
Question Hardware issues with Rock64 grobbs 11 1,823 07-24-2021, 10:23 AM
Last Post: robinkyle11
  Trustzone support for Rock64 capablegh 1 130 07-17-2021, 10:15 AM
Last Post: capablegh
  Python GPIO Library for the Rock64 (R64.GPIO) Leapo 37 39,532 07-02-2021, 03:20 PM
Last Post: klausfelix
  rock64, compile problems "illegal instruction", "memory fault" -> ddr_333Mhz? klausfelix 0 122 07-02-2021, 03:13 PM
Last Post: klausfelix
Information Serial Console for the Rock64 MarkHaysHarris777 33 31,188 06-24-2021, 12:24 PM
Last Post: mikeklien
  lost eletronic component rock64 marvin1986 1 371 06-01-2021, 06:27 PM
Last Post: 8bit
Shocked Rock64 - Reboots after few minutes addezai 2 512 04-22-2021, 07:03 PM
Last Post: addezai
  Rock64 Long Term stability ramprasad 4 2,027 03-16-2021, 07:23 PM
Last Post: Rocklobster
  Rock64 No Audio - Solved wbecks 11 15,640 03-15-2021, 03:15 PM
Last Post: lowry
  Safest way to send shutdown signal to headless Rock64 SMB server? bmurphr1 3 1,256 03-14-2021, 06:01 PM
Last Post: clach04

Forum Jump:


Users browsing this thread: 1 Guest(s)