Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a10c274 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add SPI-USB bridge device and pin configs"

parents ef896711 097a0d48
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -217,6 +217,25 @@
			};
		};

		ice40-spi-usb-pins {
			qcom,pins = <&gp 0>, <&gp 1>, <&gp 3>, <&gp 114>;
			qcom,num-grp-pins = <4>;
			qcom,pin-func = <0>;
			label = "ice40-spi-usb-pins";

			/* active state */
			ice40_default: default {
				drive-strength = <8>;
				bias-disable;
			};

			/* sleep state */
			ice40_sleep: sleep {
				drive-strength = <2>;
				bias-disable;
			};
		};


		pmx_i2c_0 {
			/* CLK, DATA */
+21 −0
Original line number Diff line number Diff line
@@ -1182,6 +1182,27 @@
                qcom,bam-consumer-pipe-index = <8>;
                qcom,bam-producer-pipe-index = <9>;
                qcom,master-id = <86>;

		lattice,spi-usb@0 {
			compatible = "lattice,ice40-spi-usb";
			reg = <0>;
			spi-max-frequency = <50000000>;
			spi-cpol = <1>;
			spi-cpha = <1>;
			core-vcc-supply = <&pm8916_l2>;
			spi-vcc-supply = <&pm8916_l5>;
			lattice,reset-gpio = <&msm_gpio 3 0>;
			lattice,slave-select-gpio = <&msm_gpio 10 0>;
			lattice,config-done-gpio = <&msm_gpio 1 0>;
			lattice,vcc-en-gpio = <&msm_gpio 114 0>;
			lattice,clk-en-gpio = <&msm_gpio 0 0>;

			clocks = <&clock_rpm clk_bb_clk2_pin>;
			clock-names = "xo";
			pinctrl-names = "default", "sleep";
			pinctrl-0 = <&ice40_default>;
			pinctrl-1 = <&ice40_sleep>;
		};
        };

	i2c_0: i2c@78b6000 { /* BLSP1 QUP2 */