From 2463b4991c193ce1f458f927c58623de8d49bacc Mon Sep 17 00:00:00 2001 From: Baozhu Zuo Date: Mon, 8 Mar 2021 19:00:02 +0800 Subject: [PATCH] dts: cc1352r : use flash_controller setting --- dts/arm/ti/cc1352r.dtsi | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/dts/arm/ti/cc1352r.dtsi b/dts/arm/ti/cc1352r.dtsi index 3d84e0800efd..88b07037de91 100644 --- a/dts/arm/ti/cc1352r.dtsi +++ b/dts/arm/ti/cc1352r.dtsi @@ -12,7 +12,15 @@ reg = <0x20000000 DT_SIZE_K(80)>; }; - flash0: serial-flash@0 { - reg = <0x0 DT_SIZE_K(352)>; - }; + flash_controller: flash-controller@400fd000 { + compatible = "ti,stellaris-flash-controller"; + reg = <0x400fd000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + label = "FLASH_CTRL"; + flash0: serial-flash@0 { + reg = <0x0 DT_SIZE_K(352)>; + }; + + }; };