1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * IPQ5332 AP-MI01.2 board device tree source 3 * IPQ5332 AP-MI01.2 board device tree source 4 * 4 * 5 * Copyright (c) 2022-2023 Qualcomm Innovation 5 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "ipq5332-rdp-common.dtsi" !! 10 #include "ipq5332.dtsi" 11 11 12 / { 12 / { 13 model = "Qualcomm Technologies, Inc. I 13 model = "Qualcomm Technologies, Inc. IPQ5332 MI01.2"; 14 compatible = "qcom,ipq5332-ap-mi01.2", 14 compatible = "qcom,ipq5332-ap-mi01.2", "qcom,ipq5332"; >> 15 >> 16 aliases { >> 17 serial0 = &blsp1_uart0; >> 18 }; >> 19 >> 20 chosen { >> 21 stdout-path = "serial0"; >> 22 }; >> 23 }; >> 24 >> 25 &blsp1_uart0 { >> 26 pinctrl-0 = <&serial_0_pins>; >> 27 pinctrl-names = "default"; >> 28 status = "okay"; 15 }; 29 }; 16 30 17 &blsp1_i2c1 { 31 &blsp1_i2c1 { 18 clock-frequency = <400000>; !! 32 clock-frequency = <400000>; 19 pinctrl-0 = <&i2c_1_pins>; 33 pinctrl-0 = <&i2c_1_pins>; 20 pinctrl-names = "default"; 34 pinctrl-names = "default"; 21 status = "okay"; 35 status = "okay"; 22 }; 36 }; 23 37 24 &sdhc { 38 &sdhc { 25 bus-width = <4>; 39 bus-width = <4>; 26 max-frequency = <192000000>; 40 max-frequency = <192000000>; 27 mmc-ddr-1_8v; 41 mmc-ddr-1_8v; 28 mmc-hs200-1_8v; 42 mmc-hs200-1_8v; 29 non-removable; 43 non-removable; 30 pinctrl-0 = <&sdc_default_state>; 44 pinctrl-0 = <&sdc_default_state>; 31 pinctrl-names = "default"; 45 pinctrl-names = "default"; 32 status = "okay"; 46 status = "okay"; 33 }; 47 }; >> 48 >> 49 &sleep_clk { >> 50 clock-frequency = <32000>; >> 51 }; >> 52 >> 53 &xo_board { >> 54 clock-frequency = <24000000>; >> 55 }; >> 56 >> 57 /* PINCTRL */ 34 58 35 &tlmm { 59 &tlmm { 36 i2c_1_pins: i2c-1-state { 60 i2c_1_pins: i2c-1-state { 37 pins = "gpio29", "gpio30"; 61 pins = "gpio29", "gpio30"; 38 function = "blsp1_i2c0"; 62 function = "blsp1_i2c0"; 39 drive-strength = <8>; 63 drive-strength = <8>; 40 bias-pull-up; 64 bias-pull-up; 41 }; 65 }; 42 66 43 sdc_default_state: sdc-default-state { 67 sdc_default_state: sdc-default-state { 44 clk-pins { 68 clk-pins { 45 pins = "gpio13"; 69 pins = "gpio13"; 46 function = "sdc_clk"; 70 function = "sdc_clk"; 47 drive-strength = <8>; 71 drive-strength = <8>; 48 bias-disable; 72 bias-disable; 49 }; 73 }; 50 74 51 cmd-pins { 75 cmd-pins { 52 pins = "gpio12"; 76 pins = "gpio12"; 53 function = "sdc_cmd"; 77 function = "sdc_cmd"; 54 drive-strength = <8>; 78 drive-strength = <8>; 55 bias-pull-up; 79 bias-pull-up; 56 }; 80 }; 57 81 58 data-pins { 82 data-pins { 59 pins = "gpio8", "gpio9 83 pins = "gpio8", "gpio9", "gpio10", "gpio11"; 60 function = "sdc_data"; 84 function = "sdc_data"; 61 drive-strength = <8>; 85 drive-strength = <8>; 62 bias-pull-up; 86 bias-pull-up; 63 }; 87 }; 64 }; 88 }; 65 }; 89 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.