hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
....@@ -1,6 +1,6 @@
11 // SPDX-License-Identifier: GPL-2.0
22 /*
3
- * SAMSUNG Exynos5433 TM2 board device tree source
3
+ * Samsung Exynos5433 TM2 board device tree source
44 *
55 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
66 *
....@@ -87,8 +87,8 @@
8787
8888 i2c_max98504: i2c-gpio-0 {
8989 compatible = "i2c-gpio";
90
- gpios = <&gpd0 1 GPIO_ACTIVE_HIGH /* SPK_AMP_SDA */
91
- &gpd0 0 GPIO_ACTIVE_HIGH /* SPK_AMP_SCL */ >;
90
+ sda-gpios = <&gpd0 1 GPIO_ACTIVE_HIGH>;
91
+ scl-gpios = <&gpd0 0 GPIO_ACTIVE_HIGH>;
9292 i2c-gpio,delay-us = <2>;
9393 #address-cells = <1>;
9494 #size-cells = <0>;
....@@ -289,6 +289,12 @@
289289 assigned-clock-parents = <&cmu_top CLK_ACLK_MFC_400>;
290290 };
291291
292
+&cmu_mif {
293
+ assigned-clocks = <&cmu_mif CLK_MOUT_SCLK_DSD_A>, <&cmu_mif CLK_DIV_SCLK_DSD>;
294
+ assigned-clock-parents = <&cmu_mif CLK_MOUT_MFC_PLL_DIV2>;
295
+ assigned-clock-rates = <0>, <333000000>;
296
+};
297
+
292298 &cmu_mscl {
293299 assigned-clocks = <&cmu_mscl CLK_MOUT_ACLK_MSCL_400_USER>,
294300 <&cmu_mscl CLK_MOUT_SCLK_JPEG_USER>,
....@@ -342,6 +348,11 @@
342348 samsung,pll-clock-frequency = <24000000>;
343349 pinctrl-names = "default";
344350 pinctrl-0 = <&te_irq>;
351
+};
352
+
353
+&gpu {
354
+ mali-supply = <&buck6_reg>;
355
+ status = "okay";
345356 };
346357
347358 &hdmi {
....@@ -784,8 +795,8 @@
784795 reg = <0x27>;
785796 interrupt-parent = <&gpa1>;
786797 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
787
- s3fwrn5,en-gpios = <&gpf1 4 GPIO_ACTIVE_HIGH>;
788
- s3fwrn5,fw-gpios = <&gpj0 2 GPIO_ACTIVE_HIGH>;
798
+ en-gpios = <&gpf1 4 GPIO_ACTIVE_HIGH>;
799
+ wake-gpios = <&gpj0 2 GPIO_ACTIVE_HIGH>;
789800 };
790801 };
791802
....@@ -868,6 +879,14 @@
868879 };
869880 };
870881 };
882
+
883
+ ports {
884
+ port {
885
+ muic_to_usb: endpoint {
886
+ remote-endpoint = <&usb_to_muic>;
887
+ };
888
+ };
889
+ };
871890 };
872891
873892 regulators {
....@@ -939,8 +958,7 @@
939958 status = "okay";
940959 cap-sd-highspeed;
941960 disable-wp;
942
- cd-gpios = <&gpa2 4 GPIO_ACTIVE_HIGH>;
943
- cd-inverted;
961
+ cd-gpios = <&gpa2 4 GPIO_ACTIVE_LOW>;
944962 card-detect-delay = <200>;
945963 samsung,dw-mshc-ciu-div = <3>;
946964 samsung,dw-mshc-sdr-timing = <0 4>;
....@@ -1195,6 +1213,20 @@
11951213 status = "okay";
11961214 };
11971215
1216
+&serial_3 {
1217
+ status = "okay";
1218
+
1219
+ bluetooth {
1220
+ compatible = "brcm,bcm43438-bt";
1221
+ max-speed = <3000000>;
1222
+ shutdown-gpios = <&gpd4 0 GPIO_ACTIVE_HIGH>;
1223
+ device-wakeup-gpios = <&gpr3 7 GPIO_ACTIVE_HIGH>;
1224
+ host-wakeup-gpios = <&gpa2 2 GPIO_ACTIVE_HIGH>;
1225
+ clocks = <&s2mps13_osc S2MPS11_CLK_BT>;
1226
+ clock-names = "extclk";
1227
+ };
1228
+};
1229
+
11981230 &spi_1 {
11991231 cs-gpios = <&gpd6 3 GPIO_ACTIVE_HIGH>;
12001232 status = "okay";
....@@ -1283,12 +1315,17 @@
12831315
12841316 &usbdrd_dwc3 {
12851317 dr_mode = "otg";
1286
- extcon = <&muic>;
12871318 };
12881319
12891320 &usbdrd30_phy {
12901321 vbus-supply = <&safeout1_reg>;
12911322 status = "okay";
1323
+
1324
+ port {
1325
+ usb_to_muic: endpoint {
1326
+ remote-endpoint = <&muic_to_usb>;
1327
+ };
1328
+ };
12921329 };
12931330
12941331 &xxti {