1 OMAP SSI controller bindings 1 OMAP SSI controller bindings 2 2 3 OMAP3's Synchronous Serial Interface (SSI) con 3 OMAP3's Synchronous Serial Interface (SSI) controller implements a 4 legacy variant of MIPI's High Speed Synchronou 4 legacy variant of MIPI's High Speed Synchronous Serial Interface (HSI), 5 while the controller found inside OMAP4 is sup 5 while the controller found inside OMAP4 is supposed to be fully compliant 6 with the HSI standard. 6 with the HSI standard. 7 7 8 Required properties: 8 Required properties: 9 - compatible: Should include "ti,oma 9 - compatible: Should include "ti,omap3-ssi" or "ti,omap4-hsi" 10 - reg-names: Contains the values "s 10 - reg-names: Contains the values "sys" and "gdd" (in this order). 11 - reg: Contains a matching re 11 - reg: Contains a matching register specifier for each entry 12 in reg-names. 12 in reg-names. 13 - interrupt-names: Contains the value "gd 13 - interrupt-names: Contains the value "gdd_mpu". 14 - interrupts: Contains matching inte 14 - interrupts: Contains matching interrupt information for each entry 15 in interrupt-names. 15 in interrupt-names. 16 - ranges: Represents the bus add 16 - ranges: Represents the bus address mapping between the main 17 controller node and th 17 controller node and the child nodes below. 18 - clock-names: Must include the follo 18 - clock-names: Must include the following entries: 19 "ssi_ssr_fck": The OMAP clock of that name 19 "ssi_ssr_fck": The OMAP clock of that name 20 "ssi_sst_fck": The OMAP clock of that name 20 "ssi_sst_fck": The OMAP clock of that name 21 "ssi_ick": The OMAP clock of that name 21 "ssi_ick": The OMAP clock of that name 22 - clocks: Contains a matching cl 22 - clocks: Contains a matching clock specifier for each entry in 23 clock-names. 23 clock-names. 24 - #address-cells: Should be set to <1> 24 - #address-cells: Should be set to <1> 25 - #size-cells: Should be set to <1> 25 - #size-cells: Should be set to <1> 26 26 27 Each port is represented as a sub-node of the 27 Each port is represented as a sub-node of the ti,omap3-ssi device. 28 28 29 Required Port sub-node properties: 29 Required Port sub-node properties: 30 - compatible: Should be set to the f 30 - compatible: Should be set to the following value 31 ti,omap3-ssi-port (app 31 ti,omap3-ssi-port (applicable to OMAP34xx devices) 32 ti,omap4-hsi-port (app 32 ti,omap4-hsi-port (applicable to OMAP44xx devices) 33 - reg-names: Contains the values "t 33 - reg-names: Contains the values "tx" and "rx" (in this order). 34 - reg: Contains a matching re 34 - reg: Contains a matching register specifier for each entry 35 in reg-names. 35 in reg-names. 36 - interrupts: Should contain interru 36 - interrupts: Should contain interrupt specifiers for mpu interrupts 37 0 and 1 (in this order 37 0 and 1 (in this order). 38 - ti,ssi-cawake-gpio: Defines which GPIO pin 38 - ti,ssi-cawake-gpio: Defines which GPIO pin is used to signify CAWAKE 39 events for the port. T 39 events for the port. This is an optional board-specific 40 property. If it's miss 40 property. If it's missing the port will not be 41 enabled. 41 enabled. 42 42 43 Optional properties: 43 Optional properties: 44 - ti,hwmods: Shall contain TI inter 44 - ti,hwmods: Shall contain TI interconnect module name if needed 45 by the SoC 45 by the SoC 46 46 47 Example for Nokia N900: 47 Example for Nokia N900: 48 48 49 ssi-controller@48058000 { 49 ssi-controller@48058000 { 50 compatible = "ti,omap3-ssi"; 50 compatible = "ti,omap3-ssi"; 51 51 52 /* needed until hwmod is updated to us 52 /* needed until hwmod is updated to use the compatible string */ 53 ti,hwmods = "ssi"; 53 ti,hwmods = "ssi"; 54 54 55 reg = <0x48058000 0x1000>, 55 reg = <0x48058000 0x1000>, 56 <0x48059000 0x1000>; 56 <0x48059000 0x1000>; 57 reg-names = "sys", 57 reg-names = "sys", 58 "gdd"; 58 "gdd"; 59 59 60 interrupts = <55>; 60 interrupts = <55>; 61 interrupt-names = "gdd_mpu"; 61 interrupt-names = "gdd_mpu"; 62 62 63 clocks = <&ssi_ssr_fck>, 63 clocks = <&ssi_ssr_fck>, 64 <&ssi_sst_fck>, 64 <&ssi_sst_fck>, 65 <&ssi_ick>; 65 <&ssi_ick>; 66 clock-names = "ssi_ssr_fck", 66 clock-names = "ssi_ssr_fck", 67 "ssi_sst_fck", 67 "ssi_sst_fck", 68 "ssi_ick"; 68 "ssi_ick"; 69 69 70 #address-cells = <1>; 70 #address-cells = <1>; 71 #size-cells = <1>; 71 #size-cells = <1>; 72 ranges; 72 ranges; 73 73 74 ssi-port@4805a000 { 74 ssi-port@4805a000 { 75 compatible = "ti,omap3-ssi-por 75 compatible = "ti,omap3-ssi-port"; 76 76 77 reg = <0x4805a000 0x800>, 77 reg = <0x4805a000 0x800>, 78 <0x4805a800 0x800>; 78 <0x4805a800 0x800>; 79 reg-names = "tx", 79 reg-names = "tx", 80 "rx"; 80 "rx"; 81 81 82 interrupt-parent = <&intc>; 82 interrupt-parent = <&intc>; 83 interrupts = <67>, 83 interrupts = <67>, 84 <68>; 84 <68>; 85 85 86 ti,ssi-cawake-gpio = <&gpio5 2 86 ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ 87 } 87 } 88 88 89 ssi-port@4805a000 { 89 ssi-port@4805a000 { 90 compatible = "ti,omap3-ssi-por 90 compatible = "ti,omap3-ssi-port"; 91 91 92 reg = <0x4805b000 0x800>, 92 reg = <0x4805b000 0x800>, 93 <0x4805b800 0x800>; 93 <0x4805b800 0x800>; 94 reg-names = "tx", 94 reg-names = "tx", 95 "rx"; 95 "rx"; 96 96 97 interrupt-parent = <&intc>; 97 interrupt-parent = <&intc>; 98 interrupts = <69>, 98 interrupts = <69>, 99 <70>; 99 <70>; 100 100 101 } 101 } 102 } 102 }
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.