Path: blob/main/sys/contrib/device-tree/Bindings/c6x/emifa.txt
48375 views
External Memory Interface1-------------------------23The emifa node describes a simple external bus controller found on some C6X4SoCs. This interface provides external busses with a number of chip selects.56Required properties:78- compatible: must be "ti,c64x+emifa", "simple-bus"9- reg: register area base and size10- #address-cells: must be 2 (chip-select + offset)11- #size-cells: must be 112- ranges: mapping from EMIFA space to parent space131415Optional properties:1617- ti,dscr-dev-enable: Device ID if EMIF is enabled/disabled from DSCR1819- ti,emifa-burst-priority:20Number of memory transfers after which the EMIF will elevate the priority21of the oldest command in the command FIFO. Setting this field to 25522disables this feature, thereby allowing old commands to stay in the FIFO23indefinitely.2425- ti,emifa-ce-config:26Configuration values for each of the supported chip selects.2728Example:2930emifa@70000000 {31compatible = "ti,c64x+emifa", "simple-bus";32#address-cells = <2>;33#size-cells = <1>;34reg = <0x70000000 0x100>;35ranges = <0x2 0x0 0xa0000000 0x00000008360x3 0x0 0xb0000000 0x00400000370x4 0x0 0xc0000000 0x10000000380x5 0x0 0xD0000000 0x10000000>;3940ti,dscr-dev-enable = <13>;41ti,emifa-burst-priority = <255>;42ti,emifa-ce-config = <0x00240120430x00240120440x00240122450x00240122>;4647flash@3,0 {48#address-cells = <1>;49#size-cells = <1>;50compatible = "cfi-flash";51reg = <0x3 0x0 0x400000>;52bank-width = <1>;53device-width = <1>;54partition@0 {55reg = <0x0 0x400000>;56label = "NOR";57};58};59};6061This shows a flash chip attached to chip select 3.626364