File tree Expand file tree Collapse file tree 6 files changed +74
-15
lines changed
bindings/flash_controller Expand file tree Collapse file tree 6 files changed +74
-15
lines changed Original file line number Diff line number Diff line change 1+ /* SoC level DTS fixup file */
2+
3+ #define FLASH_DEV_BASE_ADDRESS NXP_KINETIS_FTFA_40020000_BASE_ADDRESS_0
4+ #define FLASH_DEV_NAME NXP_KINETIS_FTFA_40020000_LABEL
5+
6+ /* End of SoC Level DTS fixup file */
Original file line number Diff line number Diff line change 55#define FLASH_DEV_NAME NXP_KINETIS_FTFL_40020000_LABEL
66#endif /* CONFIG_SOC_MKW22D5 || CONFIG_SOC_MKW24D5 */
77
8+ #if defined(CONFIG_SOC_MKW40Z4) || defined(CONFIG_SOC_MKW41Z4)
9+ #define FLASH_DEV_BASE_ADDRESS NXP_KINETIS_FTFA_40020000_BASE_ADDRESS_0
10+ #define FLASH_DEV_NAME NXP_KINETIS_FTFA_40020000_LABEL
11+ #endif /* CONFIG_SOC_MKW40Z4 || CONFIG_SOC_MKW41Z4 */
812/* End of SoC Level DTS fixup file */
Original file line number Diff line number Diff line change 2121 };
2222
2323 soc {
24- flash0: flash@0 {
25- compatible = "soc-nv-flash";
26- label = "MCUX_FLASH";
27- reg = <0 0x20000>;
28- write-block-size = <4>;
24+ flash-controller@40020000 {
25+ compatible = "nxp,kinetis-ftfa";
26+ label = "FLASH_CTRL";
27+ reg = <0x40020000 0x14>;
28+ interrupts = <5 0>;
29+
30+ #address-cells = <1>;
31+ #size-cells = <1>;
32+
33+ flash0: flash@0 {
34+ compatible = "soc-nv-flash";
35+ label = "MCUX_FLASH";
36+ reg = <0 0x20000>;
37+ write-block-size = <4>;
38+ };
2939 };
3040
3141 i2c0: i2c@40066000 {
Original file line number Diff line number Diff line change 4949 #clocks-cells = <3>;
5050 };
5151
52- flash0: flash@0 {
53- compatible = "soc-nv-flash";
54- label = "MCUX_FLASH";
55- reg = <0 0x80000>;
56- write-block-size = <4>;
52+ flash-controller@40020000 {
53+ compatible = "nxp,kinetis-ftfa";
54+ label = "FLASH_CTRL";
55+ reg = <0x40020000 0x2c>;
56+ interrupts = <5 0>;
57+
58+ #address-cells = <1>;
59+ #size-cells = <1>;
60+
61+ flash0: flash@0 {
62+ compatible = "soc-nv-flash";
63+ label = "MCUX_FLASH";
64+ reg = <0 0x80000>;
65+ write-block-size = <4>;
66+ };
5767 };
5868
5969 i2c0: i2c@40066000 {
Original file line number Diff line number Diff line change 4949 #clocks-cells = <3>;
5050 };
5151
52- flash0: flash@0 {
53- compatible = "soc-nv-flash";
54- label = "MCUX_FLASH";
55- reg = <0 0x80000>;
56- write-block-size = <4>;
52+ flash-controller@40020000 {
53+ compatible = "nxp,kinetis-ftfa";
54+ label = "FLASH_CTRL";
55+ reg = <0x40020000 0x2c>;
56+ interrupts = <5 0>;
57+
58+ #address-cells = <1>;
59+ #size-cells = <1>;
60+
61+ flash0: flash@0 {
62+ compatible = "soc-nv-flash";
63+ label = "MCUX_FLASH";
64+ reg = <0 0x80000>;
65+ write-block-size = <4>;
66+ };
5767 };
5868
5969 i2c0: i2c@40066000 {
Original file line number Diff line number Diff line change 1+ ---
2+ title : NXP Kinetis Flash Memory Module (FTFA)
3+ id : nxp,kinetis-ftfa
4+ version : 0.1
5+
6+ description : >
7+ This binding gives for the NXP Kinetis Flash Memory Module A (FTFA)
8+
9+ inherits :
10+ !include flash-controller.yaml
11+
12+ properties :
13+ compatible :
14+ type : string
15+ category : required
16+ description : compatible strings
17+ constraint : " nxp,kinetis-ftfa"
18+
19+ ...
You can’t perform that action at this time.
0 commit comments