1 // SPDX-License-Identifier: (GPL-2.0-only OR B 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* 2 /* 3 * Device Tree Source for the White Hawk CSI/D 3 * Device Tree Source for the White Hawk CSI/DSI sub-board 4 * 4 * 5 * Copyright (C) 2022 Glider bv 5 * Copyright (C) 2022 Glider bv 6 */ 6 */ 7 7 8 #include <dt-bindings/media/video-interfaces.h 8 #include <dt-bindings/media/video-interfaces.h> 9 9 10 &csi40 { 10 &csi40 { 11 status = "okay"; 11 status = "okay"; 12 12 13 ports { 13 ports { 14 #address-cells = <1>; 14 #address-cells = <1>; 15 #size-cells = <0>; 15 #size-cells = <0>; 16 16 17 port@0 { 17 port@0 { 18 reg = <0>; 18 reg = <0>; 19 19 20 csi40_in: endpoint { 20 csi40_in: endpoint { 21 bus-type = <ME 21 bus-type = <MEDIA_BUS_TYPE_CSI2_CPHY>; 22 clock-lanes = 22 clock-lanes = <0>; 23 data-lanes = < 23 data-lanes = <1 2 3>; 24 remote-endpoin 24 remote-endpoint = <&max96712_out0>; 25 }; 25 }; 26 }; 26 }; 27 }; 27 }; 28 }; 28 }; 29 29 30 &csi41 { 30 &csi41 { 31 status = "okay"; 31 status = "okay"; 32 32 33 ports { 33 ports { 34 #address-cells = <1>; 34 #address-cells = <1>; 35 #size-cells = <0>; 35 #size-cells = <0>; 36 36 37 port@0 { 37 port@0 { 38 reg = <0>; 38 reg = <0>; 39 39 40 csi41_in: endpoint { 40 csi41_in: endpoint { 41 bus-type = <ME 41 bus-type = <MEDIA_BUS_TYPE_CSI2_CPHY>; 42 clock-lanes = 42 clock-lanes = <0>; 43 data-lanes = < 43 data-lanes = <1 2 3>; 44 remote-endpoin 44 remote-endpoint = <&max96712_out1>; 45 }; 45 }; 46 }; 46 }; 47 }; 47 }; 48 }; 48 }; 49 49 50 &i2c0 { 50 &i2c0 { 51 pca9654_a: gpio@21 { 51 pca9654_a: gpio@21 { 52 compatible = "onnn,pca9654"; 52 compatible = "onnn,pca9654"; 53 reg = <0x21>; 53 reg = <0x21>; 54 gpio-controller; 54 gpio-controller; 55 #gpio-cells = <2>; 55 #gpio-cells = <2>; 56 }; 56 }; 57 57 58 pca9654_b: gpio@22 { 58 pca9654_b: gpio@22 { 59 compatible = "onnn,pca9654"; 59 compatible = "onnn,pca9654"; 60 reg = <0x22>; 60 reg = <0x22>; 61 gpio-controller; 61 gpio-controller; 62 #gpio-cells = <2>; 62 #gpio-cells = <2>; 63 }; 63 }; 64 64 65 eeprom@52 { 65 eeprom@52 { 66 compatible = "rohm,br24g01", " 66 compatible = "rohm,br24g01", "atmel,24c01"; 67 label = "csi-dsi-sub-board-id" 67 label = "csi-dsi-sub-board-id"; 68 reg = <0x52>; 68 reg = <0x52>; 69 pagesize = <8>; 69 pagesize = <8>; 70 }; 70 }; 71 }; 71 }; 72 72 73 &i2c1 { 73 &i2c1 { 74 gmsl0: gmsl-deserializer@49 { 74 gmsl0: gmsl-deserializer@49 { 75 compatible = "maxim,max96712"; 75 compatible = "maxim,max96712"; 76 reg = <0x49>; 76 reg = <0x49>; 77 enable-gpios = <&pca9654_a 0 G 77 enable-gpios = <&pca9654_a 0 GPIO_ACTIVE_HIGH>; 78 78 79 ports { 79 ports { 80 #address-cells = <1>; 80 #address-cells = <1>; 81 #size-cells = <0>; 81 #size-cells = <0>; 82 82 83 port@4 { 83 port@4 { 84 reg = <4>; 84 reg = <4>; 85 max96712_out0: 85 max96712_out0: endpoint { 86 bus-ty 86 bus-type = <MEDIA_BUS_TYPE_CSI2_CPHY>; 87 clock- 87 clock-lanes = <0>; 88 data-l 88 data-lanes = <1 2 3>; 89 remote 89 remote-endpoint = <&csi40_in>; 90 }; 90 }; 91 }; 91 }; 92 }; 92 }; 93 }; 93 }; 94 94 95 gmsl1: gmsl-deserializer@4b { 95 gmsl1: gmsl-deserializer@4b { 96 compatible = "maxim,max96712"; 96 compatible = "maxim,max96712"; 97 reg = <0x4b>; 97 reg = <0x4b>; 98 enable-gpios = <&pca9654_b 0 G 98 enable-gpios = <&pca9654_b 0 GPIO_ACTIVE_HIGH>; 99 99 100 ports { 100 ports { 101 #address-cells = <1>; 101 #address-cells = <1>; 102 #size-cells = <0>; 102 #size-cells = <0>; 103 103 104 port@4 { 104 port@4 { 105 reg = <4>; 105 reg = <4>; 106 max96712_out1: 106 max96712_out1: endpoint { 107 bus-ty 107 bus-type = <MEDIA_BUS_TYPE_CSI2_CPHY>; 108 clock- 108 clock-lanes = <0>; 109 data-l 109 data-lanes = <1 2 3>; 110 remote 110 remote-endpoint = <&csi41_in>; 111 }; 111 }; 112 }; 112 }; 113 }; 113 }; 114 }; 114 }; 115 }; 115 }; 116 116 117 &isp0 { 117 &isp0 { 118 status = "okay"; 118 status = "okay"; 119 }; 119 }; 120 120 121 &isp1 { 121 &isp1 { 122 status = "okay"; 122 status = "okay"; 123 }; 123 }; 124 124 125 &vin00 { 125 &vin00 { 126 status = "okay"; 126 status = "okay"; 127 }; 127 }; 128 128 129 &vin01 { 129 &vin01 { 130 status = "okay"; 130 status = "okay"; 131 }; 131 }; 132 132 133 &vin02 { 133 &vin02 { 134 status = "okay"; 134 status = "okay"; 135 }; 135 }; 136 136 137 &vin03 { 137 &vin03 { 138 status = "okay"; 138 status = "okay"; 139 }; 139 }; 140 140 141 &vin04 { 141 &vin04 { 142 status = "okay"; 142 status = "okay"; 143 }; 143 }; 144 144 145 &vin05 { 145 &vin05 { 146 status = "okay"; 146 status = "okay"; 147 }; 147 }; 148 148 149 &vin06 { 149 &vin06 { 150 status = "okay"; 150 status = "okay"; 151 }; 151 }; 152 152 153 &vin07 { 153 &vin07 { 154 status = "okay"; 154 status = "okay"; 155 }; 155 }; 156 156 157 &vin08 { 157 &vin08 { 158 status = "okay"; 158 status = "okay"; 159 }; 159 }; 160 160 161 &vin09 { 161 &vin09 { 162 status = "okay"; 162 status = "okay"; 163 }; 163 }; 164 164 165 &vin10 { 165 &vin10 { 166 status = "okay"; 166 status = "okay"; 167 }; 167 }; 168 168 169 &vin11 { 169 &vin11 { 170 status = "okay"; 170 status = "okay"; 171 }; 171 }; 172 172 173 &vin12 { 173 &vin12 { 174 status = "okay"; 174 status = "okay"; 175 }; 175 }; 176 176 177 &vin13 { 177 &vin13 { 178 status = "okay"; 178 status = "okay"; 179 }; 179 }; 180 180 181 &vin14 { 181 &vin14 { 182 status = "okay"; 182 status = "okay"; 183 }; 183 }; 184 184 185 &vin15 { 185 &vin15 { 186 status = "okay"; 186 status = "okay"; 187 }; 187 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.