Skip to content

Commit

Permalink
dts: ti: lm3s6965: Add flash controller node and binding
Browse files Browse the repository at this point in the history
Add a flash controller node and place the soc-nv-flash under that node.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information
galak committed Apr 9, 2020
1 parent 7ab2f98 commit ab15602
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
19 changes: 14 additions & 5 deletions dts/arm/ti/lm3s6965.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,27 @@
reg = <0x20000000 (64*1024)>;
};

flash0: flash@0 {
compatible = "soc-nv-flash";
reg = <0x00000000 (256*1024)>;
};

sysclk: system-clock {
compatible = "fixed-clock";
clock-frequency = <12000000>;
#clock-cells = <0>;
};

soc {

flash-controller@400fd000 {
compatible = "ti,stellaris-flash-controller";
reg = <0x400fd000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
label = "FLASH_CTRL";

flash0: flash@0 {
compatible = "soc-nv-flash";
reg = <0x00000000 (256*1024)>;
};
};

uart0: uart@4000c000 {
compatible = "ti,stellaris-uart";
reg = <0x4000c000 0x4c>;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2020, Linaro Limited
# SPDX-License-Identifier: Apache-2.0

description: TI Stellaris flash controller

compatible: "ti,stellaris-flash-controller"

include: flash-controller.yaml

0 comments on commit ab15602

Please sign in to comment.