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 - interrupt-parent Should be a phandle for the interrupt controller 36 - interrupts: Should contain interru 37 - interrupts: Should contain interrupt specifiers for mpu interrupts 37 0 and 1 (in this order 38 0 and 1 (in this order). 38 - ti,ssi-cawake-gpio: Defines which GPIO pin 39 - ti,ssi-cawake-gpio: Defines which GPIO pin is used to signify CAWAKE 39 events for the port. T 40 events for the port. This is an optional board-specific 40 property. If it's miss 41 property. If it's missing the port will not be 41 enabled. 42 enabled. 42 43 43 Optional properties: 44 Optional properties: 44 - ti,hwmods: Shall contain TI inter 45 - ti,hwmods: Shall contain TI interconnect module name if needed 45 by the SoC 46 by the SoC 46 47 47 Example for Nokia N900: 48 Example for Nokia N900: 48 49 49 ssi-controller@48058000 { 50 ssi-controller@48058000 { 50 compatible = "ti,omap3-ssi"; 51 compatible = "ti,omap3-ssi"; 51 52 52 /* needed until hwmod is updated to us 53 /* needed until hwmod is updated to use the compatible string */ 53 ti,hwmods = "ssi"; 54 ti,hwmods = "ssi"; 54 55 55 reg = <0x48058000 0x1000>, 56 reg = <0x48058000 0x1000>, 56 <0x48059000 0x1000>; 57 <0x48059000 0x1000>; 57 reg-names = "sys", 58 reg-names = "sys", 58 "gdd"; 59 "gdd"; 59 60 60 interrupts = <55>; 61 interrupts = <55>; 61 interrupt-names = "gdd_mpu"; 62 interrupt-names = "gdd_mpu"; 62 63 63 clocks = <&ssi_ssr_fck>, 64 clocks = <&ssi_ssr_fck>, 64 <&ssi_sst_fck>, 65 <&ssi_sst_fck>, 65 <&ssi_ick>; 66 <&ssi_ick>; 66 clock-names = "ssi_ssr_fck", 67 clock-names = "ssi_ssr_fck", 67 "ssi_sst_fck", 68 "ssi_sst_fck", 68 "ssi_ick"; 69 "ssi_ick"; 69 70 70 #address-cells = <1>; 71 #address-cells = <1>; 71 #size-cells = <1>; 72 #size-cells = <1>; 72 ranges; 73 ranges; 73 74 74 ssi-port@4805a000 { 75 ssi-port@4805a000 { 75 compatible = "ti,omap3-ssi-por 76 compatible = "ti,omap3-ssi-port"; 76 77 77 reg = <0x4805a000 0x800>, 78 reg = <0x4805a000 0x800>, 78 <0x4805a800 0x800>; 79 <0x4805a800 0x800>; 79 reg-names = "tx", 80 reg-names = "tx", 80 "rx"; 81 "rx"; 81 82 82 interrupt-parent = <&intc>; 83 interrupt-parent = <&intc>; 83 interrupts = <67>, 84 interrupts = <67>, 84 <68>; 85 <68>; 85 86 86 ti,ssi-cawake-gpio = <&gpio5 2 87 ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */ 87 } 88 } 88 89 89 ssi-port@4805a000 { 90 ssi-port@4805a000 { 90 compatible = "ti,omap3-ssi-por 91 compatible = "ti,omap3-ssi-port"; 91 92 92 reg = <0x4805b000 0x800>, 93 reg = <0x4805b000 0x800>, 93 <0x4805b800 0x800>; 94 <0x4805b800 0x800>; 94 reg-names = "tx", 95 reg-names = "tx", 95 "rx"; 96 "rx"; 96 97 97 interrupt-parent = <&intc>; 98 interrupt-parent = <&intc>; 98 interrupts = <69>, 99 interrupts = <69>, 99 <70>; 100 <70>; 100 101 101 } 102 } 102 } 103 }
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.