Add device nodes for BCM7xxx SoCs
Subsystems (3)
cover Add device nodes for BCM7xxx SoCs
Hi all,
This patch series adds support for Broadcom BCM7xxx MIPS based SoCs.
The NAND device nodes have common file including chip select, BCH and partitions for the reference board with the same properties.
Jaedon Shin (4):
MIPS: BMIPS: Add support PWM device nodes
MIPS: BMIPS: Add support GPIO device nodes
MIPS: BMIPS: Add support SDHCI device nodes
MIPS: BMIPS: Add support NAND device nodes
arch/mips/boot/dts/brcm/bcm7125.dtsi | 46 ++++++++++ arch/mips/boot/dts/brcm/bcm7346.dtsi | 87 +++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7358.dtsi | 79 +++++++++++++++++ arch/mips/boot/dts/brcm/bcm7360.dtsi | 79 +++++++++++++++++ arch/mips/boot/dts/brcm/bcm7362.dtsi | 79 +++++++++++++++++ arch/mips/boot/dts/brcm/bcm7420.dtsi | 54 ++++++++++++ arch/mips/boot/dts/brcm/bcm7425.dtsi | 99 ++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 99 ++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7xxx-nand-cs1-bch8.dtsi | 24 ++++++ arch/mips/boot/dts/brcm/bcm97125cbmb.dts | 13 +++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 25 ++++++ arch/mips/boot/dts/brcm/bcm97358svmb.dts | 21 +++++ arch/mips/boot/dts/brcm/bcm97360svmb.dts | 21 +++++ arch/mips/boot/dts/brcm/bcm97362svmb.dts | 21 +++++ arch/mips/boot/dts/brcm/bcm97420c.dts | 17 ++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 29 +++++++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 29 +++++++ 17 files changed, 822 insertions(+) create mode 100644 arch/mips/boot/dts/brcm/bcm7xxx-nand-cs1-bch8.dtsi
Signature · 1 line
2.9.2
PATCH 1/4 MIPS: BMIPS: Add support PWM device nodes
Adds PWM device nodes to BCM7xxx MIPS based SoCs.
--- arch/mips/boot/dts/brcm/bcm7125.dtsi | 14 ++++++++++++++ arch/mips/boot/dts/brcm/bcm7346.dtsi | 22 ++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7358.dtsi | 22 ++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7360.dtsi | 14 ++++++++++++++ arch/mips/boot/dts/brcm/bcm7362.dtsi | 14 ++++++++++++++ arch/mips/boot/dts/brcm/bcm7420.dtsi | 22 ++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7425.dtsi | 22 ++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 22 ++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm97125cbmb.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 8 ++++++++ arch/mips/boot/dts/brcm/bcm97358svmb.dts | 8 ++++++++ arch/mips/boot/dts/brcm/bcm97360svmb.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97362svmb.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97420c.dts | 8 ++++++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 8 ++++++++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 8 ++++++++ 16 files changed, 204 insertions(+)
arch/mips/boot/dts/brcm/bcm7125.dtsi +14 -0
@@ -40,6 +40,12 @@ #clock-cells = <0>; clock-frequency = <81000000>; }; + + upg_clk: upg_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; }; rdb {
@@ -183,6 +189,14 @@ status = "disabled"; }; + pwma: pwm@406580 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406580 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + ehci0: usb@488300 { compatible = "brcm,bcm7125-ehci", "generic-ehci"; reg = <0x488300 0x100>;
arch/mips/boot/dts/brcm/bcm7346.dtsi +22 -0
@@ -40,6 +40,12 @@ #clock-cells = <0>; clock-frequency = <81000000>; }; + + upg_clk: upg_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; }; rdb {
@@ -210,6 +216,22 @@ status = "disabled"; }; + pwma: pwm@406580 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406580 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + + pwmb: pwm@406800 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406800 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7358.dtsi +22 -0
@@ -34,6 +34,12 @@ #clock-cells = <0>; clock-frequency = <81000000>; }; + + upg_clk: upg_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; }; rdb {
@@ -194,6 +200,22 @@ status = "disabled"; }; + pwma: pwm@406400 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406400 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + + pwmb: pwm@406700 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406700 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7360.dtsi +14 -0
@@ -34,6 +34,12 @@ #clock-cells = <0>; clock-frequency = <81000000>; }; + + upg_clk: upg_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; }; rdb {
@@ -194,6 +200,14 @@ status = "disabled"; }; + pwma: pwm@406400 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406400 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7362.dtsi +14 -0
@@ -40,6 +40,12 @@ #clock-cells = <0>; clock-frequency = <81000000>; }; + + upg_clk: upg_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; }; rdb {
@@ -190,6 +196,14 @@ status = "disabled"; }; + pwma: pwm@406400 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406400 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7420.dtsi +22 -0
@@ -40,6 +40,12 @@ #clock-cells = <0>; clock-frequency = <81000000>; }; + + upg_clk: upg_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; }; rdb {
@@ -191,6 +197,22 @@ status = "disabled"; }; + pwma: pwm@406580 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406580 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + + pwmb: pwm@406880 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406880 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + enet0: ethernet@468000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7425.dtsi +22 -0
@@ -40,6 +40,12 @@ #clock-cells = <0>; clock-frequency = <81000000>; }; + + upg_clk: upg_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; }; rdb {
@@ -209,6 +215,22 @@ status = "disabled"; }; + pwma: pwm@406580 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406580 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + + pwmb: pwm@406800 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406800 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + enet0: ethernet@b80000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7435.dtsi +22 -0
@@ -52,6 +52,12 @@ #clock-cells = <0>; clock-frequency = <81000000>; }; + + upg_clk: upg_clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; }; rdb {
@@ -224,6 +230,22 @@ status = "disabled"; }; + pwma: pwm@406580 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406580 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + + pwmb: pwm@406800 { + compatible = "brcm,bcm7038-pwm"; + reg = <0x406800 0x28>; + #pwm-cells = <2>; + clocks = <&upg_clk>; + status = "disabled"; + }; + enet0: ethernet@b80000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm97125cbmb.dts +4 -0
@@ -45,6 +45,10 @@ status = "okay"; }; +&pwma { + status = "okay"; +}; + /* FIXME: USB is wonky; disable it for now */ &ehci0 { status = "disabled";
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +8 -0
@@ -49,6 +49,14 @@ status = "okay"; }; +&pwma { + status = "okay"; +}; + +&pwmb { + status = "okay"; +}; + &enet0 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97358svmb.dts +8 -0
@@ -45,6 +45,14 @@ status = "okay"; }; +&pwma { + status = "okay"; +}; + +&pwmb { + status = "okay"; +}; + &enet0 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97360svmb.dts +4 -0
@@ -45,6 +45,10 @@ status = "okay"; }; +&pwma { + status = "okay"; +}; + &enet0 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97362svmb.dts +4 -0
@@ -41,6 +41,10 @@ status = "okay"; }; +&pwma { + status = "okay"; +}; + &enet0 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97420c.dts +8 -0
@@ -51,6 +51,14 @@ status = "okay"; }; +&pwma { + status = "okay"; +}; + +&pwmb { + status = "okay"; +}; + /* FIXME: MAC driver comes up but cannot attach to PHY */ &enet0 { status = "disabled";
arch/mips/boot/dts/brcm/bcm97425svmb.dts +8 -0
@@ -51,6 +51,14 @@ status = "okay"; }; +&pwma { + status = "okay"; +}; + +&pwmb { + status = "okay"; +}; + &enet0 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97435svmb.dts +8 -0
@@ -51,6 +51,14 @@ status = "okay"; }; +&pwma { + status = "okay"; +}; + +&pwmb { + status = "okay"; +}; + &enet0 { status = "okay"; };
Signature · 1 line
2.9.2
PATCH 2/4 MIPS: BMIPS: Add support GPIO device nodes
In reply to Jaedon ShinAdds GPIO device nodes to BCM7xxx MIPS based SoCs.
--- arch/mips/boot/dts/brcm/bcm7125.dtsi | 12 ++++++++++ arch/mips/boot/dts/brcm/bcm7346.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7358.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7360.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7362.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7420.dtsi | 12 ++++++++++ arch/mips/boot/dts/brcm/bcm7425.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm97125cbmb.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97358svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97360svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97362svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97420c.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 8 +++++++ 16 files changed, 302 insertions(+)
arch/mips/boot/dts/brcm/bcm7125.dtsi +12 -0
@@ -197,6 +197,18 @@ status = "disabled"; }; + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 18>; + }; + ehci0: usb@488300 { compatible = "brcm,bcm7125-ehci", "generic-ehci"; reg = <0x488300 0x100>;
arch/mips/boot/dts/brcm/bcm7346.dtsi +37 -0
@@ -232,6 +232,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 { + compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <52>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 16>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <27 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7358.dtsi +37 -0
@@ -216,6 +216,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408240 { + compatible = "brcm,l2-intc"; + reg = <0x408240 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <49>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406500 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406500 0xa0>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 29 4>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <21 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7360.dtsi +37 -0
@@ -208,6 +208,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 { + compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <49>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406500 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406500 0xa0>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 29 4>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <21 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7362.dtsi +37 -0
@@ -204,6 +204,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 { + compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <49>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406500 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406500 0xa0>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 29 4>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <21 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7420.dtsi +12 -0
@@ -213,6 +213,18 @@ status = "disabled"; }; + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 27>; + }; + enet0: ethernet@468000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7425.dtsi +37 -0
@@ -231,6 +231,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 { + compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <48>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 21>; + }; + + upg_gio_aon: gpio@4094c0 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x4094c0 0x40>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <18 4>; + }; + enet0: ethernet@b80000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm7435.dtsi +37 -0
@@ -246,6 +246,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 { + compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <53>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 21>; + }; + + upg_gio_aon: gpio@4094c0 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x4094c0 0x40>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <18 4>; + }; + enet0: ethernet@b80000 { phy-mode = "internal"; phy-handle = <&phy1>;
arch/mips/boot/dts/brcm/bcm97125cbmb.dts +4 -0
@@ -49,6 +49,10 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; + /* FIXME: USB is wonky; disable it for now */ &ehci0 { status = "disabled";
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +8 -0
@@ -57,6 +57,14 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; + &enet0 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97358svmb.dts +8 -0
@@ -53,6 +53,14 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; + &enet0 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97360svmb.dts +8 -0
@@ -49,6 +49,14 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; + &enet0 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97362svmb.dts +8 -0
@@ -45,6 +45,14 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; + &enet0 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97420c.dts +4 -0
@@ -59,6 +59,10 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; + /* FIXME: MAC driver comes up but cannot attach to PHY */ &enet0 { status = "disabled";
arch/mips/boot/dts/brcm/bcm97425svmb.dts +8 -0
@@ -59,6 +59,14 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; + &enet0 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97435svmb.dts +8 -0
@@ -59,6 +59,14 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; + &enet0 { status = "okay"; };
Signature · 1 line
2.9.2
PATCH 3/4 MIPS: BMIPS: Add support SDHCI device nodes
In reply to Jaedon ShinAdds SDHCI device nodes to BCM7xxx MIPS based SoCs.
--- arch/mips/boot/dts/brcm/bcm7346.dtsi | 8 ++++++++ arch/mips/boot/dts/brcm/bcm7360.dtsi | 8 ++++++++ arch/mips/boot/dts/brcm/bcm7362.dtsi | 8 ++++++++ arch/mips/boot/dts/brcm/bcm7425.dtsi | 20 ++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 20 ++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97360svmb.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97362svmb.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 8 ++++++++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 8 ++++++++ 10 files changed, 92 insertions(+)
arch/mips/boot/dts/brcm/bcm7346.dtsi +8 -0
@@ -411,5 +411,13 @@ #phy-cells = <0>; }; }; + + sdhci0: sdhci@413500 { + compatible = "brcm,bcm7425-sdhci"; + reg = <0x413500 0x100>; + interrupt-parent = <&periph_intc>; + interrupts = <85>; + status = "disabled"; + }; }; };
arch/mips/boot/dts/brcm/bcm7360.dtsi +8 -0
@@ -330,5 +330,13 @@ #phy-cells = <0>; }; }; + + sdhci0: sdhci@410000 { + compatible = "brcm,bcm7425-sdhci"; + reg = <0x410000 0x100>; + interrupt-parent = <&periph_intc>; + interrupts = <82>; + status = "disabled"; + }; }; };
arch/mips/boot/dts/brcm/bcm7362.dtsi +8 -0
@@ -326,5 +326,13 @@ #phy-cells = <0>; }; }; + + sdhci0: sdhci@410000 { + compatible = "brcm,bcm7425-sdhci"; + reg = <0x410000 0x100>; + interrupt-parent = <&periph_intc>; + interrupts = <82>; + status = "disabled"; + }; }; };
arch/mips/boot/dts/brcm/bcm7425.dtsi +20 -0
@@ -410,5 +410,25 @@ #phy-cells = <0>; }; }; + + sdhci0: sdhci@419000 { + compatible = "brcm,bcm7425-sdhci"; + reg = <0x419000 0x100>; + interrupt-parent = <&periph_intc>; + interrupts = <43>; + sd-uhs-sdr50; + mmc-hs200-1_8v; + status = "disabled"; + }; + + sdhci1: sdhci@419200 { + compatible = "brcm,bcm7425-sdhci"; + reg = <0x419200 0x100>; + interrupt-parent = <&periph_intc>; + interrupts = <44>; + sd-uhs-sdr50; + mmc-hs200-1_8v; + status = "disabled"; + }; }; };
arch/mips/boot/dts/brcm/bcm7435.dtsi +20 -0
@@ -425,5 +425,25 @@ #phy-cells = <0>; }; }; + + sdhci0: sdhci@41a000 { + compatible = "brcm,bcm7425-sdhci"; + reg = <0x41a000 0x100>; + interrupt-parent = <&periph_intc>; + interrupts = <47>; + sd-uhs-sdr50; + mmc-hs200-1_8v; + status = "disabled"; + }; + + sdhci1: sdhci@41a200 { + compatible = "brcm,bcm7425-sdhci"; + reg = <0x41a200 0x100>; + interrupt-parent = <&periph_intc>; + interrupts = <48>; + sd-uhs-sdr50; + mmc-hs200-1_8v; + status = "disabled"; + }; }; };
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +4 -0
@@ -108,3 +108,7 @@ &sata_phy { status = "okay"; }; + +&sdhci0 { + status = "okay"; +};
arch/mips/boot/dts/brcm/bcm97360svmb.dts +4 -0
@@ -76,3 +76,7 @@ &sata_phy { status = "okay"; }; + +&sdhci0 { + status = "okay"; +};
arch/mips/boot/dts/brcm/bcm97362svmb.dts +4 -0
@@ -72,3 +72,7 @@ &sata_phy { status = "okay"; }; + +&sdhci0 { + status = "okay"; +};
arch/mips/boot/dts/brcm/bcm97425svmb.dts +8 -0
@@ -102,3 +102,11 @@ &ohci3 { status = "okay"; }; + +&sdhci0 { + status = "okay"; +}; + +&sdhci1 { + status = "okay"; +};
arch/mips/boot/dts/brcm/bcm97435svmb.dts +8 -0
@@ -110,3 +110,11 @@ &sata_phy { status = "okay"; }; + +&sdhci0 { + status = "okay"; +}; + +&sdhci1 { + status = "okay"; +};
Signature · 1 line
2.9.2
PATCH 4/4 MIPS: BMIPS: Add support NAND device nodes
In reply to Jaedon ShinAdds NAND device nodes to BCM7xxx MIPS based SoCs.
--- arch/mips/boot/dts/brcm/bcm7125.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7346.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7358.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7360.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7362.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7420.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7425.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7xxx-nand-cs1-bch8.dtsi | 24 ++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm97125cbmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97358svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97360svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97362svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97420c.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 5 +++++ 17 files changed, 224 insertions(+) create mode 100644 arch/mips/boot/dts/brcm/bcm7xxx-nand-cs1-bch8.dtsi
arch/mips/boot/dts/brcm/bcm7125.dtsi +20 -0
@@ -226,5 +226,25 @@ interrupts = <61>; status = "disabled"; }; + + hif_l2_intc: hif_l2_intc@411000 { + compatible = "brcm,l2-intc"; + reg = <0x411000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <0>; + }; + + nand: nand@412800 { + compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand"; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "nand"; + reg = <0x412800 0x400>; + interrupt-parent = <&hif_l2_intc>; + interrupts = <24>; + status = "disabled"; + }; }; };
arch/mips/boot/dts/brcm/bcm7346.dtsi +20 -0
@@ -372,6 +372,26 @@ status = "disabled"; }; + hif_l2_intc: hif_l2_intc@411000 { + compatible = "brcm,l2-intc"; + reg = <0x411000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <30>; + }; + + nand: nand@412800 { + compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand"; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "nand"; + reg = <0x412800 0x400>; + interrupt-parent = <&hif_l2_intc>; + interrupts = <24>; + status = "disabled"; + }; + sata: sata@181000 { compatible = "brcm,bcm7425-ahci", "brcm,sata3-ahci"; reg-names = "ahci", "top-ctrl";
arch/mips/boot/dts/brcm/bcm7358.dtsi +20 -0
@@ -298,5 +298,25 @@ interrupts = <66>; status = "disabled"; }; + + hif_l2_intc: hif_l2_intc@411000 { + compatible = "brcm,l2-intc"; + reg = <0x411000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <30>; + }; + + nand: nand@412800 { + compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand"; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "nand"; + reg = <0x412800 0x400>; + interrupt-parent = <&hif_l2_intc>; + interrupts = <24>; + status = "disabled"; + }; }; };
arch/mips/boot/dts/brcm/bcm7360.dtsi +20 -0
@@ -291,6 +291,26 @@ status = "disabled"; }; + hif_l2_intc: hif_l2_intc@411000 { + compatible = "brcm,l2-intc"; + reg = <0x411000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <30>; + }; + + nand: nand@412800 { + compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand"; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "nand"; + reg = <0x412800 0x400>; + interrupt-parent = <&hif_l2_intc>; + interrupts = <24>; + status = "disabled"; + }; + sata: sata@181000 { compatible = "brcm,bcm7425-ahci", "brcm,sata3-ahci"; reg-names = "ahci", "top-ctrl";
arch/mips/boot/dts/brcm/bcm7362.dtsi +20 -0
@@ -287,6 +287,26 @@ status = "disabled"; }; + hif_l2_intc: hif_l2_intc@411000 { + compatible = "brcm,l2-intc"; + reg = <0x411000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <30>; + }; + + nand: nand@412800 { + compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand"; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "nand"; + reg = <0x412800 0x400>; + interrupt-parent = <&hif_l2_intc>; + interrupts = <24>; + status = "disabled"; + }; + sata: sata@181000 { compatible = "brcm,bcm7425-ahci", "brcm,sata3-ahci"; reg-names = "ahci", "top-ctrl";
arch/mips/boot/dts/brcm/bcm7420.dtsi +20 -0
@@ -287,5 +287,25 @@ interrupts = <62>; status = "disabled"; }; + + hif_l2_intc: hif_l2_intc@411000 { + compatible = "brcm,l2-intc"; + reg = <0x411000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <0>; + }; + + nand: nand@412800 { + compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand"; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "nand"; + reg = <0x412800 0x400>; + interrupt-parent = <&hif_l2_intc>; + interrupts = <24>; + status = "disabled"; + }; }; };
arch/mips/boot/dts/brcm/bcm7425.dtsi +20 -0
@@ -371,6 +371,26 @@ status = "disabled"; }; + hif_l2_intc: hif_l2_intc@41a000 { + compatible = "brcm,l2-intc"; + reg = <0x41a000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <24>; + }; + + nand: nand@41b800 { + compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand"; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "nand"; + reg = <0x41b800 0x400>; + interrupt-parent = <&hif_l2_intc>; + interrupts = <24>; + status = "disabled"; + }; + sata: sata@181000 { compatible = "brcm,bcm7425-ahci", "brcm,sata3-ahci"; reg-names = "ahci", "top-ctrl";
arch/mips/boot/dts/brcm/bcm7435.dtsi +20 -0
@@ -386,6 +386,26 @@ status = "disabled"; }; + hif_l2_intc: hif_l2_intc@41b000 { + compatible = "brcm,l2-intc"; + reg = <0x41b000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <24>; + }; + + nand: nand@41c800 { + compatible = "brcm,brcmnand-v6.2", "brcm,brcmnand"; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "nand", "flash-dma"; + reg = <0x41c800 0x600>, <0x41d000 0x100>; + interrupt-parent = <&hif_l2_intc>; + interrupts = <24>, <4>; + status = "disabled"; + }; + sata: sata@181000 { compatible = "brcm,bcm7425-ahci", "brcm,sata3-ahci"; reg-names = "ahci", "top-ctrl";
arch/mips/boot/dts/brcm/bcm7xxx-nand-cs1-bch8.dtsi new file +24 -0
@@ -0,0 +1,24 @@ +&nand { + nandcs@1 { + compatible = "brcm,nandcs"; + reg = <1>; + + nand-ecc-step-size = <512>; + nand-ecc-strength = <8>; + nand-on-flash-bbt; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + flash1.rootfs@0 { + reg = <0x0 0x10000000>; + }; + + flash1.kernel@10000000 { + reg = <0x10000000 0x400000>; + }; + }; + }; +};
arch/mips/boot/dts/brcm/bcm97125cbmb.dts +5 -0
@@ -1,6 +1,7 @@ /dts-v1/; /include/ "bcm7125.dtsi" +/include/ "bcm7xxx-nand-cs1-bch8.dtsi" / { compatible = "brcm,bcm97125cbmb", "brcm,bcm7125";
@@ -61,3 +62,7 @@ &ohci0 { status = "disabled"; }; + +&nand { + status = "okay"; +};
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +5 -0
@@ -1,6 +1,7 @@ /dts-v1/; /include/ "bcm7346.dtsi" +/include/ "bcm7xxx-nand-cs1-bch8.dtsi" / { compatible = "brcm,bcm97346dbsmb", "brcm,bcm7346";
@@ -101,6 +102,10 @@ status = "okay"; }; +&nand { + status = "okay"; +}; + &sata { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97358svmb.dts +5 -0
@@ -1,6 +1,7 @@ /dts-v1/; /include/ "bcm7358.dtsi" +/include/ "bcm7xxx-nand-cs1-bch8.dtsi" / { compatible = "brcm,bcm97358svmb", "brcm,bcm7358";
@@ -72,3 +73,7 @@ &ohci0 { status = "okay"; }; + +&nand { + status = "okay"; +};
arch/mips/boot/dts/brcm/bcm97360svmb.dts +5 -0
@@ -1,6 +1,7 @@ /dts-v1/; /include/ "bcm7360.dtsi" +/include/ "bcm7xxx-nand-cs1-bch8.dtsi" / { compatible = "brcm,bcm97360svmb", "brcm,bcm7360";
@@ -69,6 +70,10 @@ status = "okay"; }; +&nand { + status = "okay"; +}; + &sata { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97362svmb.dts +5 -0
@@ -1,6 +1,7 @@ /dts-v1/; /include/ "bcm7362.dtsi" +/include/ "bcm7xxx-nand-cs1-bch8.dtsi" / { compatible = "brcm,bcm97362svmb", "brcm,bcm7362";
@@ -65,6 +66,10 @@ status = "okay"; }; +&nand { + status = "okay"; +}; + &sata { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97420c.dts +5 -0
@@ -1,6 +1,7 @@ /dts-v1/; /include/ "bcm7420.dtsi" +/include/ "bcm7xxx-nand-cs1-bch8.dtsi" / { compatible = "brcm,bcm97420c", "brcm,bcm7420";
@@ -76,6 +77,10 @@ status = "okay"; }; +&nand { + status = "okay"; +}; + &ehci1 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97425svmb.dts +5 -0
@@ -1,6 +1,7 @@ /dts-v1/; /include/ "bcm7425.dtsi" +/include/ "bcm7xxx-nand-cs1-bch8.dtsi" / { compatible = "brcm,bcm97425svmb", "brcm,bcm7425";
@@ -103,6 +104,10 @@ status = "okay"; }; +&nand { + status = "okay"; +}; + &sdhci0 { status = "okay"; };
arch/mips/boot/dts/brcm/bcm97435svmb.dts +5 -0
@@ -1,6 +1,7 @@ /dts-v1/; /include/ "bcm7435.dtsi" +/include/ "bcm7xxx-nand-cs1-bch8.dtsi" / { compatible = "brcm,bcm97435svmb", "brcm,bcm7435";
@@ -103,6 +104,10 @@ status = "okay"; }; +&nand { + status = "okay"; +}; + &sata { status = "okay"; };
Signature · 1 line
2.9.2
Re: [PATCH 2/4] MIPS: BMIPS: Add support GPIO device nodes
In reply to a message not in the archiveHi,
please always include devicetree for any dts(i) related changes.
Quoted 50 lines · Jaedon Shin
Adds GPIO device nodes to BCM7xxx MIPS based SoCs.
Signed-off-by Jaedon Shin <[email protected]>--- arch/mips/boot/dts/brcm/bcm7125.dtsi | 12 ++++++++++ arch/mips/boot/dts/brcm/bcm7346.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7358.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7360.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7362.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7420.dtsi | 12 ++++++++++ arch/mips/boot/dts/brcm/bcm7425.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm97125cbmb.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97358svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97360svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97362svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97420c.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 8 +++++++ 16 files changed, 302 insertions(+)arch/mips/boot/dts/brcm/bcm7125.dtsi +12
-0@@ -197,6 +197,18 @@ status = "disabled"; }; + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 18>; + }; + ehci0: usb@488300 { compatible = "brcm,bcm7125-ehci", "generic-ehci"; reg = <0x488300 0x100>;arch/mips/boot/dts/brcm/bcm7346.dtsi +0
-0
arch/mips/boot/dts/brcm/bcm7346.dtsi line 235
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7346.dtsi +1
-0@@ -232,6 +232,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 {
interrupt-controller@
Quoted 44 lines
arch/mips/boot/dts/brcm/bcm7346.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <52>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 16>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <27 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7358.dtsi +0
-0
arch/mips/boot/dts/brcm/bcm7358.dtsi line 219
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7358.dtsi +1
-0@@ -216,6 +216,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408240 {
interrupt-controller@
Quoted 44 lines
arch/mips/boot/dts/brcm/bcm7358.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408240 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <49>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406500 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406500 0xa0>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 29 4>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <21 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7360.dtsi +0
-0
arch/mips/boot/dts/brcm/bcm7360.dtsi line 211
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7360.dtsi +1
-0@@ -208,6 +208,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 {
interrupt-controller@
Quoted 44 lines
arch/mips/boot/dts/brcm/bcm7360.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <49>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406500 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406500 0xa0>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 29 4>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <21 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7362.dtsi +0
-0
arch/mips/boot/dts/brcm/bcm7362.dtsi line 207
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7362.dtsi +1
-0@@ -204,6 +204,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 {
interrupt-controller@
Quoted 67 lines
arch/mips/boot/dts/brcm/bcm7362.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <49>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406500 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406500 0xa0>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 29 4>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <21 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7420.dtsi +12
-0@@ -213,6 +213,18 @@ status = "disabled"; }; + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 27>; + }; + enet0: ethernet@468000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7425.dtsi +0
-0
arch/mips/boot/dts/brcm/bcm7425.dtsi line 234
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7425.dtsi +1
-0@@ -231,6 +231,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 {
interrupt-controller@
Quoted 44 lines
arch/mips/boot/dts/brcm/bcm7425.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <48>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 21>; + }; + + upg_gio_aon: gpio@4094c0 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x4094c0 0x40>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <18 4>; + }; + enet0: ethernet@b80000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7435.dtsi +0
-0
arch/mips/boot/dts/brcm/bcm7435.dtsi line 249
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7435.dtsi +1
-0@@ -246,6 +246,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 {
interrupt-controller@
Quoted 44 lines
arch/mips/boot/dts/brcm/bcm7435.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <53>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 21>; + }; + + upg_gio_aon: gpio@4094c0 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x4094c0 0x40>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <18 4>; + }; + enet0: ethernet@b80000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm97125cbmb.dts +0
-0
arch/mips/boot/dts/brcm/bcm97125cbmb.dts line 55
Quoted 7 lines
arch/mips/boot/dts/brcm/bcm97125cbmb.dts +4
-0@@ -49,6 +49,10 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; +
You don't set its status in the dtsi, it will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97125cbmb.dts +0
-0/* FIXME: USB is wonky; disable it for now */ &ehci0 { status = "disabled";arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +0
-0@@ -57,6 +57,14 @@ status = "okay";
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts line 67
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +
You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +0
-0&enet0 { status = "okay"; };arch/mips/boot/dts/brcm/bcm97358svmb.dts +0
-0@@ -53,6 +53,14 @@ status = "okay";
arch/mips/boot/dts/brcm/bcm97358svmb.dts line 63
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97358svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +
You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97358svmb.dts +0
-0&enet0 { status = "okay"; };arch/mips/boot/dts/brcm/bcm97360svmb.dts +0
-0@@ -49,6 +49,14 @@ status = "okay";
arch/mips/boot/dts/brcm/bcm97360svmb.dts line 59
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97360svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +
You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97360svmb.dts +0
-0&enet0 { status = "okay"; };arch/mips/boot/dts/brcm/bcm97362svmb.dts +0
-0@@ -45,6 +45,14 @@ status = "okay";
arch/mips/boot/dts/brcm/bcm97362svmb.dts line 55
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97362svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +
You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 8 lines
arch/mips/boot/dts/brcm/bcm97362svmb.dts +0
-0&enet0 { status = "okay"; };arch/mips/boot/dts/brcm/bcm97420c.dts +0
-0
arch/mips/boot/dts/brcm/bcm97420c.dts line 65
Quoted 7 lines
arch/mips/boot/dts/brcm/bcm97420c.dts +4
-0@@ -59,6 +59,10 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; +
You don't set its status in the dtsi, it will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97420c.dts +0
-0/* FIXME: MAC driver comes up but cannot attach to PHY */ &enet0 { status = "disabled";arch/mips/boot/dts/brcm/bcm97425svmb.dts +0
-0@@ -59,6 +59,14 @@ status = "okay";
arch/mips/boot/dts/brcm/bcm97425svmb.dts line 69
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97425svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +
You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97425svmb.dts +0
-0&enet0 { status = "okay"; };arch/mips/boot/dts/brcm/bcm97435svmb.dts +0
-0@@ -59,6 +59,14 @@ status = "okay";
arch/mips/boot/dts/brcm/bcm97435svmb.dts line 69
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97435svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +
You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
arch/mips/boot/dts/brcm/bcm97435svmb.dts line 72
Quoted 3 lines
arch/mips/boot/dts/brcm/bcm97435svmb.dts +0
-0&enet0 { status = "okay"; };
Regards
Jonas
--
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
Re: [PATCH 4/4] MIPS: BMIPS: Add support NAND device nodes
In reply to Jaedon ShinQuoted 42 lines · Jaedon Shin
Adds NAND device nodes to BCM7xxx MIPS based SoCs.
Signed-off-by Jaedon Shin <[email protected]>--- arch/mips/boot/dts/brcm/bcm7125.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7346.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7358.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7360.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7362.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7420.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7425.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7xxx-nand-cs1-bch8.dtsi | 24 ++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm97125cbmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97358svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97360svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97362svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97420c.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 5 +++++ 17 files changed, 224 insertions(+) create mode 100644 arch/mips/boot/dts/brcm/bcm7xxx-nand-cs1-bch8.dtsiarch/mips/boot/dts/brcm/bcm7125.dtsi +10
-0@@ -226,5 +226,25 @@ interrupts = <61>; status = "disabled"; }; + + hif_l2_intc: hif_l2_intc@411000 { + compatible = "brcm,l2-intc"; + reg = <0x411000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <0>; + }; +
arch/mips/boot/dts/brcm/bcm7125.dtsi line 248
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm7125.dtsi +10
-0+ nand: nand@412800 { + compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand"; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "nand"; + reg = <0x412800 0x400>; + interrupt-parent = <&hif_l2_intc>; + interrupts = <24>; + status = "disabled"; + };
This is a NAND v3.3 controller here not a v5.0 and it uses the EDU registers for DMA transfers which is not supported in the mainline driver, so with that dropped, the series looks fine. At any rate this would require additional brcmnand changes to be supported.
Signature · 1 line
Florian
Re: [PATCH 4/4] MIPS: BMIPS: Add support NAND device nodes
Quoted 50 lines · Florian Fainelli
Quoted 49 lines · Jaedon Shin
Adds NAND device nodes to BCM7xxx MIPS based SoCs.
Signed-off-by Jaedon Shin <[email protected]>--- arch/mips/boot/dts/brcm/bcm7125.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7346.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7358.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7360.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7362.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7420.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7425.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7xxx-nand-cs1-bch8.dtsi | 24 ++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm97125cbmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97358svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97360svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97362svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97420c.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 5 +++++ 17 files changed, 224 insertions(+) create mode 100644 arch/mips/boot/dts/brcm/bcm7xxx-nand-cs1-bch8.dtsiarch/mips/boot/dts/brcm/bcm7125.dtsi +17
-0@@ -226,5 +226,25 @@ interrupts = <61>; status = "disabled"; }; + + hif_l2_intc: hif_l2_intc@411000 { + compatible = "brcm,l2-intc"; + reg = <0x411000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <0>; + }; + + nand: nand@412800 { + compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand"; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "nand"; + reg = <0x412800 0x400>; + interrupt-parent = <&hif_l2_intc>;
Quoted 8 lines
arch/mips/boot/dts/brcm/bcm7125.dtsi line 248
Quoted 3 lines
arch/mips/boot/dts/brcm/bcm7125.dtsi +3
-0+ interrupts = <24>; + status = "disabled"; + };This is a NAND v3.3 controller here not a v5.0 and it uses the EDU registers for DMA transfers which is not supported in the mainline driver, so with that dropped, the series looks fine. At any rate this would require additional brcmnand changes to be supported.
The same applies to the 7420 DTS, it's also a v3.3 NAND controller
Signature · 1 line
Florian
Re: [PATCH 2/4] MIPS: BMIPS: Add support GPIO device nodes
In reply to a message not in the archiveHi Jonas,
Quoted 553 lines · Jonas Gorski
Hi,
please always include devicetree for any dts(i) related changes.
Quoted 50 lines · Jaedon Shin
Adds GPIO device nodes to BCM7xxx MIPS based SoCs.
Signed-off-by Jaedon Shin <[email protected]>---
arch/mips/boot/dts/brcm/bcm7125.dtsi | 12 ++++++++++ arch/mips/boot/dts/brcm/bcm7346.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7358.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7360.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7362.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7420.dtsi | 12 ++++++++++ arch/mips/boot/dts/brcm/bcm7425.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 37 +++++++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm97125cbmb.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97358svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97360svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97362svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97420c.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 8 +++++++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 8 +++++++ 16 files changed, 302 insertions(+)arch/mips/boot/dts/brcm/bcm7125.dtsi +12
-0@@ -197,6 +197,18 @@ status = "disabled"; }; + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 18>; + }; + ehci0: usb@488300 { compatible = "brcm,bcm7125-ehci", "generic-ehci"; reg = <0x488300 0x100>;arch/mips/boot/dts/brcm/bcm7346.dtsi +0
-0arch/mips/boot/dts/brcm/bcm7346.dtsi line 235
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7346.dtsi +1
-0@@ -232,6 +232,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 {interrupt-controller@
Quoted 44 lines
arch/mips/boot/dts/brcm/bcm7346.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <52>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 16>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <27 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7358.dtsi +0
-0arch/mips/boot/dts/brcm/bcm7358.dtsi line 219
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7358.dtsi +1
-0@@ -216,6 +216,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408240 {interrupt-controller@
Quoted 44 lines
arch/mips/boot/dts/brcm/bcm7358.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408240 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <49>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406500 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406500 0xa0>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 29 4>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <21 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7360.dtsi +0
-0arch/mips/boot/dts/brcm/bcm7360.dtsi line 211
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7360.dtsi +1
-0@@ -208,6 +208,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 {interrupt-controller@
Quoted 44 lines
arch/mips/boot/dts/brcm/bcm7360.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <49>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406500 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406500 0xa0>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 29 4>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <21 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7362.dtsi +0
-0arch/mips/boot/dts/brcm/bcm7362.dtsi line 207
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7362.dtsi +1
-0@@ -204,6 +204,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 {interrupt-controller@
Quoted 67 lines
arch/mips/boot/dts/brcm/bcm7362.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <49>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406500 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406500 0xa0>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 29 4>; + }; + + upg_gio_aon: gpio@408c00 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x408c00 0x60>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <21 32 2>; + }; + enet0: ethernet@430000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7420.dtsi +12
-0@@ -213,6 +213,18 @@ status = "disabled"; }; + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 27>; + }; + enet0: ethernet@468000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7425.dtsi +0
-0arch/mips/boot/dts/brcm/bcm7425.dtsi line 234
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7425.dtsi +1
-0@@ -231,6 +231,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 {interrupt-controller@
Quoted 44 lines
arch/mips/boot/dts/brcm/bcm7425.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <48>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 21>; + }; + + upg_gio_aon: gpio@4094c0 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x4094c0 0x40>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <18 4>; + }; + enet0: ethernet@b80000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm7435.dtsi +0
-0arch/mips/boot/dts/brcm/bcm7435.dtsi line 249
Quoted 4 lines
arch/mips/boot/dts/brcm/bcm7435.dtsi +1
-0@@ -246,6 +246,43 @@ status = "disabled"; }; + aon_pm_l2_intc: aon_pm_l2_intc@408440 {interrupt-controller@
Quoted 44 lines
arch/mips/boot/dts/brcm/bcm7435.dtsi +36
-0+ compatible = "brcm,l2-intc"; + reg = <0x408440 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <53>; + brcm,irq-can-wake; + }; + + upg_gio: gpio@406700 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x406700 0x80>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_irq0_intc>; + interrupts = <6>; + brcm,gpio-bank-widths = <32 32 32 21>; + }; + + upg_gio_aon: gpio@4094c0 { + compatible = "brcm,brcmstb-gpio"; + reg = <0x4094c0 0x40>; + #gpio-cells = <2>; + #interrupt-cells = <2>; + gpio-controller; + interrupt-controller; + interrupt-parent = <&upg_aon_irq0_intc>; + interrupts = <6>; + interrupts-extended = <&upg_aon_irq0_intc 6>, + <&aon_pm_l2_intc 5>; + wakeup-source; + brcm,gpio-bank-widths = <18 4>; + }; + enet0: ethernet@b80000 { phy-mode = "internal"; phy-handle = <&phy1>;arch/mips/boot/dts/brcm/bcm97125cbmb.dts +0
-0arch/mips/boot/dts/brcm/bcm97125cbmb.dts line 55
Quoted 7 lines
arch/mips/boot/dts/brcm/bcm97125cbmb.dts +4
-0@@ -49,6 +49,10 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; +You don't set its status in the dtsi, it will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97125cbmb.dts +0
-0/* FIXME: USB is wonky; disable it for now */ &ehci0 { status = "disabled";arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +0
-0@@ -57,6 +57,14 @@ status = "okay";arch/mips/boot/dts/brcm/bcm97346dbsmb.dts line 67
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97346dbsmb.dts +0
-0&enet0 { status = "okay"; };arch/mips/boot/dts/brcm/bcm97358svmb.dts +0
-0@@ -53,6 +53,14 @@ status = "okay";arch/mips/boot/dts/brcm/bcm97358svmb.dts line 63
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97358svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97358svmb.dts +0
-0&enet0 { status = "okay"; };arch/mips/boot/dts/brcm/bcm97360svmb.dts +0
-0@@ -49,6 +49,14 @@ status = "okay";arch/mips/boot/dts/brcm/bcm97360svmb.dts line 59
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97360svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97360svmb.dts +0
-0&enet0 { status = "okay"; };arch/mips/boot/dts/brcm/bcm97362svmb.dts +0
-0@@ -45,6 +45,14 @@ status = "okay";arch/mips/boot/dts/brcm/bcm97362svmb.dts line 55
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97362svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 8 lines
arch/mips/boot/dts/brcm/bcm97362svmb.dts +0
-0&enet0 { status = "okay"; };arch/mips/boot/dts/brcm/bcm97420c.dts +0
-0arch/mips/boot/dts/brcm/bcm97420c.dts line 65
Quoted 7 lines
arch/mips/boot/dts/brcm/bcm97420c.dts +4
-0@@ -59,6 +59,10 @@ status = "okay"; }; +&upg_gio { + status = "okay"; +}; +You don't set its status in the dtsi, it will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97420c.dts +0
-0/* FIXME: MAC driver comes up but cannot attach to PHY */ &enet0 { status = "disabled";arch/mips/boot/dts/brcm/bcm97425svmb.dts +0
-0@@ -59,6 +59,14 @@ status = "okay";arch/mips/boot/dts/brcm/bcm97425svmb.dts line 69
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97425svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 9 lines
arch/mips/boot/dts/brcm/bcm97425svmb.dts +0
-0&enet0 { status = "okay"; };arch/mips/boot/dts/brcm/bcm97435svmb.dts +0
-0@@ -59,6 +59,14 @@ status = "okay";arch/mips/boot/dts/brcm/bcm97435svmb.dts line 69
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97435svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 7 lines
arch/mips/boot/dts/brcm/bcm97435svmb.dts line 72
Quoted 3 lines
arch/mips/boot/dts/brcm/bcm97435svmb.dts +0
-0&enet0 { status = "okay"; };Regards
Jonas
The status="disabled" has been missing. It will be added in v2. The interrupt-controller@ will also be changed.
Thanks,
Jaedon--
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
Re: [PATCH 4/4] MIPS: BMIPS: Add support NAND device nodes
In reply to Florian FainelliHi Florian,
Quoted 61 lines · Florian Fainelli
Quoted 50 lines · Florian Fainelli
Quoted 49 lines · Jaedon Shin
Adds NAND device nodes to BCM7xxx MIPS based SoCs.
Signed-off-by Jaedon Shin <[email protected]>---
arch/mips/boot/dts/brcm/bcm7125.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7346.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7358.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7360.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7362.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7420.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7425.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 20 ++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7xxx-nand-cs1-bch8.dtsi | 24 ++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm97125cbmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97358svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97360svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97362svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97420c.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 5 +++++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 5 +++++ 17 files changed, 224 insertions(+)create mode 100644
arch/mips/boot/dts/brcm/bcm7xxx-nand-cs1-bch8.dtsiarch/mips/boot/dts/brcm/bcm7125.dtsi +17
-0@@ -226,5 +226,25 @@ interrupts = <61>; status = "disabled"; }; + + hif_l2_intc: hif_l2_intc@411000 { + compatible = "brcm,l2-intc"; + reg = <0x411000 0x30>; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&periph_intc>; + interrupts = <0>; + }; + + nand: nand@412800 { + compatible = "brcm,brcmnand-v5.0", "brcm,brcmnand"; + #address-cells = <1>; + #size-cells = <0>; + reg-names = "nand"; + reg = <0x412800 0x400>; + interrupt-parent = <&hif_l2_intc>;Quoted 8 lines
arch/mips/boot/dts/brcm/bcm7125.dtsi line 248
Quoted 3 lines
arch/mips/boot/dts/brcm/bcm7125.dtsi +3
-0+ interrupts = <24>; + status = "disabled"; + };This is a NAND v3.3 controller here not a v5.0 and it uses the EDU registers for DMA transfers which is not supported in the mainline driver, so with that dropped, the series looks fine. At any rate this would require additional brcmnand changes to be supported.
Quoted 3 lines
The same applies to the 7420 DTS, it's also a v3.3 NAND controller
Signature · 1 line
Florian
The NAND device nodes of v3.3 NAND controller will be removed in v2.
Thanks,
Jaedon
Re: [PATCH 2/4] MIPS: BMIPS: Add support GPIO device nodes
In reply to a message not in the archiveHi,
Quoted 35 lines · Jaedon Shin
Hi Jonas,
Quoted 32 lines · Jonas Gorski
Hi,
please always include devicetree for any dts(i) related changes.
Quoted 7 lines · Jaedon Shin
(snip)
arch/mips/boot/dts/brcm/bcm97435svmb.dts +0
-0@@ -59,6 +59,14 @@ status = "okay";arch/mips/boot/dts/brcm/bcm97435svmb.dts line 69
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97435svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 3 lines
arch/mips/boot/dts/brcm/bcm97435svmb.dts +0
-0&enet0 { status = "okay"; };
Quoted 5 lines
Quoted 2 lines
Regards
JonasThe status="disabled" has been missing. It will be added in v2. The interrupt-controller@ will also be changed.
I thought that was indented, since GPIO controllers usually are always present (you don't disable the irq controllers by default either).
Not that I want to tell you how you do your dts(i) files, but I would expect things that you usually always need (irq, clocks, gpios) are present by default.
Regards
Jonas
--
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
Re: [PATCH 2/4] MIPS: BMIPS: Add support GPIO device nodes
In reply to a message not in the archiveHi Jonas,
Quoted 48 lines · Jonas Gorski
Hi,
Quoted 35 lines · Jaedon Shin
Hi Jonas,
Quoted 32 lines · Jonas Gorski
Hi,
please always include devicetree for any dts(i) related changes.
Quoted 7 lines · Jaedon Shin
(snip)
arch/mips/boot/dts/brcm/bcm97435svmb.dts +0
-0@@ -59,6 +59,14 @@ status = "okay";arch/mips/boot/dts/brcm/bcm97435svmb.dts line 69
Quoted 10 lines
arch/mips/boot/dts/brcm/bcm97435svmb.dts +8
-0}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.
Quoted 3 lines
arch/mips/boot/dts/brcm/bcm97435svmb.dts +0
-0&enet0 { status = "okay"; };Quoted 5 lines
Quoted 2 lines
Regards
JonasThe status="disabled" has been missing. It will be added in v2. The interrupt-controller@ will also be changed.
I thought that was indented, since GPIO controllers usually are always present (you don't disable the irq controllers by default either).
Quoted 7 lines
Not that I want to tell you how you do your dts(i) files, but I would expect things that you usually always need (irq, clocks, gpios) are present by default.
Regards
Jonas
I checked the BCM7445 ARM based SoC device tree and other BRCM boards, and I agree with your point. The status="okay" nodes will be removed in v2.
Thanks,
Jaedon--
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