Linux Audio

Check our new training course

Loading...
v6.2
 1// SPDX-License-Identifier: GPL-2.0
 2#include "qcom-ipq8064-v1.0.dtsi"
 3
 4/ {
 5	model = "Qualcomm Technologies, Inc. IPQ8064/AP-148";
 6	compatible = "qcom,ipq8064-ap148", "qcom,ipq8064";
 7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 8	soc {
 9		pinmux@800000 {
10			buttons_pins: buttons_pins {
 
 
 
 
 
 
11				mux {
12					pins = "gpio54", "gpio65";
13					drive-strength = <2>;
14					bias-pull-up;
 
15				};
16			};
17		};
18
19		gsbi@16300000 {
20			i2c@16380000 {
21				status = "okay";
 
 
 
 
 
 
 
22				clock-frequency = <200000>;
 
23				pinctrl-0 = <&i2c4_pins>;
24				pinctrl-names = "default";
25			};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26		};
27	};
28};
v4.6
 
  1#include "qcom-ipq8064-v1.0.dtsi"
  2
  3/ {
  4	model = "Qualcomm IPQ8064/AP148";
  5	compatible = "qcom,ipq8064-ap148", "qcom,ipq8064";
  6
  7	aliases {
  8		serial0 = &gsbi4_serial;
  9	};
 10
 11	chosen {
 12		stdout-path = "serial0:115200n8";
 13	};
 14
 15	reserved-memory {
 16		#address-cells = <1>;
 17		#size-cells = <1>;
 18		ranges;
 19		rsvd@41200000 {
 20			reg = <0x41200000 0x300000>;
 21			no-map;
 22		};
 23	};
 24
 25	soc {
 26		pinmux@800000 {
 27			i2c4_pins: i2c4_pinmux {
 28				pins = "gpio12", "gpio13";
 29				function = "gsbi4";
 30				bias-disable;
 31			};
 32
 33			spi_pins: spi_pins {
 34				mux {
 35					pins = "gpio18", "gpio19", "gpio21";
 36					function = "gsbi5";
 37					drive-strength = <10>;
 38					bias-none;
 39				};
 40			};
 41		};
 42
 43		gsbi@16300000 {
 44			qcom,mode = <GSBI_PROT_I2C_UART>;
 45			status = "ok";
 46			serial@16340000 {
 47				status = "ok";
 48			};
 49
 50			i2c4: i2c@16380000 {
 51				status = "ok";
 52
 53				clock-frequency = <200000>;
 54
 55				pinctrl-0 = <&i2c4_pins>;
 56				pinctrl-names = "default";
 57			};
 58		};
 59
 60		gsbi5: gsbi@1a200000 {
 61			qcom,mode = <GSBI_PROT_SPI>;
 62			status = "ok";
 63
 64			spi4: spi@1a280000 {
 65				status = "ok";
 66				spi-max-frequency = <50000000>;
 67
 68				pinctrl-0 = <&spi_pins>;
 69				pinctrl-names = "default";
 70
 71				cs-gpios = <&qcom_pinmux 20 0>;
 72
 73				flash: m25p80@0 {
 74					compatible = "s25fl256s1";
 75					#address-cells = <1>;
 76					#size-cells = <1>;
 77					spi-max-frequency = <50000000>;
 78					reg = <0>;
 79
 80					partition@0 {
 81						label = "rootfs";
 82						reg = <0x0 0x1000000>;
 83					};
 84
 85					partition@1 {
 86						label = "scratch";
 87						reg = <0x1000000 0x1000000>;
 88					};
 89				};
 90			};
 91		};
 92
 93		sata-phy@1b400000 {
 94			status = "ok";
 95		};
 96
 97		sata@29000000 {
 98			status = "ok";
 99		};
100	};
101};