Skip to contentSkip to conversation

MIPS: DTS: add base device tree for Pistachio SoC

PATCH In review Rahul Bedarkar 3 participants 5 messages Oct 14, 2016 – Nov 18, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 MIPS: DTS: add base device tree for Pistachio SoC

Add support for the base Device Tree for Imagination Technologies' Pistachio SoC.

This commit supports the following peripherals:

* Clocks
* Pinctrl and GPIO
* UART
* SPI
* I2C
* PWM
* ADC
* Watchdog
* Ethernet
* MMC
* DMA engine
* Crypto
* I2S
* SPDIF
* Internal DAC
* Timer
* USB
* IR
* Interrupt Controller

---
Changes in v2:
- No change

---
 MAINTAINERS                           |   2 +-
 arch/mips/boot/dts/img/pistachio.dtsi | 924 ++++++++++++++++++++++++++++++++++
 2 files changed, 925 insertions(+), 1 deletion(-)
 create mode 100644 arch/mips/boot/dts/img/pistachio.dtsi
MAINTAINERS +1 -1
index 207eaef..98bcf06 100644
@@ -9509,7 +9509,7 @@ L:      [email protected]
 S:      Maintained
 F:      arch/mips/pistachio/
 F:      arch/mips/include/asm/mach-pistachio/
-F:      arch/mips/boot/dts/pistachio/
+F:      arch/mips/boot/dts/img/pistachio*
 F:      arch/mips/configs/pistachio*_defconfig
 
 PKTCDVD DRIVER
arch/mips/boot/dts/img/pistachio.dtsi new file +924 -0

924 lines not on this page · raw message

Signature · 1 line
2.6.2
#1 lore raw

PATCH v2 2/2 MIPS: DTS: img: add device tree for Marduk board

Add support for Imagination Technologies' Marduk board which is based on Pistachio SoC. It is also known as Creator Ci40. Marduk is legacy name and will be there for decades.

Documentation for this board can be found on
https://docs.creatordev.io/ci40/

This patch adds initial support for board with following peripherals:

* PWM based heartbeat LED
* GPIO based buttons
* SPI NOR flash on SPI1
* UART0 and UART1
* SD card
* Ethernet
* USB
* PWM
* ADC
* I2C

---
Changes in v2:
- Correct RAM size. It is 256MB instead of 128MB.
- Rename nodes pwm_leds -> leds and gpio_keys -> keys (Suggested by Rob Herring)
- Don't use '_' in node name for internal_dac_supply (Suggested by Rob Herring)
- Add part name in compatible string for spi-nor (Suggested by Rob Herring)

---
 .../bindings/mips/img/pistachio-marduk.txt         |  10 ++
 MAINTAINERS                                        |   6 +
 arch/mips/boot/dts/img/Makefile                    |   9 ++
 arch/mips/boot/dts/img/pistachio_marduk.dts        | 163 +++++++++++++++++++++
 4 files changed, 188 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mips/img/pistachio-marduk.txt
 create mode 100644 arch/mips/boot/dts/img/Makefile
 create mode 100644 arch/mips/boot/dts/img/pistachio_marduk.dts
Documentation/devicetree/bindings/mips/img/pistachio-marduk.txt new file +10 -0
new file mode 100644
index 0000000..2d5126d
@@ -0,0 +1,10 @@
+Imagination Technologies' Pistachio SoC based Marduk Board
+==========================================================
+
+Compatible string must be "img,pistachio-marduk", "img,pistachio"
+
+Hardware and other related documentation is available at
+https://docs.creatordev.io/ci40/
+
+It is also known as Creator Ci40. Marduk is legacy name and will
+be there for decades.
MAINTAINERS +6 -0
index 98bcf06..8e6c962b 100644
@@ -7515,6 +7515,12 @@ W:	http://www.kernel.org/doc/man-pages
 L:	[email protected]
 S:	Maintained
 
+MARDUK (CREATOR CI40) DEVICE TREE SUPPORT
+M:	Rahul Bedarkar <[email protected]>
+L:	[email protected]
+S:	Maintained
+F:	arch/mips/boot/dts/img/pistachio_marduk.dts
+
 MARVELL 88E6XXX ETHERNET SWITCH FABRIC DRIVER
 M:	Andrew Lunn <[email protected]>
 M:	Vivien Didelot <[email protected]>
arch/mips/boot/dts/img/Makefile new file +9 -0
new file mode 100644
index 0000000..69a65f0
@@ -0,0 +1,9 @@
+dtb-$(CONFIG_MACH_PISTACHIO)	+= pistachio_marduk.dtb
+
+obj-y				+= $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+
+# Force kbuild to make empty built-in.o if necessary
+obj-				+= dummy.o
+
+always				:= $(dtb-y)
+clean-files			:= *.dtb *.dtb.S
arch/mips/boot/dts/img/pistachio_marduk.dts new file +163 -0

163 lines not on this page · raw message

Signature · 1 line
2.6.2
maintainer Acked-by on v2 2/2
#2 lore raw

