Message ID | 20210331204228.26107-11-avolmat@me.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Introduction of STiH418 based 4KOpen board | expand |
Hi Alain On 3/31/21 10:42 PM, Alain Volmat wrote: > The STiH407 family (and further versions STiH410/STiH418) embedded > a serial flash controller allowing fast access to SPI-NOR. > This commit adds the corresponding node, relying on the st-spi-fsm > drivers. > > Signed-off-by: Alain Volmat <avolmat@me.com> > --- > v2: commit log improvement > > arch/arm/boot/dts/stih407-family.dtsi | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi > index 23a1746f3baa..21f3347a91d6 100644 > --- a/arch/arm/boot/dts/stih407-family.dtsi > +++ b/arch/arm/boot/dts/stih407-family.dtsi > @@ -616,6 +616,21 @@ > st,lpc-mode = <ST_LPC_MODE_CLKSRC>; > }; > > + spifsm: spifsm@9022000{ > + compatible = "st,spi-fsm"; > + reg = <0x9022000 0x1000>; > + reg-names = "spi-fsm"; > + clocks = <&clk_s_c0_flexgen CLK_FLASH_PROMIP>; > + clock-names = "emi_clk"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_fsm>; > + st,syscfg = <&syscfg_core>; > + st,boot-device-reg = <0x8c4>; > + st,boot-device-spi = <0x68>; > + > + status = "disabled"; > + }; > + > sata0: sata@9b20000 { > compatible = "st,ahci"; > reg = <0x9b20000 0x1000>; > Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Thanks Patrice
diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 23a1746f3baa..21f3347a91d6 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -616,6 +616,21 @@ st,lpc-mode = <ST_LPC_MODE_CLKSRC>; }; + spifsm: spifsm@9022000{ + compatible = "st,spi-fsm"; + reg = <0x9022000 0x1000>; + reg-names = "spi-fsm"; + clocks = <&clk_s_c0_flexgen CLK_FLASH_PROMIP>; + clock-names = "emi_clk"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fsm>; + st,syscfg = <&syscfg_core>; + st,boot-device-reg = <0x8c4>; + st,boot-device-spi = <0x68>; + + status = "disabled"; + }; + sata0: sata@9b20000 { compatible = "st,ahci"; reg = <0x9b20000 0x1000>;
The STiH407 family (and further versions STiH410/STiH418) embedded a serial flash controller allowing fast access to SPI-NOR. This commit adds the corresponding node, relying on the st-spi-fsm drivers. Signed-off-by: Alain Volmat <avolmat@me.com> --- v2: commit log improvement arch/arm/boot/dts/stih407-family.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)