Skip to content

Commit 9d50882

Browse files
macromorganmmind
authored andcommitted
ARM: dts: rockchip: Add SFC to RV1108
Add a devicetree entry for the Rockchip SFC for the RV1108 SOC. Signed-off-by: Chris Morgan <[email protected]> Signed-off-by: Jon Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent c0728a2 commit 9d50882

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

arch/arm/boot/dts/rv1108.dtsi

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,17 @@
546546
status = "disabled";
547547
};
548548

549+
sfc: spi@301c0000 {
550+
compatible = "rockchip,sfc";
551+
reg = <0x301c0000 0x4000>;
552+
interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
553+
clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
554+
clock-names = "clk_sfc", "hclk_sfc";
555+
pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>;
556+
pinctrl-names = "default";
557+
status = "disabled";
558+
};
559+
549560
gmac: eth@30200000 {
550561
compatible = "rockchip,rv1108-gmac";
551562
reg = <0x30200000 0x10000>;
@@ -714,6 +725,32 @@
714725
};
715726
};
716727

728+
sfc {
729+
sfc_bus4: sfc-bus4 {
730+
rockchip,pins =
731+
<2 RK_PA0 3 &pcfg_pull_none>,
732+
<2 RK_PA1 3 &pcfg_pull_none>,
733+
<2 RK_PA2 3 &pcfg_pull_none>,
734+
<2 RK_PA3 3 &pcfg_pull_none>;
735+
};
736+
737+
sfc_bus2: sfc-bus2 {
738+
rockchip,pins =
739+
<2 RK_PA0 3 &pcfg_pull_none>,
740+
<2 RK_PA1 3 &pcfg_pull_none>;
741+
};
742+
743+
sfc_cs0: sfc-cs0 {
744+
rockchip,pins =
745+
<2 RK_PB4 3 &pcfg_pull_none>;
746+
};
747+
748+
sfc_clk: sfc-clk {
749+
rockchip,pins =
750+
<2 RK_PB7 2 &pcfg_pull_none>;
751+
};
752+
};
753+
717754
gmac {
718755
rmii_pins: rmii-pins {
719756
rockchip,pins = <1 RK_PC5 2 &pcfg_pull_none>,

0 commit comments

Comments
 (0)