Re: [PATCH v2 2/2] MIPS: DTS: img: add device tree for Marduk board

Quoted 27 lines · Rahul Bedarkar

Add support for Imagination Technologies' Marduk board which is based on Pistachio SoC. It is also known as Creator Ci40. Marduk is legacy name and will be there for decades.

Documentation for this board can be found on
https://docs.creatordev.io/ci40/

This patch adds initial support for board with following peripherals:

* PWM based heartbeat LED
* GPIO based buttons
* SPI NOR flash on SPI1
* UART0 and UART1
* SD card
* Ethernet
* USB
* PWM
* ADC
* I2C

---
Changes in v2:
- Correct RAM size. It is 256MB instead of 128MB.
- Rename nodes pwm_leds -> leds and gpio_keys -> keys (Suggested by Rob Herring)
- Don't use '_' in node name for internal_dac_supply (Suggested by Rob Herring)
- Add part name in compatible string for spi-nor (Suggested by Rob Herring)

Quoted 9 lines
---
 .../bindings/mips/img/pistachio-marduk.txt         |  10 ++
 MAINTAINERS                                        |   6 +
 arch/mips/boot/dts/img/Makefile                    |   9 ++
 arch/mips/boot/dts/img/pistachio_marduk.dts        | 163 +++++++++++++++++++++
 4 files changed, 188 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mips/img/pistachio-marduk.txt
 create mode 100644 arch/mips/boot/dts/img/Makefile
 create mode 100644 arch/mips/boot/dts/img/pistachio_marduk.dts
Acked-by on v2 1/2
#4 lore raw
In reply to Rahul Bedarkar

Hi Rahul,

Quoted 37 lines

-----Original Message-----
From: Rahul Bedarkar
Sent: 14 October 2016 06:56
To: Ralf Baechle; Rob Herring; Mark Rutland; James Hartley
Cc: linux-mips-6z/[email protected]; [email protected]; linux- [email protected]; Rahul Bedarkar
Subject: [PATCH v2 1/2] MIPS: DTS: add base device tree for Pistachio SoC

Add support for the base Device Tree for Imagination Technologies' Pistachio SoC.

This commit supports the following peripherals:

* Clocks
* Pinctrl and GPIO
* UART
* SPI
* I2C
* PWM
* ADC
* Watchdog
* Ethernet
* MMC
* DMA engine
* Crypto
* I2S
* SPDIF
* Internal DAC
* Timer
* USB
* IR
* Interrupt Controller

---
Changes in v2:
- No change

Quoted 6 lines
---
 MAINTAINERS                           |   2 +-
 arch/mips/boot/dts/img/pistachio.dtsi | 924
++++++++++++++++++++++++++++++++++
 2 files changed, 925 insertions(+), 1 deletion(-)  create mode 100644

arch/mips/boot/dts/img/pistachio.dtsi

Thanks for putting this together Rahul.

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Acked-by
#3 lore raw

RE: [PATCH v2 2/2] MIPS: DTS: img: add device tree for Marduk board

In reply to Rob Herring

Hi Rahul,

Quoted 45 lines

-----Original Message-----
From: Rob Herring [mailto:[email protected]]
Sent: 18 October 2016 15:14
To: Rahul Bedarkar
Cc: Ralf Baechle; Mark Rutland; James Hartley; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v2 2/2] MIPS: DTS: img: add device tree for Marduk board

Quoted 20 lines · Rahul Bedarkar

Add support for Imagination Technologies' Marduk board which is based on Pistachio SoC. It is also known as Creator Ci40. Marduk is legacy name and will be there for decades.

Documentation for this board can be found on
https://docs.creatordev.io/ci40/

This patch adds initial support for board with following peripherals:

* PWM based heartbeat LED
* GPIO based buttons
* SPI NOR flash on SPI1
* UART0 and UART1
* SD card
* Ethernet
* USB
* PWM
* ADC
* I2C

Quoted 5 lines

---
Changes in v2:
- Correct RAM size. It is 256MB instead of 128MB.
- Rename nodes pwm_leds -> leds and gpio_keys -> keys (Suggested by

Rob Herring)

Quoted 1 line

- Don't use '_' in node name for internal_dac_supply (Suggested by Rob

Herring)

Quoted 7 lines

- Add part name in compatible string for spi-nor (Suggested by Rob
Herring)

---
 .../bindings/mips/img/pistachio-marduk.txt         |  10 ++
 MAINTAINERS                                        |   6 +
 arch/mips/boot/dts/img/Makefile                    |   9 ++
 arch/mips/boot/dts/img/pistachio_marduk.dts        | 163
Quoted 8 lines

+++++++++++++++++++++

Quoted 5 lines
 4 files changed, 188 insertions(+)
 create mode 100644
Documentation/devicetree/bindings/mips/img/pistachio-marduk.txt
 create mode 100644 arch/mips/boot/dts/img/Makefile  create mode

100644 arch/mips/boot/dts/img/pistachio_marduk.dts