MIPS: DTS: add base device tree for Pistachio SoC
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
@@ -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
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
@@ -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
@@ -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
@@ -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
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
* I2CSigned-off-by Rahul Bedarkar <[email protected]>---
Changes in v2:
- Correct RAM size. It is 256MB instead of 128MB.
- Rename nodespwm_leds-> leds andgpio_keys-> keys (Suggested by Rob Herring)
- Don't use '_' in node name forinternal_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
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 SoCAdd 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 ControllerSigned-off-by Rahul Bedarkar <[email protected]>---
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
James Hartley
Acked-byRE: [PATCH v2 2/2] MIPS: DTS: img: add device tree for Marduk board
In reply to Rob HerringHi 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 boardQuoted 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
* I2CQuoted 5 lines
Signed-off-by Rahul Bedarkar <[email protected]>---
Changes in v2:
- Correct RAM size. It is 256MB instead of 128MB.
- Rename nodespwm_leds-> leds andgpio_keys-> keys (Suggested byRob Herring)
Quoted 1 line
- Don't use '_' in node name for
internal_dac_supply(Suggested by RobHerring)
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 mode100644
arch/mips/boot/dts/img/pistachio_marduk.dtsAcked-by Rob Herring <[email protected]>