~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/mips/mscc/serval_common.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/mips/mscc/serval_common.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/mips/mscc/serval_common.dtsi (Architecture sparc64)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2020 Microsemi Corporation         3  * Copyright (c) 2020 Microsemi Corporation
  4  */                                                 4  */
  5                                                     5 
  6 #include "serval.dtsi"                              6 #include "serval.dtsi"
  7                                                     7 
  8 / {                                                 8 / {
  9         aliases {                                   9         aliases {
 10                 serial0 = &uart0;                  10                 serial0 = &uart0;
 11                 i2c104  = &i2c104;                 11                 i2c104  = &i2c104;
 12                 i2c105  = &i2c105;                 12                 i2c105  = &i2c105;
 13                 i2c106  = &i2c106;                 13                 i2c106  = &i2c106;
 14                 i2c107  = &i2c107;                 14                 i2c107  = &i2c107;
 15                 i2c108  = &i2c108;                 15                 i2c108  = &i2c108;
 16                 i2c109  = &i2c109;                 16                 i2c109  = &i2c109;
 17         };                                         17         };
 18                                                    18 
 19         chosen {                                   19         chosen {
 20                 stdout-path = "serial0:115200n     20                 stdout-path = "serial0:115200n8";
 21         };                                         21         };
 22                                                    22 
 23         i2c0_imux: i2c0-imux {                     23         i2c0_imux: i2c0-imux {
 24                 compatible = "i2c-mux-pinctrl"     24                 compatible = "i2c-mux-pinctrl";
 25                 #address-cells = <1>;              25                 #address-cells = <1>;
 26                 #size-cells = <0>;                 26                 #size-cells = <0>;
 27                 i2c-parent = <&i2c0>;              27                 i2c-parent = <&i2c0>;
 28                 pinctrl-names =                    28                 pinctrl-names =
 29                 "i2c104", "i2c105", "i2c106",      29                 "i2c104", "i2c105", "i2c106", "i2c107",
 30                 "i2c108", "i2c109", "idle";        30                 "i2c108", "i2c109", "idle";
 31                 pinctrl-0 = <&i2cmux_0>;           31                 pinctrl-0 = <&i2cmux_0>;
 32                 pinctrl-1 = <&i2cmux_1>;           32                 pinctrl-1 = <&i2cmux_1>;
 33                 pinctrl-2 = <&i2cmux_2>;           33                 pinctrl-2 = <&i2cmux_2>;
 34                 pinctrl-3 = <&i2cmux_3>;           34                 pinctrl-3 = <&i2cmux_3>;
 35                 pinctrl-4 = <&i2cmux_4>;           35                 pinctrl-4 = <&i2cmux_4>;
 36                 pinctrl-5 = <&i2cmux_5>;           36                 pinctrl-5 = <&i2cmux_5>;
 37                 pinctrl-6 = <&i2cmux_pins_i>;      37                 pinctrl-6 = <&i2cmux_pins_i>;
 38                 i2c104: i2c_sfp0@0 {               38                 i2c104: i2c_sfp0@0 {
 39                         reg = <0>;                 39                         reg = <0>;
 40                         #address-cells = <1>;      40                         #address-cells = <1>;
 41                         #size-cells = <0>;         41                         #size-cells = <0>;
 42                 };                                 42                 };
 43                 i2c105: i2c_sfp1@1 {               43                 i2c105: i2c_sfp1@1 {
 44                         reg = <1>;                 44                         reg = <1>;
 45                         #address-cells = <1>;      45                         #address-cells = <1>;
 46                         #size-cells = <0>;         46                         #size-cells = <0>;
 47                 };                                 47                 };
 48                 i2c106: i2c_sfp2@2 {               48                 i2c106: i2c_sfp2@2 {
 49                         reg = <2>;                 49                         reg = <2>;
 50                         #address-cells = <1>;      50                         #address-cells = <1>;
 51                         #size-cells = <0>;         51                         #size-cells = <0>;
 52                 };                                 52                 };
 53                 i2c107: i2c_sfp3@3 {               53                 i2c107: i2c_sfp3@3 {
 54                         reg = <3>;                 54                         reg = <3>;
 55                         #address-cells = <1>;      55                         #address-cells = <1>;
 56                         #size-cells = <0>;         56                         #size-cells = <0>;
 57                 };                                 57                 };
 58                 i2c108: i2c_sfp4@4 {               58                 i2c108: i2c_sfp4@4 {
 59                         reg = <4>;                 59                         reg = <4>;
 60                         #address-cells = <1>;      60                         #address-cells = <1>;
 61                         #size-cells = <0>;         61                         #size-cells = <0>;
 62                 };                                 62                 };
 63                 i2c109: i2c_sfp5@5 {               63                 i2c109: i2c_sfp5@5 {
 64                         reg = <5>;                 64                         reg = <5>;
 65                         #address-cells = <1>;      65                         #address-cells = <1>;
 66                         #size-cells = <0>;         66                         #size-cells = <0>;
 67                 };                                 67                 };
 68 };                                                 68 };
 69                                                    69 
 70 };                                                 70 };
 71                                                    71 
 72 &uart0 {                                           72 &uart0 {
 73         status = "okay";                           73         status = "okay";
 74 };                                                 74 };
 75                                                    75 
 76 &uart2 {                                           76 &uart2 {
 77         status = "okay";                           77         status = "okay";
 78 };                                                 78 };
 79                                                    79 
 80 &gpio {                                            80 &gpio {
 81         i2c_pins: i2c-pins {                       81         i2c_pins: i2c-pins {
 82                 pins = "GPIO_7"; /* No "defaul     82                 pins = "GPIO_7"; /* No "default" scl for i2c0 */
 83                 function = "twi";                  83                 function = "twi";
 84         };                                         84         };
 85         i2cmux_pins_i: i2cmux-pins {               85         i2cmux_pins_i: i2cmux-pins {
 86                 pins = "GPIO_11", "GPIO_12", "     86                 pins = "GPIO_11", "GPIO_12", "GPIO_18", "GPIO_19",
 87                         "GPIO_20", "GPIO_21";      87                         "GPIO_20", "GPIO_21";
 88                 function = "twi_scl_m";            88                 function = "twi_scl_m";
 89                 output-low;                        89                 output-low;
 90         };                                         90         };
 91         i2cmux_0: i2cmux-0-pins {                  91         i2cmux_0: i2cmux-0-pins {
 92                 pins = "GPIO_11";                  92                 pins = "GPIO_11";
 93                 function = "twi_scl_m";            93                 function = "twi_scl_m";
 94                 output-high;                       94                 output-high;
 95         };                                         95         };
 96         i2cmux_1: i2cmux-1-pins {                  96         i2cmux_1: i2cmux-1-pins {
 97                 pins = "GPIO_12";                  97                 pins = "GPIO_12";
 98                 function = "twi_scl_m";            98                 function = "twi_scl_m";
 99                 output-high;                       99                 output-high;
100         };                                        100         };
101         i2cmux_2: i2cmux-2-pins {                 101         i2cmux_2: i2cmux-2-pins {
102                 pins = "GPIO_18";                 102                 pins = "GPIO_18";
103                 function = "twi_scl_m";           103                 function = "twi_scl_m";
104                 output-high;                      104                 output-high;
105         };                                        105         };
106         i2cmux_3: i2cmux-3-pins {                 106         i2cmux_3: i2cmux-3-pins {
107                 pins = "GPIO_19";                 107                 pins = "GPIO_19";
108                 function = "twi_scl_m";           108                 function = "twi_scl_m";
109                 output-high;                      109                 output-high;
110         };                                        110         };
111         i2cmux_4: i2cmux-4-pins {                 111         i2cmux_4: i2cmux-4-pins {
112                 pins = "GPIO_20";                 112                 pins = "GPIO_20";
113                 function = "twi_scl_m";           113                 function = "twi_scl_m";
114                 output-high;                      114                 output-high;
115         };                                        115         };
116         i2cmux_5: i2cmux-5-pins {                 116         i2cmux_5: i2cmux-5-pins {
117                 pins = "GPIO_21";                 117                 pins = "GPIO_21";
118                 function = "twi_scl_m";           118                 function = "twi_scl_m";
119                 output-high;                      119                 output-high;
120         };                                        120         };
121 };                                                121 };
122                                                   122 
123 &i2c0 {                                           123 &i2c0 {
124         status = "okay";                          124         status = "okay";
125         i2c-sda-hold-time-ns = <300>;             125         i2c-sda-hold-time-ns = <300>;
126 };                                                126 };
127                                                   127 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php