1 * Pin configuration for TI DA850/OMAP-L138/AM18x 2 3 These SoCs have a separate controller for setting bias (internal pullup/down). 4 Bias can only be selected for groups rather than individual pins. 5 6 Required Properties: 7 8 - compatible: Must be "ti,da850-pupd" 9 - reg: Base address and length of the memory resource used by the pullup/down 10 controller hardware module. 11 12 The controller node also acts as a container for pin group configuration nodes. 13 The names of these groups are ignored. 14 15 Pin Group Node Properties: 16 17 - groups: An array of strings, each string containing the name of a pin group. 18 Valid names are "cp0".."cp31". 19 20 The pin configuration parameters use the generic pinconf bindings defined in 21 pinctrl-bindings.txt in this directory. The supported parameters are 22 bias-disable, bias-pull-up, bias-pull-down. 23 24 25 Example 26 ------- 27 28 In common dtsi file: 29 30 pinconf: pin-controller@22c00c { 31 compatible = "ti,da850-pupd"; 32 reg = <0x22c00c 0x8>; 33 }; 34 35 In board-specific file: 36 37 &pinconf { 38 pinctrl-0 = <&pinconf_bias_groups>; 39 pinctrl-names = "default"; 40 41 pinconf_bias_groups: bias-groups { 42 pull-up { 43 groups = "cp30", "cp31"; 44 bias-pull-up; 45 }; 46 pull-down { 47 groups = "cp29", "cp28"; 48 bias-pull-down; 49 }; 50 disable { 51 groups = "cp27", "cp26"; 52 bias-disable; 53 }; 54 }; 55 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.