Lines Matching +full:smc +full:- +full:write +full:- +full:mode
2 # SPDX-License-Identifier: Apache-2.0
5 Atmel Static Memory Controller (SMC).
7 The SMC allows to interface with static-memory mapped external devices such as
10 The SMC is clocked through the Master Clock (MCK) which is controlled by the
13 The SMC controller can have up to 4 children defining the connected external
17 &smc {
19 pinctrl-0 = <&smc_default>;
20 pinctrl-names = "default";
25 atmel,smc-write-mode = "nwe";
26 atmel,smc-read-mode = "nrd";
27 atmel,smc-setup-timing = <1 1 1 1>;
28 atmel,smc-pulse-timing = <6 6 6 6>;
29 atmel,smc-cycle-timing = <7 7>;
33 The above example configures a is66wv51216dbll-55 device. The device is a
37 55ns, as per specification, it requires atmel,smc-cycle-timing of at least
38 7 pulses (56ns). The atmel,smc-cycle-timing is composed of three parts:
40 is the time used to read/write. The hold is used to release memory. For the
41 is66wv51216dbll-55 a minimum setup of 5ns (1 cycle) with at least 45ns
42 (6 cycles) for CPU read/write and no hold time is required.
43 Note: Since no hold parameter is available at SMC the atmel,smc-cycle-timing
47 cycle-timing (7) = setup (1) + pulse (6) + hold (0)
50 cycle-timing (10) = setup (1) + pulse (6) + hold (3)
56 compatible = "zephyr,memory-region", "mmio-sram";
59 zephyr,memory-region = "SRAM1";
62 compatible: "atmel,sam-smc"
64 include: [base.yaml, pinctrl-device.yaml]
73 "#address-cells":
77 "#size-cells":
81 child-binding:
83 Child device nodes are representing devices connected to the EBI/SMC bus.
90 The device's SMC Chip Select number.
91 Valid range: 0 - 3
93 atmel,smc-write-mode:
97 Select which signal is used for the write operation, either the chip
98 select (ncs) or a dedicated write enable pin (nwe). The data is put
100 The internal data buffers are switched to output mode after the NCS_WR
103 - "ncs"
104 - "nwe"
106 atmel,smc-read-mode:
114 - "ncs"
115 - "nrd"
117 atmel,smc-setup-timing:
123 where each value is configured in terms of MCK cycles. The SMC
129 atmel,smc-pulse-timing:
133 This value is used to effectivelly read/write at memory region (pulse phase).
139 atmel,smc-cycle-timing:
143 SMC timing configurations in cycles for the total write and read
145 This value describes the entire write/read operation timing which