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

Commit f2edbade authored by Olof Johansson's avatar Olof Johansson
Browse files

Merge tag 'at91-dt2' of git://github.com/at91linux/linux-at91 into next/dt

From Nicolas Ferre:
Second DT pull-request for 3.14
- now that PWM driver is on its way to mainline,
  we can integrate the DT entries
- As an example, use PWM for at91sam9m10g45ek leds
- Addition of clock specification for newly introduced
  crypto DT entries

* tag 'at91-dt2' of git://github.com/at91linux/linux-at91

:
  ARM: at91/dt: add clk properties to sama5d3 TDES device node
  ARM: at91/dt: add clk properties to sama5d3 AES device node
  ARM: at91/dt: add clk properties to sama5d3 SHA device node
  ARM: at91: at91sam9m10g45ek: switch to PWM leds
  ARM: at91: add PWM device node

Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents 2652fbde 45e5c2cb
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -30,6 +30,7 @@
		i2c0 = &i2c0;
		i2c0 = &i2c0;
		ssc0 = &ssc0;
		ssc0 = &ssc0;
		ssc1 = &ssc1;
		ssc1 = &ssc1;
		pwm0 = &pwm0;
	};
	};
	cpus {
	cpus {
		#address-cells = <0>;
		#address-cells = <0>;
@@ -575,6 +576,14 @@
				pinctrl-0 = <&pinctrl_spi1>;
				pinctrl-0 = <&pinctrl_spi1>;
				status = "disabled";
				status = "disabled";
			};
			};

			pwm0: pwm@fffb8000 {
				compatible = "atmel,at91sam9rl-pwm";
				reg = <0xfffb8000 0x300>;
				interrupts = <20 IRQ_TYPE_LEVEL_HIGH 4>;
				#pwm-cells = <3>;
				status = "disabled";
			};
		};
		};


		fb0: fb@0x00700000 {
		fb0: fb@0x00700000 {
+9 −0
Original line number Original line Diff line number Diff line
@@ -37,6 +37,7 @@
		i2c1 = &i2c1;
		i2c1 = &i2c1;
		ssc0 = &ssc0;
		ssc0 = &ssc0;
		ssc1 = &ssc1;
		ssc1 = &ssc1;
		pwm0 = &pwm0;
	};
	};
	cpus {
	cpus {
		#address-cells = <0>;
		#address-cells = <0>;
@@ -670,6 +671,14 @@
				};
				};
			};
			};


			pwm0: pwm@fffb8000 {
				compatible = "atmel,at91sam9rl-pwm";
				reg = <0xfffb8000 0x300>;
				interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
				#pwm-cells = <3>;
				status = "disabled";
			};

			mmc0: mmc@fff80000 {
			mmc0: mmc@fff80000 {
				compatible = "atmel,hsmci";
				compatible = "atmel,hsmci";
				reg = <0xfff80000 0x600>;
				reg = <0xfff80000 0x600>;
+23 −2
Original line number Original line Diff line number Diff line
@@ -105,6 +105,14 @@
							 AT91_PIOD 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;	/* PD29 gpio WP pin pull up */
							 AT91_PIOD 29 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;	/* PD29 gpio WP pin pull up */
					};
					};
				};
				};

				pwm0 {
					pinctrl_pwm_leds: pwm-led {
						atmel,pins =
							<AT91_PIOD 0  AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* PD0 periph B */
							 AT91_PIOD 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>;	/* PD31 periph B */
					};
				};
			};
			};


			spi0: spi@fffa4000{
			spi0: spi@fffa4000{
@@ -121,6 +129,13 @@
				atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>;
				atmel,vbus-gpio = <&pioB 19 GPIO_ACTIVE_HIGH>;
				status = "okay";
				status = "okay";
			};
			};

			pwm0: pwm@fffb8000 {
				status = "okay";

				pinctrl-names = "default";
				pinctrl-0 = <&pinctrl_pwm_leds>;
			};
		};
		};


		fb0: fb@0x00500000 {
		fb0: fb@0x00500000 {
@@ -194,16 +209,22 @@
			gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
			gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
			linux,default-trigger = "heartbeat";
		};
		};
	};

	pwmleds {
		compatible = "pwm-leds";


		d6 {
		d6 {
			label = "d6";
			label = "d6";
			gpios = <&pioD 0 GPIO_ACTIVE_LOW>;
			pwms = <&pwm0 3 5000 0>;
			max-brightness = <255>;
			linux,default-trigger = "nand-disk";
			linux,default-trigger = "nand-disk";
		};
		};


		d7 {
		d7 {
			label = "d7";
			label = "d7";
			gpios = <&pioD 31 GPIO_ACTIVE_LOW>;
			pwms = <&pwm0 1 5000 0>;
			max-brightness = <255>;
			linux,default-trigger = "mmc0";
			linux,default-trigger = "mmc0";
		};
		};
	};
	};
+9 −0
Original line number Original line Diff line number Diff line
@@ -33,6 +33,7 @@
		i2c0 = &i2c0;
		i2c0 = &i2c0;
		i2c1 = &i2c1;
		i2c1 = &i2c1;
		ssc0 = &ssc0;
		ssc0 = &ssc0;
		pwm0 = &pwm0;
	};
	};
	cpus {
	cpus {
		#address-cells = <0>;
		#address-cells = <0>;
@@ -542,6 +543,14 @@
				reg = <0xfffffe40 0x10>;
				reg = <0xfffffe40 0x10>;
				status = "disabled";
				status = "disabled";
			};
			};

			pwm0: pwm@f8034000 {
				compatible = "atmel,at91sam9rl-pwm";
				reg = <0xf8034000 0x300>;
				interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
				#pwm-cells = <3>;
				status = "disabled";
			};
		};
		};


		nand0: nand@40000000 {
		nand0: nand@40000000 {
+9 −0
Original line number Original line Diff line number Diff line
@@ -35,6 +35,7 @@
		i2c1 = &i2c1;
		i2c1 = &i2c1;
		i2c2 = &i2c2;
		i2c2 = &i2c2;
		ssc0 = &ssc0;
		ssc0 = &ssc0;
		pwm0 = &pwm0;
	};
	};
	cpus {
	cpus {
		#address-cells = <0>;
		#address-cells = <0>;
@@ -762,6 +763,14 @@
				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
				status = "disabled";
				status = "disabled";
			};
			};

			pwm0: pwm@f8034000 {
				compatible = "atmel,at91sam9rl-pwm";
				reg = <0xf8034000 0x300>;
				interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
				#pwm-cells = <3>;
				status = "disabled";
			};
		};
		};


		nand0: nand@40000000 {
		nand0: nand@40000000 {
Loading