lkml.org 
[lkml]   [2021]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v6 6/8] arm: dts: rockchip: Add SFC to RV1108
    Date
    From: Chris Morgan <macromorgan@hotmail.com>

    Add a devicetree entry for the Rockchip SFC for the RV1108 SOC.

    Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
    Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
    ---

    Changes in v6: None
    Changes in v5: None
    Changes in v4: None
    Changes in v3: None
    Changes in v2: None
    Changes in v1: None

    arch/arm/boot/dts/rv1108.dtsi | 37 +++++++++++++++++++++++++++++++++++
    1 file changed, 37 insertions(+)

    diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
    index 884872ca5207..c2b6adabb263 100644
    --- a/arch/arm/boot/dts/rv1108.dtsi
    +++ b/arch/arm/boot/dts/rv1108.dtsi
    @@ -536,6 +536,17 @@
    status = "disabled";
    };

    + sfc: spi@301c0000 {
    + compatible = "rockchip,rv1108-sfc", "rockchip,rk3036-sfc";
    + reg = <0x301c0000 0x4000>;
    + interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
    + clocks = <&cru HCLK_SFC>, <&cru SCLK_SFC>;
    + clock-names = "hclk_sfc", "clk_sfc";
    + pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>;
    + pinctrl-names = "default";
    + status = "disabled";
    + };
    +
    gmac: eth@30200000 {
    compatible = "rockchip,rv1108-gmac";
    reg = <0x30200000 0x10000>;
    @@ -704,6 +715,32 @@
    };
    };

    + serial_flash {
    + sfc_bus4: sfc-bus4 {
    + rockchip,pins =
    + <2 RK_PA0 3 &pcfg_pull_none>,
    + <2 RK_PA1 3 &pcfg_pull_none>,
    + <2 RK_PA2 3 &pcfg_pull_none>,
    + <2 RK_PA3 3 &pcfg_pull_none>;
    + };
    +
    + sfc_bus2: sfc-bus2 {
    + rockchip,pins =
    + <2 RK_PA0 3 &pcfg_pull_none>,
    + <2 RK_PA1 3 &pcfg_pull_none>;
    + };
    +
    + sfc_cs0: sfc-cs0 {
    + rockchip,pins =
    + <2 RK_PB4 3 &pcfg_pull_none>;
    + };
    +
    + sfc_clk: sfc-clk {
    + rockchip,pins =
    + <2 RK_PB7 2 &pcfg_pull_none>;
    + };
    + };
    +
    gmac {
    rmii_pins: rmii-pins {
    rockchip,pins = <1 RK_PC5 2 &pcfg_pull_none>,
    --
    2.17.1


    \
     
     \ /
      Last update: 2021-06-08 04:33    [W:6.169 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site