Jump to content

Anneress

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Anneress

  1. Hello,

     

    I tried to use the power button on my Rock 4 C+ running Armbian 23.02.2 Bullseye with Linux 5.15.93-rockchip64. It is able to power off. But I can't boot up the controller.

    When I use the debian based radxa image the button works like expected.

     

    I found this at the rk3399-rock-4c-plus.dts of the radxa kernel.

     

    &rockchip_suspend {
    	status = "okay";
    	rockchip,sleep-debug-en = <1>;
    	rockchip,sleep-mode-config = <
    		(0
    		| RKPM_SLP_ARMPD
    		| RKPM_SLP_PERILPPD
    		| RKPM_SLP_DDR_RET
    		| RKPM_SLP_PLLPD
    		| RKPM_SLP_CENTER_PD
    		)
    	>;
    	rockchip,wakeup-config = <
    		(0
    		| RKPM_GPIO_WKUP_EN
    		| RKPM_PWM_WKUP_EN
    		| RKPM_USB_WKUP_EN
    		| RKPM_USB_LINESTATE_WKUP_EN
    		)
    	>;
    	rockchip,pwm-regulator-config = <
    		(0
    		| PWM2_REGULATOR_EN
    		)
    	>;
    	rockchip,power-ctrl =
    		<&gpio1 17 GPIO_ACTIVE_HIGH>,
    		<&gpio1 14 GPIO_ACTIVE_HIGH>,
    		<&gpio0 3 GPIO_ACTIVE_HIGH>;
    };

     

    I would test the overlay with current armbian build, but I doesn't  know where to place it. Maybe someone can help me here?

  2. Hi,

    I want to use a mcp2515 can controller over spi1 or 2.

     

    I read about internal flash is blocking the spi1.
     

    Can I use another Chipselect pin to use the spi1 with GPIO?

     

    Can you please give some advice where to start my research about overlays?

     

    What else do I need to activate? (core moduls, driver…)

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines